DVX_GUI/apps/dvxbasic/controls/frame.dhs

39 lines
828 B
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