Visual Basic allows you to right-click on the control in design mode to access the available Property Pages. By selecting Properties... from the popup menu presented, the properties can be accessed using the Property Pages provided by the control. The following tabs are offered by this property dialog.
| Tab | Description |
|---|---|
| Attributes | Defines the main attributes of the tab control. |
| Tabs | Defines overall tab attributes and tab defaults. |
| Tab Detail | Defines the attributes of each tab. Each line represents one SftTabsTab object, indexed by tab number. Tabs can be added, deleted and reordered on this page. |
| Scrolling | Defines the scrolling attributes of the tab control and its scroll, Close, Minimize and Restore buttons. |
| QuickSetup | Provides quick setup of frequently used tab control styles. Select a style, then click on its button to update the current control by setting its properties. The other pages can then be used to further customize the control. |
| Options | Defines the defaults of the property dialogs. Switching between small and large property pages does not take effect until the property pages are closed and reopened. Checking for available updates requires an Internet connection. Certain system settings and firewalls may prevent automatic update checking; in that case, use the Updates page to check for available updates. |
| Updates | Click on the "Free Updates..." button to download free product maintenance and updates from our web site. The product contacts our web site and checks whether a newer version is available. If product maintenance is available, it can be downloaded and installed automatically. Internet access is required. |
Each tab and associated page allows a set of properties to be manipulated. All properties are labeled using the property name. Detailed descriptions can be found in the online documentation.
By right-clicking on the property page, help information for a specific property can be accessed.
Most pages offer online help by clicking on the Help button, which displays this topic.
This property page type shows a number of properties using categories (such as Appearance, Behavior, Colors, etc.).
By clicking on a property, the property can be edited. Using the TAB (or SHIFT+TAB) key the next (or previous) property can be edited or simply click on another property.
Double-click on the description of a property to display the complete help information or right-click on the property dialog for a help menu.
The Tab Detail page displays multiple objects, all of the same type. Each line in the grid represents one SftTabsTab object, indexed by tab number. The index is shown at the beginning of the line.
Columns can be resized and properties are edited by clicking on them.
In addition, the tabs can be reordered. By clicking on the button on the left of each line and dragging it to a new position, the tab and its properties are moved to another position.
Click on a column header to display the complete help information for the selected property or right-click on a specific property for a help menu.
When clicking on a property representing a color value, a combo box is displayed which shows the available system colors and also the basic colors. A new color value can be selected from the choices offered or a new color value can be entered. The following syntax is accepted:
| &H00bbggrr& | A hexadecimal number (Basic style) |
| 0x00bbggrr | A hexadecimal number (C/C++ style) |
| decimal | A decimal value, the decimal equivalent of a hexadecimal color value |
| bb = blue component gg = green component rr = red component |
&H00FF0000& Blue
0x0000ff00 Green
The display format of color values can be modified using the Options page.
An image property (based on a SftPictureObject object) can be defined by clicking on the
bitmap of the cell. This displays a dialog that is used to load a bitmap, GDI+ image, icon or metafile, or to select a built-in image or color sample. Some properties only allow bitmaps or only icons.
If a file has been loaded, the image is saved along with the control properties and the file is no longer required.
Image properties display (None), (GDI+ Image), (Picture), (Built-In), (Color Sample) or (Invalid Type), depending on the graphic type loaded.
To clear an image property click on the
bitmap of the cell, then click Clear on the resulting dialog. This will clear the image property.
A Picture property can be defined by clicking on the
bitmap of the cell. This displays a dialog that is used to load a bitmap, icon or metafile. Some properties only allow bitmaps or only icons.
Once a file has been loaded, the image is saved along with the control properties and the file is no longer required.
Picture properties display (None), (Bitmap), (Metafile), (Icon) or (Invalid Type), depending on the graphic type loaded.
To clear a Picture property click on the
bitmap of the cell, then click Cancel on the resulting dialog. This will clear the Picture property.
A Font property can be defined by clicking on the
bitmap of the cell. This displays a dialog that is used to define the attributes of the font.