ObjectDCL Banner

MarginLeft Property

Description

Sets the left margin in the control where the text will be placed from.

Type

This property is an integer.

Applies For

TextBox.

Invoking From Old API

Can be passed as "MarginLeft" 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_GetMarginLeft MyProject_MyForm_MyControl))

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetMarginLeft MyProject_MyForm_MyControl 8)

(Odcl_Control_SetMarginLeft "MyProject" "MyForm" "MyControl" 8)

See Also

MarginRight