ControlContext :: readOnly - Read-only property
The read-only property allows changing the access permission to the control. Controls set to read-only appear as normal active controls with a disabled label and do not allow entering data. Context menu and actions for the control are still active.
Defining the data source for a control as read-only sets a permanent read-only state for the control, which cannot be changed. Data sources definedas update or write might be set to read-only by changing the read-only property.
In order to indicate read-only state, the value is true, false otherwise.
Implementation overview
- Get read-only state
ControlContext :: readOnly (  ) - Change read-only state
ControlContext :: readOnly ( bReadOnly )
Implementation details
-
Get read-only state
bool ControlContext  :: readOnly (  )
The function returns the read-only state for the control. When the control permits entering data, the function returns true, false otherwise.
to list
-
Change read-only state
bool ControlContext  :: readOnly ( bool bReadOnly )
The function changes the read-only state of the control. Passing true to the function will enable the read-only state, passing false will disable the read-only state.
- bReadOnly
- Read-only option
In order to indicate read-only state, the value is true, false otherwise.
to list
- bReadOnly
- Read-only option