ObjectDCL Banner

UseLeftFromRight Property

Description

Forces the left of the control to be offset from the right of the form.

Type

This property is an integer and has only the following valid values:

  • 0 = Align from the left of the dialog
  • 1 = Align from the right of the dialog

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 "UseLeftFromRight" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Remarks

This property must be used in conjunction with the LeftFromRight property.

Getter Example

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

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetUseLeftFromRight MyProject_MyForm_MyControl 1)

(Odcl_Control_SetUseLeftFromRight "MyProject" "MyForm" "MyControl" 1)

See Also

LeftFromRight