|
|
|
|
|
- State of a group of controls
- Limitations
InitialState (Property) In french: EtatInitial
The InitialState property gets the initial state of a control. The initial state is defined in the control description ("UI" tab). | | Initial state of an Edit control ("UI" tab) | Initial state of a control (e.g., Button) | Initial state of a Table control ("UI" tab) | Initial state of a column in a Table control ("UI" tab) |
To know if a control is visible, use the Visible property.
IF BTN_Close.InitialState = Grayed THEN BTN_Close.State = Active END Syntax
<Initial state> = <Control>.InitialState
<Initial state>: Integer constant Initial state of the control, defined in the editor. | | Active | The control is active, visible and editable | DisplayOnly or Inactive | The control is read-only, no input or action is allowed For Table controls, the user will be able to select a table row. It can also be selected programmatically with TableSelectPlus. | Grayed | The control is grayed out | ReadOnlyNoSelection | For 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 programmatically with TableSelectPlus. This row will be selected with the selection bar. |
<Control>: Name of control or group of controls Name of control or group of controls. Remarks State of a group of controls If the InitialState property is used on a group of controls, the state returned is the initial state of the first control in the group. Limitations - The InitialState property cannot be used on a menu or menu option.
- The InitialState property has no effect on HTML controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|