Control Properties
The properties defined in the Control class are summarized in the following table.
Property | Description |
---|---|
automaticCellControl | Specifies whether cells of Table controls are handled automatically |
backBrush | Contains the bitmap to tile the background of the control |
borderColorSingle | Contains the RGB scheme color of the control border when the borderStyle property is set to BorderStyle_Single (1) |
focusBackColor | Contains the background color of a control when that control has focus |
focusForeColor | Contains the foreground color of a control when that control has focus |
fontBold | Specifies whether the font style is bold |
fontItalic | Specifies whether the font style is italic |
fontName | Contains the font used to display text in a control |
fontSize | Contains the size of the font used for text displayed in a control |
fontStrikethru | Specifies whether the font style is strikethrough |
fontUnderline | Specifies whether the font style is underlined |
foreColor | Contains the foreground color used to display text in a window |
form | Provides access to a form of a control from the object |
index | Contains an identifier to differentiate between control copies that have the same name |
parent | Contains the direct parent of the control |
parentAspect | Contains the aspect of the control in relation to its parent |
parentBottomOffset | Contains the pixel offset of the bottom edge of a control from the bottom of the client area of its parent |
parentRightOffset | Contains the pixel offset of the right edge of a control from the right side of the client area of its parent |
relativeHeight | Specifies whether the size and position of a control is relative to the size and position of its parent |
relativeLeft | Specifies whether the size and position of a control is relative to the size and position of its parent |
relativeTop | Specifies whether the size and position of a control is relative to the size and position of its parent |
relativeWidth | Specifies whether the size and position of a control is relative to the size and position of its parent |
show3D | Specifies whether automatic three-dimensional effects are added to the appearance of a control |
tabIndex | Contains the tab order of a control within its parent form |
tabStop | Specifies whether a user can use the Tab key to set the focus to a control |
For details, see "Window, Form, and Control Properties", later in this document.