ObjectDCL Banner

LeftFromRight Property

Description

The distance from the left of the control to the right of the form.

Type

This property is an integer and represents a distance in pixels.

Applies For

ActiveX, AngleSlider, Animation, BlockList, BlockView, CheckBox, ComboBox, DwgList, DwgPreview, Frame, GraphicButton, EditableGrid, Grid (Hatch), HtmlControl, ImageCombo, Label, ListBox, ListView, MonthPicker, Option, OptionList, PictureBox, ProgressBar, Rectangle, ScrollBar, SliderBar, SlideView, SpinButton, Splitter, TabControl, TextBox, TextButton, TreeControl, UrlLink.

Invoking From Old API

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

Remarks

This property has no effect unless the UseLeftFromRight property is set to 1.

Getter Example

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

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetLeftFromRight MyProject_MyForm_MyControl 50)

(Odcl_Control_SetLeftFromRight "MyProject" "MyForm" "MyControl" 50)

See Also

UseLeftFromRight