|
Liberty BASIC Workshop Help     |
CONTROL PROPERTIES
Right-clicking on a control in the Gui Builder will activate the Control Properties Dialog. Properties vary with individual controls. Captions, branch labels, extensions, tooltip text, width and height may be changed for controls that support these properties. Bitmap Buttons also allow choice of bitmap. Graphicboxes allow choice of fill color. Textboxes, texteditors, comboboxes and listboxes allow choice of background color. If no property choices are made, defaults will be used when code is generated.
Buttons are created with the BS_MULTILINE style for diplay in the Gui Builder. This style is also used when code is generated for the GUI. This uses the STYLEBITS command in Liberty BASIC 4. This command does not work in previous versions of Liberty BASIC.
Caption
The Caption box allows you to enter the desired caption for controls that have captions. In the case of a tabstrip control, the caption is the text on the first tab. For a listview control, the caption is the text in the first column header. For a treeview, the caption is the text on the first node. The code generated for these API-created controls shows how to set the text for other items in the controls.
Tooltip
The Tooltip box allows you to enter a tooltip for controls that can have tooltips. Statictext and Groupbox controls do not accept tooltips in Liberty BASIC Workshop. Tooltips must be activated in the window properties dialog.
Event Handlers
The Branch textbox allows you to enter a branch label or subname for any control that has an event handler. If the Branch name begins with a "[" it is assumed to be a branch label and is treated as such. If it does not begin with a "[" it is assumed to be a sub and is treated as such. If you choose to crete an outline when you create code for your form, stubs for the branch labels or subs are added automatically.
*.ext
The *.ext box allows you to specify a handle extension for the control.
HTML export copyright (C) 1998 Windows Help
Designer