OLE control properties are the primary means of interacting with OLE controls. Properties, much like OI control properties, describe the persistent attributes of the control, that is, attributes having some meaningful value for the entire life of the control. Like OI control properties, OLE control properties are manipulated using the Get_Property and Set_Property routines. The following properties apply to the SRP Tab Control:
Property | Description | Version Introduced |
---|---|---|
AllowXPTheme | Establishes whether or not the tab should be draw using the current XP Visual Style. | |
CaptionList | Convenient way to set all tabs' captions at once. | |
CloseButtonColors | The colors used to render the close buttons at various states. | 4.0.3 |
CloseButtons | Establishes whether or not close buttons appear on each tab. | 4.0.3 |
CustomPaneColor | The custom color of the tab pane when there are no tabs. | |
FillParentBackground | Uses the CustomPaneColor to render the parent form's entire background. | |
FlickerFree | Establishes whether or not the tab background is drawn flicker free. | |
FocusOnClick | Determines if the control receives focus when clicked. | |
Font | The font used to render the tabs' captions. | |
Height | Establishes the "true" height of the tab control. | |
MultiLined | Establishes whether tabs are multilined or singlelined. | |
ProgID | The control's ProgId/Class Name. | |
SelectFont | The font used to render only the selected tab's caption. | |
SelectedTab | The index of the currently selected tab. | |
ShowFocus | Establishes whether or not a focus rectangle appears when the tab control has focus. | |
TabCaption | A tab's caption. | |
TabColors | A tab's custom colors. | |
TabCount | The number of tabs in the control. | |
TabEnabled | A tab's enabled state. | |
TabImage | A tab's image. | |
TabImageEffects | Conditions to determine which special effect to apply to a tab's image. | 3.0.7 |
TabTransparentColor | The color not to be drawn in a tab's image. | |
TabVisible | A tab's visibility. | |
TopMost | Establishes the top most tab control on a form. | |
Version | The control's version info. | |
Width | Establishes the "true" width of the tab control. | 4.1.15 |