ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Image control
  • Overview
  • Properties in the windows
  • Properties of the Image controls in the windows
  • Properties in the pages
  • Image field properties in pages (server code)
  • Image field properties in pages (browser code)
  • Image field properties in PHP pages
  • Properties in the reports
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The "Image" controls include properties that can be handled in WLanguage both in the windows and pages but also in the reports.
Properties in the windows
WINDEVLinuxUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadJava

Properties of the Image controls in the windows

The following properties are associated with Image controls:
New in version 2024
Accessibility
The Accessibility property gets and sets the accessibility properties of a control.
AnchorThe Anchor property sets the anchors of a control in a window, page or report.
AnchorRateBottomThe AnchorRateBottom property is used to:
  • Find out the anchor rate when a control moves on the vertical axis.
  • Modify the anchor rate when a control moves on the vertical axis.
AnchorRateHeightThe AnchorRateHeight property is used to:
  • Find out the vertical anchor rate of a control.
  • Modify the vertical anchor rate of a control.
AnchorRateRightThe AnchorRateRight property is used to:
  • Find out the anchor rate when a control moves on the horizontal axis.
  • Modify the anchor rate when a control moves on the horizontal axis.
AnchorRateWidthThe AnchorRateWidth property is used to:
  • Find out the anchor rate when a control (or a table column) stretches on the horizontal axis.
  • Modify the anchor rate when a control (or a table column) stretches on the horizontal axis.
AnimationThe Animation property animates an image.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
BorderThe Border property is used to get and change the characteristics of the borders:
  • for a report control or block.
  • for a window control.
  • for a cell of a Table control.
CaptionIn a database, the Caption property is used to:
  • Find out the caption associated with a file item.
  • Find out the caption associated with a data file.
  • Find out and modify the connection caption.
In a report, the Caption property is used to:
  • Find out the text displayed in a Static or Link control.
  • Modify the text displayed in a Static or Link control.
In a window or page, the Caption property is also used to:
  • Find out and modify the caption of a control in a window or in a page.
  • Find out and modify the caption of a menu option.
  • Find out and modify the title of a window or page.
  • Find out the content of a Breadcrumb control.
ClickableThe Clickable property gets and sets the behavior of an Image control when it is clicked.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ContextMenuThe ContextMenu property is used to:
  • Get the custom context menu of a control, window or page.
  • Change the custom context menu of a control, window or page (or associate another context menu).
  • WINDEVWINDEV Mobile Customize the system menus of the controls by adding options.
DataBindingThe DataBinding property is used to identify and change the binding between a control and:
  • an item in a data file.
  • a variable.
  • several variables.
DisplayedSectionThe DisplayedSection property is used to identify and change the portion of the image displayed in an Image control.
DisplayEnabledThe DisplayEnabled property is used to:
  • determine whether or not a control or window is refreshed. If the control is displayed, its content is refreshed regularly.
  • refresh a control or window.
DndSourceThe DndSource property is used to determine and change a control's drag-and-drop behavior.
DndTargetThe DndTarget property determines and changes how a control behaves in a drag-and-drop operation.
ExtraThe Extra property is used to:
  • Get additional information about a control, window, or page.
  • Edit additional information of a control, window or page.
WEBDEV - Browser code In browser code, you can only get additional information of a control or page.
New in version 2024
FlexAlignSelf
The FlexAlignSelf property gets and sets the alignment of an item along the cross axis of a Flexbox control (corresponding CSS property: "align-self").
New in version 2024
FlexGrow
The FlexGrow property gets and sets the grow factor of an item in a line of a Flexbox control.
New in version 2024
FlexShrink
The FlexShrink property gets and sets the shrink factor of an item in a line of a Flexbox control.
FocusOnClickThe FocusOnClick property is used to:
  • Determine if a control gains focus when clicked.
  • Allow or prevent a control from gaining focus when clicked.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
GrayedThe Grayed property is used to:
  • Determine if a control (or a group of controls) is grayed out.
  • Gray out or ungray a control, a group of controls or a window.
GroupThe Group property is used to:
  • find out whether the control belongs to a group of controls. If the control belongs to one or more groups, the Group property can be used to identify these groups of controls.
  • associate a control with a group of controls.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
  • of a break cell in a Table or Looper control.
HelpNumberThe HelpNumber property is used to identify and modify the help number associated with a control.
HideWhileScrollingThe HideWhileScrolling property is used to:
  • Determine if the pinned control is hidden while scrolling,
  • Show or hide the pinned control while scrolling.
HorizontalAlignmentThe HorizontalAlignment property gets and changes the horizontal alignment of a control.
ImageHeightThe ImageHeight property is used to:
  • Find out the height of the image section displayed in an image control or in the background of a chart control.
  • Modify the height of the image section displayed in an image control or in the background of a chart control.
ImageModeThe ImageMode property gets and sets the display mode of an image in an Image control, in the column of a table of type Image or in the background of a Chart control in a window.
ImageWidthThe ImageWidth property gets and sets the width of the image section displayed in an Image control or in the background of a Chart control.
InitialAnimationThe InitialAnimation property determines whether the animation of an Image, Button, Static or Carousel control is enabled when the control is created.
InitialHeightThe InitialHeight property is used to:
  • Find out the creation height of a control or window.
  • Modify the base height used to anchor the controls "in height".
  • Find out the creation height of a block or control in a report.
InitialStateThe InitialState property gets the initial state of a control.
InitialValueThe InitialValue property is used to get the initial value of a control in a window or page.
InitialVisibleThe InitialVisible property is used to determine if:
  • a control was visible during the first display of the associated window or page.
  • a window was visible during its first display.
InitialWidthThe InitialWidth property is used to:
  • Find out the initial width of a control or window.
  • Modify the base width used to anchor the controls in "width".
  • Find out the initial width of a report control.
MarkdownThe Markdown property is used to enable or disable Markdown formatting in the controls of a window or a report.
MaxHeightThe MaxHeight property is used to get and change the maximum height of a control or window.
MaxWidthThe MaxWidth property is used to get and change the maximum width of a control or window.
MessageThe Message property is used to:
  • Find out the help message associated with a control or with a menu option (in a window).
  • Modify the help message associated with a control or with a menu option (in a window).
MinHeightThe MinHeight property is used to get and change the minimum height of a control or window.
MinWidthThe MinWidth property is used to get and change the minimum width of a control or window.
ModifiedThe Modified property is used to determine if a control or group of controls has been modified by the user (keyboard or mouse input).
MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
NumberPageThe NumberPage property is used to get:
  • the number of pages in a "multi-page" image file. This image is displayed in an Image control or in the background of a Chart control.
  • the number of pages in a PDF file displayed in an Image control.
  • the number of pages found in a PDF file displayed in a PDF Reader control.
  • the number of pages found in a DOCX file displayed in a Word Processing control.
OpacityThe Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
PageNumberThe PageNumber property is used to:
  • get and change the number of the page displayed in an Image control ("multi-page" image files)
  • get and change the page number of a PDF file displayed in an image control of a window
  • get and change the page number of a PDF file displayed in the background of a report.
PaneThe Pane property is used to:
  • Find out the pane tabs associated with a control.
  • Define the pane tabs associated with a control.
ParallaxRateHeightThe ParallaxRateHeight property is used to determine and specify how fast a control is reduced when the scrollbar in the window, internal window or page moves.
ParallaxRateYThe ParallaxRateY property is used to determine and specify how fast a control moves when the scrollbar in the window, internal window or page moves.
PinnedThe Pinned property is used to:
  • Pin a control: the position of the pinned control will be relative to the visible area of its container and not to the content area.
  • Determine if a control is pinned.
PlaneThe Plane property is used to:
  • Get:
    • the active plane of a window (or report) or the plane to which a control belongs.
    • the active plane of a WEBDEV element.
  • Change:
    • the active plane of a window (or report) or associate a control with another plane.
    • the active plane of a WEBDEV element.
ProcessThe Process property is used to modify the processes to be executed by the events available on a control, window, page, report, etc.
RightClickThe RightClick property gets and sets the name of the Button control that will be executed when an object is right-clicked.
RightToLeftThe RightToLeft property is used to get the writing direction on a control, column, window or report.
ScrollWithFingerThe ScrollWithFinger property is used to:
  • Determine if the content of a control can be moved with the finger ("finger scrolling").
  • Enable or disable touch-responsiveness for a control.
StateThe State property is used to get and change the state of an element.
StyleThe Style property is used to retrieve and assign the entire style of a control (including the overrides).
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TransparencyModeThe TransparencyMode property gets and sets the transparency mode of an image.
TypeThe Type property is used to get:
  • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
  • the type of object.
  • the type of data held in a Variant.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VerticalAlignmentThe VerticalAlignment property gets and changes the vertical alignment of a control.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
VisibleWithAnimationThe VisibleWithAnimation property is used to make a control visible or invisible via the "Appear/Disappear" animation.
VisualEffectThe VisualEffect property allows you to apply a visual effect on a control or group of controls in a window.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
WinEditAllowedThe WinEditAllowed property is used to determine and configure the actions allowed on a control when the window switches to "Allow end users to modify the UI" mode.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
XImageThe XImage property is used to get and change the initial X-coordinate of the image section that will be displayed in an Image control or in the background of a Chart control.
XInitialThe XInitial property is used to:
  • Get the X-coordinate:
    • of a control (position on the X-axis) when opening the window or the page.
    • of a window (position on X-axis) when opening the window.
  • Change the X-coordinate of a control anchored "to the right" (position on the X-axis) when opening the window.
  • Get the X-coordinate of a control in relation to its block (position in millimeters on the X-axis) when opening the report.
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
YImageThe YImage property is used to get and change the initial Y-coordinate of the image section that will be displayed in an Image control or in the background of a Chart control.
YInitialThe YInitial property is used to:
  • Find out the Y-coordinate:
    • of a control (position on Y-axis) when opening the window or the page.
    • of a window (position on Y-axis) when opening the window.
  • Modify the Y-coordinate of a control anchored "to bottom" (position on the vertical axis) when opening the window.
  • Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
ZoomThe Zoom property gets or sets the zoom value:
  • in an Image control.
  • in a Map control.
  • in an Organization Chart control.
  • in a Table, TreeView Table, Pivot Table, Spreadsheet or List Box control.
  • in a Word Processing control.
  • in a PDF Reader control.
  • in a Camera control.
  • in a Diagram Editor control;
  • in a window.
ZoomWithFingerThe ZoomWithFinger property is used to:
  • determine if an Image or Camera control supports pinch zoom.
  • enable or disable pinch zoom in an Image or Camera control.
ZOrderThe ZOrder property defines the Z-order of an element.
Remark: Depending on the platform used, some properties may not be available. For more details, see the property's help page.
Properties in the pages
WEBDEV - Server code

Image field properties in pages (server code)

The following properties are associated with Image controls:
AliasThe Alias property is used to:
  • get or change the alias of a window (WINDEV and WINDEV Mobile).
  • get or change the alias of a dynamic tab (WINDEV).
  • get the internal HTML/JavaScript name of a control (WEBDEV).
AlternativeTextThe AlternativeTextproperty is used to get and edit the alternative text of controls in a page.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
CaptionIn a database, the Caption property is used to:
  • Find out the caption associated with a file item.
  • Find out the caption associated with a data file.
  • Find out and modify the connection caption.
In a report, the Caption property is used to:
  • Find out the text displayed in a Static or Link control.
  • Modify the text displayed in a Static or Link control.
In a window or page, the Caption property is also used to:
  • Find out and modify the caption of a control in a window or in a page.
  • Find out and modify the caption of a menu option.
  • Find out and modify the title of a window or page.
  • Find out the content of a Breadcrumb control.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ContextMenuThe ContextMenu property is used to:
  • Get the custom context menu of a control, window or page.
  • Change the custom context menu of a control, window or page (or associate another context menu).
  • WINDEVWINDEV Mobile Customize the system menus of the controls by adding options.
DataBindingThe DataBinding property is used to identify and change the binding between a control and:
  • an item in a data file.
  • a variable.
  • several variables.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
DndSourceThe DndSource property is used to determine and change a control's drag-and-drop behavior.
DndTargetThe DndTarget property determines and changes how a control behaves in a drag-and-drop operation.
ExtraThe Extra property is used to:
  • Get additional information about a control, window, or page.
  • Edit additional information of a control, window or page.
WEBDEV - Browser code In browser code, you can only get additional information of a control or page.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
GrayedThe Grayed property is used to:
  • Determine if a control (or a group of controls) is grayed out.
  • Gray out or ungray a control, a group of controls or a window.
GroupThe Group property is used to:
  • find out whether the control belongs to a group of controls. If the control belongs to one or more groups, the Group property can be used to identify these groups of controls.
  • associate a control with a group of controls.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
  • of a break cell in a Table or Looper control.
HTMLAfterThe HTMLAfter property is used to get and change the HTML code inserted after the control.
HTMLAttributeThe HTMLAttribute property reads and changes the HTML attributes of the control.
HTMLBeforeThe HTMLBefore property gets and changes the HTML code added before the control.
HTMLClassThe HTMLClass property reads and sets the value of the "class" HTML attribute of the control.
ImageThe Image property gets and sets the background image of a control or block.
ImageModeThe ImageMode property gets and sets the display mode of an image in an Image control, in the column of a table of type Image or in the background of a Chart control in a window.
InitialStateThe InitialState property gets the initial state of a control.
InitialValueThe InitialValue property is used to get the initial value of a control in a window or page.
InitialVisibleThe InitialVisible property is used to determine if:
  • a control was visible during the first display of the associated window or page.
  • a window was visible during its first display.
MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
OpacityThe Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
ProcessThe Process property is used to modify the processes to be executed by the events available on a control, window, page, report, etc.
SortedThe Sorted property is used to:
  • Determine whether a control is sorted.
  • Sort a control.
SortOptionThe SortOption property gets and sets the sort options used in:
  • text columns in Table controls,
  • text columns in Treeview Table controls,
  • List Box and ListView controls,
  • Combo Box controls,
  • attributes of Looper controls,
  • images, clickable images and thumbnails with automatic sequence.
StateThe State property is used to get and change the state of an element.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TransparencyModeThe TransparencyMode property gets and sets the transparency mode of an image.
TypeThe Type property is used to get:
  • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
  • the type of object.
  • the type of data held in a Variant.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
XInitialThe XInitial property is used to:
  • Get the X-coordinate:
    • of a control (position on the X-axis) when opening the window or the page.
    • of a window (position on X-axis) when opening the window.
  • Change the X-coordinate of a control anchored "to the right" (position on the X-axis) when opening the window.
  • Get the X-coordinate of a control in relation to its block (position in millimeters on the X-axis) when opening the report.
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
YInitialThe YInitial property is used to:
  • Find out the Y-coordinate:
    • of a control (position on Y-axis) when opening the window or the page.
    • of a window (position on Y-axis) when opening the window.
  • Modify the Y-coordinate of a control anchored "to bottom" (position on the vertical axis) when opening the window.
  • Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
WEBDEV - Browser code

Image field properties in pages (browser code)

The following properties are associated with Image controls:
AliasThe Alias property is used to:
  • get or change the alias of a window (WINDEV and WINDEV Mobile).
  • get or change the alias of a dynamic tab (WINDEV).
  • get the internal HTML/JavaScript name of a control (WEBDEV).
AlternativeTextThe AlternativeTextproperty is used to get and edit the alternative text of controls in a page.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
ExtraThe Extra property is used to:
  • Get additional information about a control, window, or page.
  • Edit additional information of a control, window or page.
WEBDEV - Browser code In browser code, you can only get additional information of a control or page.
GrayedThe Grayed property is used to:
  • Determine if a control (or a group of controls) is grayed out.
  • Gray out or ungray a control, a group of controls or a window.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
  • of a break cell in a Table or Looper control.
HTMLAttributeThe HTMLAttribute property reads and changes the HTML attributes of the control.
HTMLClassThe HTMLClass property reads and sets the value of the "class" HTML attribute of the control.
ImageThe Image property gets and sets the background image of a control or block.
InitialStateThe InitialState property gets the initial state of a control.
InitialValueThe InitialValue property is used to get the initial value of a control in a window or page.
InitialVisibleThe InitialVisible property is used to determine if:
  • a control was visible during the first display of the associated window or page.
  • a window was visible during its first display.
MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
OpacityThe Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
StateThe State property is used to get and change the state of an element.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TypeThe Type property is used to get:
  • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
  • the type of object.
  • the type of data held in a Variant.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
XInitialThe XInitial property is used to:
  • Get the X-coordinate:
    • of a control (position on the X-axis) when opening the window or the page.
    • of a window (position on X-axis) when opening the window.
  • Change the X-coordinate of a control anchored "to the right" (position on the X-axis) when opening the window.
  • Get the X-coordinate of a control in relation to its block (position in millimeters on the X-axis) when opening the report.
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
YInitialThe YInitial property is used to:
  • Find out the Y-coordinate:
    • of a control (position on Y-axis) when opening the window or the page.
    • of a window (position on Y-axis) when opening the window.
  • Modify the Y-coordinate of a control anchored "to bottom" (position on the vertical axis) when opening the window.
  • Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
PHP

Image field properties in PHP pages

The following properties are associated with Image controls:
AliasThe Alias property is used to:
  • get or change the alias of a window (WINDEV and WINDEV Mobile).
  • get or change the alias of a dynamic tab (WINDEV).
  • get the internal HTML/JavaScript name of a control (WEBDEV).
AlternativeTextThe AlternativeTextproperty is used to get and edit the alternative text of controls in a page.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
CaptionIn a database, the Caption property is used to:
  • Find out the caption associated with a file item.
  • Find out the caption associated with a data file.
  • Find out and modify the connection caption.
In a report, the Caption property is used to:
  • Find out the text displayed in a Static or Link control.
  • Modify the text displayed in a Static or Link control.
In a window or page, the Caption property is also used to:
  • Find out and modify the caption of a control in a window or in a page.
  • Find out and modify the caption of a menu option.
  • Find out and modify the title of a window or page.
  • Find out the content of a Breadcrumb control.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
DndSourceThe DndSource property is used to determine and change a control's drag-and-drop behavior.
DndTargetThe DndTarget property determines and changes how a control behaves in a drag-and-drop operation.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
  • of a break cell in a Table or Looper control.
HTMLAfterThe HTMLAfter property is used to get and change the HTML code inserted after the control.
HTMLBeforeThe HTMLBefore property gets and changes the HTML code added before the control.
HTMLClassThe HTMLClass property reads and sets the value of the "class" HTML attribute of the control.
ImageThe Image property gets and sets the background image of a control or block.
InitialStateThe InitialState property gets the initial state of a control.
InitialVisibleThe InitialVisible property is used to determine if:
  • a control was visible during the first display of the associated window or page.
  • a window was visible during its first display.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
OpacityThe Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TransparencyModeThe TransparencyMode property gets and sets the transparency mode of an image.
TypeThe Type property is used to get:
  • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
  • the type of object.
  • the type of data held in a Variant.
URLThe URL property is used to:
  • Get the address associated with a control.
  • Change the address associated with a control.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
XInitialThe XInitial property is used to:
  • Get the X-coordinate:
    • of a control (position on the X-axis) when opening the window or the page.
    • of a window (position on X-axis) when opening the window.
  • Change the X-coordinate of a control anchored "to the right" (position on the X-axis) when opening the window.
  • Get the X-coordinate of a control in relation to its block (position in millimeters on the X-axis) when opening the report.
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
YInitialThe YInitial property is used to:
  • Find out the Y-coordinate:
    • of a control (position on Y-axis) when opening the window or the page.
    • of a window (position on Y-axis) when opening the window.
  • Modify the Y-coordinate of a control anchored "to bottom" (position on the vertical axis) when opening the window.
  • Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
Properties in the reports
The following properties can be used with Image fields:
AnchorThe Anchor property sets the anchors of a control in a window, page or report.
AnchorRateBottomThe AnchorRateBottom property is used to:
  • Find out the anchor rate when a control moves on the vertical axis.
  • Modify the anchor rate when a control moves on the vertical axis.
AnchorRateHeightThe AnchorRateHeight property is used to:
  • Find out the vertical anchor rate of a control.
  • Modify the vertical anchor rate of a control.
AnchorRateRightThe AnchorRateRight property is used to:
  • Find out the anchor rate when a control moves on the horizontal axis.
  • Modify the anchor rate when a control moves on the horizontal axis.
AnchorRateWidthThe AnchorRateWidth property is used to:
  • Find out the anchor rate when a control (or a table column) stretches on the horizontal axis.
  • Modify the anchor rate when a control (or a table column) stretches on the horizontal axis.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
BlurLevelThe BlurLevel property gets and sets the percentage of blur applied to a control in a report.
BorderThe Border property is used to get and change the characteristics of the borders:
  • for a report control or block.
  • for a window control.
  • for a cell of a Table control.
DisplayedItemThe DisplayedItem property is used to:
  • Find out the item or the variable displayed by the control.
  • Modify the item or the variable displayed by the control.
EmptyThe Empty property is used to determine if:
  • a Looper, Table, List Box or Combo Box control is empty. The control can be a browsing control or a memory control.
  • a Chart control contains no series.
  • a report control is empty (control linked to an item).
  • an array (or an associative array) contains no element.
  • an element of an associative array exists or not.
  • a queue, a list or a stack contains no element.
GroupThe Group property is used to:
  • find out whether the control belongs to a group of controls. If the control belongs to one or more groups, the Group property can be used to identify these groups of controls.
  • associate a control with a group of controls.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
  • of a break cell in a Table or Looper control.
HeightInPixelThe HeightInPixel property is used to get the height in pixels of a control in a report.
HiddenThe Hidden is used to:
  • Determine if a control in a report is hidden.
  • Redact or blur a control in a report.
ImageThe Image property gets and sets the background image of a control or block.
InitialHeightThe InitialHeight property is used to:
  • Find out the creation height of a control or window.
  • Modify the base height used to anchor the controls "in height".
  • Find out the creation height of a block or control in a report.
InitialWidthThe InitialWidth property is used to:
  • Find out the initial width of a control or window.
  • Modify the base width used to anchor the controls in "width".
  • Find out the initial width of a report control.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
PlaneThe Plane property is used to:
  • Get:
    • the active plane of a window (or report) or the plane to which a control belongs.
    • the active plane of a WEBDEV element.
  • Change:
    • the active plane of a window (or report) or associate a control with another plane.
    • the active plane of a WEBDEV element.
ProcessThe Process property is used to modify the processes to be executed by the events available on a control, window, page, report, etc.
StateThe State property is used to get and change the state of an element.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
WidthInPixelThe WidthInPixel property is used to get the width in pixels of a control in a report.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
XInitialThe XInitial property is used to:
  • Get the X-coordinate:
    • of a control (position on the X-axis) when opening the window or the page.
    • of a window (position on X-axis) when opening the window.
  • Change the X-coordinate of a control anchored "to the right" (position on the X-axis) when opening the window.
  • Get the X-coordinate of a control in relation to its block (position in millimeters on the X-axis) when opening the report.
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
YInitialThe YInitial property is used to:
  • Find out the Y-coordinate:
    • of a control (position on Y-axis) when opening the window or the page.
    • of a window (position on Y-axis) when opening the window.
  • Modify the Y-coordinate of a control anchored "to bottom" (position on the vertical axis) when opening the window.
  • Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
ZOrderThe ZOrder property defines the Z-order of an element.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help