PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Image associated with a report control or block
  • Image scanned in a report
  • Image in a menu option
  • Image of a tab or tab pane
  • Image of icon displayed in the Action Bar
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Image is used to find out and modify the background image associated with an element.
iPhone/iPadUniversal Windows 10 AppWindows Mobile In a report, ..Image is used to find out and modify the background image associated with a control or with a block.
WINDEV Mobile In a window, ..Image is used to find out and modify the image:
  • associated with the caption of a button,
  • associated with a tab pane or with a tab,
  • associated with the toolbar panes or with the button of a toolbar pane,
  • associated with the caption of a menu option,
  • used as cursor in a progress bar or in a slider (except round sliders),
  • used in the options of the check boxes and radio buttons in Vista style,
  • used in background image of a Calendar control.
  • AndroidiPhone/iPad used for the markers of a Map control.
  • Versions 17 and later
    Android used in icon in an Action Bar (property available from Android version 4.0 (Ice cream sandwich, API level 14)).
    New in version 17
    Android used in icon in an Action Bar (property available from Android version 4.0 (Ice cream sandwich, API level 14)).
    Android used in icon in an Action Bar (property available from Android version 4.0 (Ice cream sandwich, API level 14)).
  • Versions 20 and later
    AndroidiPhone/iPad used to represent an infinite progress bar.
    New in version 20
    AndroidiPhone/iPad used to represent an infinite progress bar.
    AndroidiPhone/iPad used to represent an infinite progress bar.
Remark: These images are defined in the editor in the description of the control, window or page ("General" or "Details" tab).
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Android This property is now available for tabs and tab panes.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Android This property is now available for tabs and tab panes.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Android This property is now available for tabs and tab panes.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
Syntax
iPhone/iPadUniversal Windows 10 AppWindows Mobile

Finding out the background image associated with a report element Hide the details

<Result> = <Element used>..Image
<Result>: Character string
Name and full path of the background image associated with the specified object.
<Element used>: Name of control or block.
Name of the element (control or block) to use.
iPhone/iPadUniversal Windows 10 AppWindows Mobile

Modifying the background image associated with a report element Hide the details

<Element used>..Image = <New image>
<Element used>: Name of control or block.
Name of the element (control or block) to use.
<New image>: Character string (with quotes)
Name and full path of the new background image associated with the specified object. A UNC path can be used.
AndroidiPhone/iPadUniversal Windows 10 AppWindows Mobile

Finding out the image associated with a control or with a window Hide the details

<Current image> = <Element used>..Image
<Current image>: Character string
Name and path of the image:
  • associated with the caption of a button,
  • associated with a tab pane or with a tab,
  • associated with the toolbar panes or with the pane button
  • associated with the caption of a menu option,
  • used as cursor in a progress bar or in a slider (except round sliders).
  • associated with the option of a Radio Button or Check Box control in Vista style.
  • used in background image of a Calendar control.
  • Versions 17 and later
    Android used for the markers of a Map control.
    New in version 17
    Android used for the markers of a Map control.
    Android used for the markers of a Map control.
  • Versions 17 and later
    Android used in icon in an Action Bar.
    New in version 17
    Android used in icon in an Action Bar.
    Android used in icon in an Action Bar.
  • Versions 20 and later
    AndroidiPhone/iPad used to represent an infinite progress bar.
    New in version 20
    AndroidiPhone/iPad used to represent an infinite progress bar.
    AndroidiPhone/iPad used to represent an infinite progress bar.
<Element used>: Control name or window name
Name of element to use.
AndroidiPhone/iPadUniversal Windows 10 AppWindows Mobile

Modifying the image associated with a control or with a window Hide the details

<Element used>..Image = <New image>
<Element used>: Control name or window name
Name of element to use.
<New image>: Character string
Name and path (full, relative or UNC) of the new image:
  • associated with the caption of a button,
  • associated with a tab pane or with a tab,
  • associated with the toolbar panes or with the pane button
  • associated with the caption of a menu option,
  • used as cursor in a progress bar or in a slider (except round sliders).
  • associated with the option of a Radio Button or Check Box control in Vista style.
  • used in background image of a Calendar control.
  • Versions 17 and later
    Android used for the markers of a Map control.
    New in version 17
    Android used for the markers of a Map control.
    Android used for the markers of a Map control.
  • Versions 17 and later
    Android used in icon in an Action Bar.
    New in version 17
    Android used in icon in an Action Bar.
    Android used in icon in an Action Bar.
  • Versions 20 and later
    AndroidiPhone/iPad used to represent an infinite progress bar.
    New in version 20
    AndroidiPhone/iPad used to represent an infinite progress bar.
    AndroidiPhone/iPad used to represent an infinite progress bar.
Remarks
iPhone/iPadUniversal Windows 10 AppWindows Mobile

Image associated with a report control or block

  • The image associated with an Image control can be known and/or modified in the report editor, in the "General" tab of the control description.
  • The background image of a control or block can be known and/or modified in the report editor, in the "Style" tab of the description window. All you have to do is select the "Background image" element.
iPhone/iPadUniversal Windows 10 AppWindows Mobile

Image scanned in a report

..Image cannot be used to modify the scanned image of a report. Indeed, the scanned image of a report is used to:
  • easily position the different controls in the report,
  • view the result in the print preview.
Windows Mobile

Image in a menu option

If an image is associated with a marked menu option, the image replaces the checkmark.
AndroidWindows Mobile

Image of a tab or tab pane

To modify the image of a tab (which means the image of the tab buttons), use the following code:
TAB_Tab..Image = "Example.jpg"
To modify the image displayed in the tab button (beside the caption), specify the subscript of tab to modify:
TAB_Tab[1]..Image = "Example.jpg"
Versions 17 and later
Android

Image of icon displayed in the Action Bar

..Image is used to change the icon displayed in the Action Bar of the window. If ..Image corresponds to an empty string (""), the icon of the application will be used (default case).
Caution: this property is available from Android version 4.0 (Ice cream sandwich, API level 14). ..Image will have no effect if it is used with an earlier version.
New in version 17
Android

Image of icon displayed in the Action Bar

..Image is used to change the icon displayed in the Action Bar of the window. If ..Image corresponds to an empty string (""), the icon of the application will be used (default case).
Caution: this property is available from Android version 4.0 (Ice cream sandwich, API level 14). ..Image will have no effect if it is used with an earlier version.
Android

Image of icon displayed in the Action Bar

..Image is used to change the icon displayed in the Action Bar of the window. If ..Image corresponds to an empty string (""), the icon of the application will be used (default case).
Caution: this property is available from Android version 4.0 (Ice cream sandwich, API level 14). ..Image will have no effect if it is used with an earlier version.

Limits

iPhone/iPadUniversal Windows 10 AppWindows Mobile In a report, ..Image cannot be used on:
  • a report.
  • a bar code.
  • a Check Box control.
Authorized image formats:
  • WINDEV Mobile The following image formats can be displayed: BMP, ICO, JPEG and GIF.
Windows Mobile ..Image can only be used on:
  • a Button control,
  • a tab or a tab pane,
  • a toolbar pane or a pane button,
  • a menu option,
  • a Progress Bar control,
  • a Slider control (excluding round sliders),
  • a Check Box control,
  • a Radio Button control,
  • a Calendar control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment