ObjectDCL Banner

TopFromBottom Property

Description

The distance from the top of the control to the bottom 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 "TopFromBottom" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Remarks

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

Getter Example

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

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

Setter Example

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

(Odcl_Control_SetTopFromBottom "MyProject" "MyForm" "MyControl" 50)

See Also

UseTopFromBottom