
Sets the text control as read only.
This property is a boolean. Set to T to prevent changes or Nil to allow them.
Can be passed as "ReadOnly" to Control_SetProperty and Control_GetProperty's string property name where applicable.
Copy Code |
|---|
; Get the property from the control (setq Value (Odcl_Control_GetReadOnly MyProject_MyForm_MyControl)) (setq Value (Odcl_Control_GetReadOnly "MyProject" "MyForm" "MyControl")) |
Copy Code |
|---|
; Set the property to the control (Odcl_Control_SetReadOnly MyProject_MyForm_MyControl T) (Odcl_Control_SetReadOnly "MyProject" "MyForm" "MyControl" Nil) |