PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE


X
Y
  • Status of a group of controls
  • 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
InitialState (Property)
In French: EtatInitial
..InitialState is used to find out the initial status of a control. The initial status corresponds to the status defined during the control description ("GUI" tab).
Initial status of edit control ("GUI" tab)
Initial status of control (button for example)
Initial status of Table control ("GUI" tab)
Initial status of table column ("GUI" tab)
To find out whether a control is visible or not, use ..Visible.
Versions 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
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 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 20 and later
iPhone/iPad This property is only available for the Table controls in the iPhone/iPad applications.
Android This property is now available for the Table controls and for the table columns in the Android applications.
New in version 20
iPhone/iPad This property is only available for the Table controls in the iPhone/iPad applications.
Android This property is now available for the Table controls and for the table columns in the Android applications.
iPhone/iPad This property is only available for the Table controls in the iPhone/iPad applications.
Android This property is now available for the Table controls and for the table columns in the Android applications.
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.
Versions 23 and later
PHP This property is now available for the PHP sites.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Linux and in Windows.
New in version 23
PHP This property is now available for the PHP sites.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Linux and in Windows.
PHP This property is now available for the PHP sites.
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Linux and in Windows.
Example
IF BTN_Close..InitialState = Grayed THEN
        BTN_Close..State = Active
END
Syntax
<Initial Status> = <Control Name>..InitialState
<Initial Status>: Integer constant
Initial status of the control, defined in the editor.
ActiveThe control is active, visible and in edit
GrayedThe control is grayed
ReadOnlyNoSelectionFor the Table controls only: The control is read-only, no input is allowed.
In this case, the user will not be able to select a table row with the mouse or with the arrows. A row can only be selected by programming with TableSelectPlus. This row will be selected via the selection bar.
Universal Windows 10 App This constant is not available.
DisplayOnly or InactiveThe control is read-only, no input or action is allowed
For the Table controls, the user will be able to select a table row. It can also be selected by programming with TableSelectPlus.
<Control Name>: Character string (with or without quotes)
Name of control or group of controls.
Remarks

Status of a group of controls

If ..InitialState is used on a group of controls, the status returned corresponds to the initial status of the first control found in the group.

Limits

  • ..InitialState cannot be used on a menu or on a menu option.
  • Universal Windows 10 App ..InitialState has no effect on the HTML controls.
  • iPhone/iPad ..InitialState is available for the Table controls only.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment