FarPoint Technologies
(800) 645-5913
fpsales@fpoint.com
|
|
Change active tab |
Insert, delete, move, swap tabs | Change
the tab color | Display text in the tab
header | Display pictures
| Display pictures in tab header
Back to Top
The currently displayed tab, or the tab with the focus, is the
active tab. You can change the active tab at design time or at run time.
|
Design Time |
| - |
Using Visual Basic, click the header of the tab you
want to activate with the left mouse button |
| - |
Set the Tab property in the Property window at
design time. |
|
Run Time |
| - |
Set the ActiveTab property to the desired tab
in code. Note that tabs are numbered from zero. |
|
Back to Top
Tab Pro makes it easy to insert tabs, delete tabs, clear tabs, move
tabs, and swap tabs at design time and run time.
| |
Design Time |
| - |
Using the right mouse button, click the tab header
and choose the desired action. |
| |
Run Time |
| - |
Set the Tab property to specify the tab. |
| - |
Set the appropriate Action property:
|
| |
Setting
|
Description
|
| |
0 - Insert |
Inserts new tab
|
| |
1 - Delete
|
Deletes specified tab
|
| |
2 - Move
|
Moves tab to location specified by TabDest property |
| |
3 - Swap
|
Swaps tab with tab at location specified by TabDest
property |
| |
4 - Clear
|
Clears header text, header text fonts, pictures, and
color of tab specified by Tab property
|
|
Back to Top
You can change the Tab control's colors for
individual tabs, the active tab, or all tabs. The ApplyTo property
specifies the tabs to which changes are applied.
|
Back to Top
You can display text in the tab header by setting
the TabCaption property.
You can place an ampersand (&) in front of a character in the tab caption
to create a mnemonic access key that lets users type Alt and the character to
make that tab the active tab.
The text can also be aligned top, bottom, center, and left, right center.
|
Back to Top
You can have the tabs in the Tab control display a bitmap, icon, or metafile
within the tab. If the picture you choose is smaller than the area in which it
will be displayed, the picture is tiled in the tabs.
| This Tab control displays a different picture tiled in the active tab. |
 |
| Pictures in this control are only tiled within the client area, not in the tab
header. |
 |
|
Back to Top
You can add pictures (bitmaps, icons, and metafiles) to tab headers and align
them within the headers. In addition, you can specify that one color in the
picture is displayed as transparent.
| Picture displayed in tab header
|
 |
| Picture displayed in tab header with white set to display as transparent |
 |
|
|
|
| Have a question? |
|
 |
|