ObjectDCL Banner

Left Property

Description

Sets the distance from the left edge of the dialog box to the left edge of the control.

Type

This property is an integer and represents an amount in pixels.

Applies For

ActiveX, AngleSlider, Animation, BlockList, BlockView, CheckBox, ComboBox, CustomFileDlg, 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 "Left" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Remarks

Use Control_SetPos if you need to move the control from LISP.

Getter Example

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

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

Setter Example

CopyCode imageCopy Code
; Set the position to the control
(Odcl_Control_SetPos MyProject_MyForm_MyControl 50 50)

(Odcl_Control_SetPos "MyProject" "MyForm" "MyControl" 50 50)

See Also

Top, Control_GetCurPos, Control_SetPos