PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..ImageState is used to find out and modify the number of drawings found in:
  • The image associated with a button.
  • The image of the cursor in a slider.
  • The image associated with the button of a sidebar pane.
  • The image associated with the button of a tab pane.
  • Versions 17 and later
    The image associated with the Rating control.
    New in version 17
    The image associated with the Rating control.
    The image associated with the Rating control.
  • Versions 18 and later
    The image associated with the grouping of a Ribbon control.
    New in version 18
    The image associated with the grouping of a Ribbon control.
    The image associated with the grouping of a Ribbon control.
For the radio buttons and the check boxes, ..ImageState is used to find out the number of animation steps.
For the images in a format other than the animated GIF, the animation is defined via a drawing board. The animation steps correspond to the number of drawing lines in the image sheet.
Note: Each image drawing corresponds to a status:
  • of a button, sidebar pane or tab pane. The drawings must follow a specific order: Normal, Pressed, Grayed, Focus and Rollover.
  • of a slider. The drawings must follow this order: Normal and Pressed.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
WEBDEV - Server codeWindowsPHP This property is now available for WEBDEV sites.
WEBDEV - Server codePHP This property is only available for managing the images found in the Rating controls.
New in version 17
WEBDEV - Server codeWindowsPHP This property is now available for WEBDEV sites.
WEBDEV - Server codePHP This property is only available for managing the images found in the Rating controls.
WEBDEV - Server codeWindowsPHP This property is now available for WEBDEV sites.
WEBDEV - Server codePHP This property is only available for managing the images found in the Rating controls.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
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
// Modify the image associated with the "BTN_Help" button
BTN_Help..Image = "C:\MyImages\Help.gif"
// Initialize the number of drawings in the image associated with "BTN_Help"
BTN_Help..ImageState = 3
Syntax

Finding out the number of drawings found in the image associated with a control Hide the details

<Current Number of Drawings> = <Control Name>..ImageState
<Current Number of Drawings>: Integer
Number of drawings found in:
  • The image associated with the button. This number is included between 1 and 5.
  • The image of the cursor in a slider. This number is included between 1 and 2.
  • The image associated with the button of a sidebar pane. This number is included between 1 and 5.
  • The image associated with the button of a tab pane. This number is included between 1 and 5.
  • Versions 17 and later
    The image associated with the Rating control.
    New in version 17
    The image associated with the Rating control.
    The image associated with the Rating control.
For the Check Box and Radio Button controls, number of animation steps.
<Control Name>: Character string (with or without quotes)
Name of control to use.

Modifying the number of drawings found in the image associated with a control Hide the details

<Control Name>..ImageState = <Number of Drawings>
<Control Name>: Character string (with or without quotes)
Name of control to use.
<Number of Drawings>: Integer
New number of drawings found in:
  • The image associated with the button. This number is included between 1 and 5.
  • The image of the cursor in a slider. This number is included between 1 and 2.
  • The image associated with the button of a sidebar pane. This number is included between 1 and 5.
  • The image associated with the button of a tab pane. This number is included between 1 and 5.
  • Versions 17 and later
    The image associated with the Rating control.
    New in version 17
    The image associated with the Rating control.
    The image associated with the Rating control.
For the Check Box and Radio Button controls, new number of animation steps.
Remarks
..ImageState only applies to:
  • the buttons,
  • the sliders,
  • the sidebar panes,
  • the tab panes,
  • the check boxes and radio buttons,
  • Versions 17 and later
    the Rating controls.
    New in version 17
    the Rating controls.
    the Rating controls.
  • Versions 18 and later
    the groups of a Ribbon control.
    New in version 18
    the groups of a Ribbon control.
    the groups of a Ribbon control.
Java ..ImageState only applies to the buttons.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment