ObjectDCL Banner

MarginRight 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 "MarginRight" 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_GetMarginRight MyProject_MyForm_MyControl))

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

Setter Example

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

(Odcl_Control_SetMarginRight "MyProject" "MyForm" "MyControl" 8)

See Also

MarginLeft