frmTabDemo TabFrame Demo Form15 cmdHelp GSTabFrame1 GSTabFrame &Registration Label17 ENGLAND Label16 Derbyshire DE6 1PR Label15 Ashbourne Label14 Hognaston Label13 Fellsgarth House Label12 GC Consulting Services Ltd Label11 22) By sending a cheque or money order for 25 to : Label10 \1) Through the SWREG forum on Compuserve. The fee is $39.95 and the registration ID is 2018. Label9 bIf you find the TabFrame control useful you can receive a full version by registering as follows : Label8 This demonstration includes a fully functional version of the TabFrame control which may be used in the Visual Basic development environment only. It cannot be used in conjunction with an EXE file produced from Visual Basic. GSTabFrame1 GSTabFrame &General MS Sans Serif Label23 _Switching between tabs in design mode is made simple through the use of the right mouse button. Label22 If you have any comments or suggestions concerning this control then please contact Graham Cockell (Compuserve ID 100113, 2774) via e-mail or on the Compuserve MSBASIC forum. Label21 This demonstration shows some of the capabilities of the TabFrame control including various display styles and the ability to nest one set of TabFrame controls within another - see the Property and Event tabs. Label20 zThis product is distributed as shareware and registration details are provided in this demonstration and in the help file. Label19 The TabFrame control allows you to quikly and easily build a tabbed dialog style user interface, as popularised in Microsoft Word V6.0, using Visual Basic. The TabFrame control handles all the details of which tab should be visible as well as providing a number of other useful features such as 3D effects for child controls. GSTabFrame1 GSTabFrame &Properties MS Sans Serif GSTabFrame2 GSTabFrame Custom txtpropDesc txtPropDesc cboPropName Label1 Description: Label1 Property: GSTabFrame2 GSTabFrame Standard MS Sans Serif Label5 Several of these properties are synchronised across the TabFrame controls which make up a TabSet so that changing the property value for any one of the controls automatically changes the value for all the others. Label4 FontStrikethru Label4 FontSize Label4 Width Label4 Visible Label4 Label4 Label4 TabIndex Label4 Parent Label4 MousePointer Label4 Label4 Index Label4 Label4 HelpContextID Label4 Height Label4 ForeColor Label4 FontUnderline Label4 DragMode Label4 DragIcon Label4 FontName Label4 FontItalic Label4 FontBold Label4 Enabled Label4 ClipControls Label4 Caption Label4 BorderStyle Label4 BackColor Label3 JThe following standard properties are supported by the TabFrame control :- GSTabFrame1 GSTabFrame &Events MS Sans Serif GSTabFrame3 GSTabFrame Custom cboEventName txtEventDesc txtEventDesc Label1 Event: Label1 Description: GSTabFrame4 GSTabFrame Standard MS Sans Serif Label7 MouseMove Label7 MouseUp Label7 MouseDown Label7 DragOver Label7 DragDrop Label7 DblClick Label7 Click Label6 FThe following standard events are supported by the TabFrame control :- Label18 LFor further details refer to the help file included with this demonstration. Label2 Click tab to select MS Sans Serif GSTabFrame_Activated Index_ GSTabFrame_Deactivated> Cancel Command1_Click cmdClose_Click Form_Load cboPropNameb ListIndexu cboEventName Label4_Click. Label10_Click cmdHelp_Click Label2_Click WinHelp{ hWnd% lpHelpFile wCommand dwData frmTabDemoH sHelpFileV GSTabFrame1_Activated cboPropName_Change5 cboPropName_Click, PropDesc Listw txtPropDesc display3 About dialog which identifies TabFrame version number property determines whether appear bottom control cboEventName_Change EventDesc txtEventDesc cboEventName_Click HelpFile PathT cboEventName_Click Activate This event occurs whenever a tab becomes active. Deactivate This event occurs before a tab is made inactive and a new tab is made active. The code may cancel the new tab activation if required. cboPropName_Click About This property, which is only available at design time, can be used to display the About dialog which identifies the TabFrame version number. Active This property, which is only available at run time, determines if the tab is currently active. ActiveColor This property determines the background color of the active tab. AutoFont If this property is True then the TabFrame control will ensure that all tabs are using the same font and that the caption of the active font will be shown bold. Child3D This property is used to determine which, if any, of the child controls on the TabFrame are given a 3D effect. ChildBevel This property determines the type of 3D effect (raised or inset) given to selected child controls on the TabFrame ChildBevelWidth This property determines the width of the bevel used to give selected child controls a 3D appearance. FocusTracking If this property is True then the TabFrame will rememeber which control has the focus from one activation to the next. InactiveColor This property determines the background color of the inactive tabs. Position This property determines whether the tab appear at the top or bottom of the TabFrame control. Style This property determines the display style of the TabFrame control. Options include 2D (flat) as well as 3D raised or inset. TabHeight This property determines the height of the tab. If set to zero then the TabFrame control will set the height automatically based on the font size. TabNumber This property determines the order, left-to-right, in which the tabs are displayed. TabWidth This property determines the width of the tab. If set to zero then the width will be set automatically so that all the tabs in a set of TabFrame controls fill the total width. cmdHelp_Click Form_Load get help file namer TabFrame.Hlp load property combo box About Active ActiveColor AutoFont Child3D ChildBevel ChildBevelWidth FocusTracking InactiveColor Position Style TabHeight TabOrder TabWidth load event combo box Activate Deactivate