ObjectDCL Banner

Text Property

Description

This property controls the text to be displayed in the control.

Type

This property is a string.

Applies For

ComboBox, ImageCombo, TextBox.

Invoking From Old API

Can be passed as "Text" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetText MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetText "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetText MyProject_MyForm_MyControl "Some text")

(Odcl_Control_SetText "MyProject" "MyForm" "MyControl" "Some text")