F O R · R E A L L Y · T H I N · C L I E N T S
 Home  |  Overview  |  Widgets  |  Demo  |  License  |  History 

» Component
» Label
» Button
» CheckBox
» ComboBox
» TextField
» PasswordField
» TextArea
» TabbedPane
» Panel
» Desktop
» Dialog
» SpinBox
» ProgressBar
» Slider
» SplitPane
» List
» Table
» Tree
» Separator
» MenuBar

Component
The folowing pages describe components, all have the following parameters.

Parameters
NameTypeDefaultDescription
namestringnull Identifies the component.
enabledbooleantrue Enables or disables this component. A disabled component is painted gray, and can't respond to user mouse or keyboard input, gain the keyboard focus, and generate events.
visiblebooleantrue An invisible component doesn't take place in parent's layout.
tooltipstringnull The text pops up when the mouse lingers inside the component.
widthinteger0 Fixed preferred width of the component irrespectively of its content. If it is 0, the component will be asked for the preferred width.
heightinteger0 Preferred height of the component, or 0.
colspaninteger1 Specifies the number of cells in a column in the component's display area.
rowspaninteger1 Specifies the number of cells in a row occupied by the component.
weightxinteger0 Used to determine how to distribute horizontal space among grid cells when more space is available for its parent component than required.
weightyinteger0 The extra vertical space is distributed to each cell height in proportion to its weight. Default value is 0. The row contains 0 weighted components remains the calculated preferred size.
halignchoicefill Horizontal alignment of the component when more space available in the cell. Possible values are: fill, center, left, and right.
valignchoicefill Vertical alignment in the cell. Possible values are: fill, center, top, and bottom.

Copyright © 2002 Robert Bajzat - info@thinlet.com - All rights reserved.