ObjectDCL Banner

LimitText Property

Description

Limits the number of characters the user can input into the control.

Type

This property is a integer. The value is in characters unit.

Applies For

ComboBox, ImageCombo, TextBox.

Invoking From Old API

Can be passed as "LimitText" 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_GetLimitText MyProject_MyForm_MyControl))

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetLimitText MyProject_MyForm_MyControl 10)

(Odcl_Control_SetLimitText "MyProject" "MyForm" "MyControl" 10)

See Also

OnMaxText