79 lines
1.7 KiB
Text
79 lines
1.7 KiB
Text
.topic ctrl.frame
|
|
.title Frame
|
|
.toc 1 Frame
|
|
.index Frame
|
|
.index Container
|
|
|
|
.h1 Frame
|
|
|
|
VB Equivalent: Frame -- DVX Widget: frame (titled VBox container)
|
|
|
|
A container with a titled border. Child controls are placed inside the frame using VBox layout. In the .frm file, nest Begin/End blocks inside the Frame block.
|
|
|
|
.h2 Type-Specific Properties
|
|
|
|
.table
|
|
Property Type Description
|
|
-------- ------ -------------------------------------------
|
|
Caption String The title displayed in the frame border.
|
|
.endtable
|
|
|
|
Container: Yes
|
|
|
|
Default Event: Click
|
|
|
|
.h2 Example
|
|
|
|
.code
|
|
Begin Frame Frame1
|
|
Caption = "Options"
|
|
Begin CheckBox Check1
|
|
Caption = "Option A"
|
|
End
|
|
Begin CheckBox Check2
|
|
Caption = "Option B"
|
|
End
|
|
End
|
|
.endcode
|
|
|
|
.link ctrl.common.props Common Properties, Events, and Methods
|
|
.topic ctrl.hbox
|
|
.title HBox
|
|
.toc 1 HBox
|
|
.index HBox
|
|
.index Horizontal Layout
|
|
|
|
.h1 HBox
|
|
|
|
DVX Extension -- DVX Widget: hbox (horizontal layout container)
|
|
|
|
A container that arranges its children horizontally, left to right. Use Weight on children to distribute extra space.
|
|
|
|
Container: Yes
|
|
|
|
Default Event: Click
|
|
|
|
No type-specific properties.
|
|
|
|
.link ctrl.common.props Common Properties, Events, and Methods
|
|
.link ctrl.vbox VBox
|
|
.topic ctrl.vbox
|
|
.title VBox
|
|
.toc 1 VBox
|
|
.index VBox
|
|
.index Vertical Layout
|
|
|
|
.h1 VBox
|
|
|
|
DVX Extension -- DVX Widget: vbox (vertical layout container)
|
|
|
|
A container that arranges its children vertically, top to bottom. No title or border. Use Weight on children to distribute extra space.
|
|
|
|
Container: Yes
|
|
|
|
Default Event: Click
|
|
|
|
No type-specific properties.
|
|
|
|
.link ctrl.common.props Common Properties, Events, and Methods
|
|
.link ctrl.hbox HBox
|