ObjectDCL Banner

ColumnWidth Property

Description

Sets the column widths.

Type

This property is a integer. The value units is in pixel.

Applies For

ListBox.

Invoking From Old API

Can be passed as "ColumnWidth" 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_GetColumnWidth MyProject_MyForm_MyControl))

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetColumnWidth MyProject_MyForm_MyControl 125)

(Odcl_Control_SetColumnWidth "MyProject" "MyForm" "MyControl" 125)