
Sets the text displayed in a control.
This property is a string.
CheckBox, Frame, GraphicButton, Label, Option, TextButton, UrlLink.
Can be passed as "Caption" to Control_SetProperty and Control_GetProperty's string property name where applicable.
Copy Code |
|---|
; Get the property from the control (setq Value (Odcl_Control_GetCaption MyProject_MyForm_MyControl)) (setq Value (Odcl_Control_GetCaption "MyProject" "MyForm" "MyControl")) |
Copy Code |
|---|
; Set the property to the control (Odcl_Control_SetCaption MyProject_MyForm_MyControl "New Caption") (Odcl_Control_SetCaption "MyProject" "MyForm" "MyControl" "New Caption") |