home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_BAS / TABFRAM.ZIP / TABDEMO.FRM (.txt) < prev    next >
Visual Basic Form  |  1994-02-04  |  10KB  |  255 lines

  1. frmTabDemo
  2. TabFrame Demo
  3. Form15
  4. cmdHelp
  5. GSTabFrame1
  6. GSTabFrame
  7. &Registration
  8. Label17
  9. ENGLAND
  10. Label16
  11. Derbyshire DE6 1PR
  12. Label15
  13.     Ashbourne
  14. Label14
  15.     Hognaston
  16. Label13
  17. Fellsgarth House
  18. Label12
  19. GC Consulting Services Ltd
  20. Label11
  21. 22) By sending a cheque or money order for 
  22. 25 to :
  23. Label10
  24. \1) Through the SWREG forum on Compuserve. The fee is $39.95 and the registration ID is 2018.
  25. Label9
  26. bIf you find the TabFrame control useful you can receive a full version by registering as follows :
  27. Label8
  28. 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.
  29. GSTabFrame1
  30. GSTabFrame
  31. &General
  32. MS Sans Serif
  33. Label23
  34. _Switching between tabs in design mode is made simple through the use of the right mouse button.
  35. Label22
  36. 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.
  37. Label21
  38. 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.
  39. Label20
  40. zThis product is distributed as shareware and registration details are provided in this demonstration and in the help file.
  41. Label19
  42. 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.
  43. GSTabFrame1
  44. GSTabFrame
  45. &Properties
  46. MS Sans Serif
  47. GSTabFrame2
  48. GSTabFrame
  49. Custom
  50. txtpropDesc
  51. txtPropDesc
  52. cboPropName
  53. Label1
  54. Description:
  55. Label1
  56.     Property:
  57. GSTabFrame2
  58. GSTabFrame
  59. Standard
  60. MS Sans Serif
  61. Label5
  62. 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.
  63. Label4
  64. FontStrikethru
  65. Label4
  66. FontSize
  67. Label4
  68. Width
  69. Label4
  70. Visible
  71. Label4
  72. Label4
  73. Label4
  74. TabIndex
  75. Label4
  76. Parent
  77. Label4
  78. MousePointer
  79. Label4
  80. Label4
  81. Index
  82. Label4
  83. Label4
  84. HelpContextID
  85. Label4
  86. Height
  87. Label4
  88.     ForeColor
  89. Label4
  90. FontUnderline
  91. Label4
  92. DragMode
  93. Label4
  94. DragIcon
  95. Label4
  96. FontName
  97. Label4
  98. FontItalic
  99. Label4
  100. FontBold
  101. Label4
  102. Enabled
  103. Label4
  104. ClipControls
  105. Label4
  106. Caption
  107. Label4
  108. BorderStyle
  109. Label4
  110.     BackColor
  111. Label3
  112. JThe following standard properties are supported by the TabFrame control :-
  113. GSTabFrame1
  114. GSTabFrame
  115. &Events
  116. MS Sans Serif
  117. GSTabFrame3
  118. GSTabFrame
  119. Custom
  120. cboEventName
  121. txtEventDesc
  122. txtEventDesc
  123. Label1
  124. Event:
  125. Label1
  126. Description:
  127. GSTabFrame4
  128. GSTabFrame
  129. Standard
  130. MS Sans Serif
  131. Label7
  132.     MouseMove
  133. Label7
  134. MouseUp
  135. Label7
  136.     MouseDown
  137. Label7
  138. DragOver
  139. Label7
  140. DragDrop
  141. Label7
  142. DblClick
  143. Label7
  144. Click
  145. Label6
  146. FThe following standard events are supported by the TabFrame control :-
  147. Label18
  148. LFor further details refer to the help file included with this demonstration.
  149. Label2
  150. Click tab to select
  151. MS Sans Serif
  152. GSTabFrame_Activated
  153. Index_
  154. GSTabFrame_Deactivated>
  155. Cancel
  156. Command1_Click
  157. cmdClose_Click
  158.     Form_Load
  159. cboPropNameb
  160.     ListIndexu
  161. cboEventName
  162. Label4_Click.
  163. Label10_Click
  164. cmdHelp_Click
  165. Label2_Click
  166. WinHelp{
  167. hWnd%
  168. lpHelpFile
  169. wCommand
  170. dwData
  171. frmTabDemoH
  172.     sHelpFileV
  173. GSTabFrame1_Activated
  174. cboPropName_Change5
  175. cboPropName_Click,
  176. PropDesc
  177. Listw
  178. txtPropDesc
  179. display3
  180. About
  181. dialog
  182. which
  183. identifies
  184. TabFrame
  185. version
  186. number
  187. property
  188. determines
  189. whether
  190. appear
  191. bottom
  192. control
  193. cboEventName_Change
  194.     EventDesc
  195. txtEventDesc
  196. cboEventName_Click
  197. HelpFile
  198. PathT
  199. cboEventName_Click
  200. Activate
  201. This event occurs whenever a tab becomes active.
  202. Deactivate
  203. 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.
  204. cboPropName_Click
  205. About
  206. This property, which is only available at design time, can be used to display the About dialog which identifies the TabFrame version number.
  207. Active
  208. This property, which is only available at run time, determines if the tab is currently active.
  209. ActiveColor
  210. This property determines the background color of the active tab.
  211. AutoFont
  212. 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.
  213. Child3D
  214. This property is used to determine which, if any, of the child controls on the TabFrame are given a 3D effect.
  215. ChildBevel
  216. This property determines the type of 3D effect (raised or inset) given to selected child controls on the TabFrame
  217. ChildBevelWidth
  218. This property determines the width of the bevel used to give selected child controls a 3D appearance.
  219. FocusTracking
  220. If this property is True then the TabFrame will rememeber which control has the focus from one activation to the next.
  221. InactiveColor
  222. This property determines the background color of the inactive tabs.
  223. Position
  224. This property determines whether the tab appear at the top or bottom of the TabFrame control.
  225. Style
  226. This property determines the display style of the TabFrame control. Options include 2D (flat) as well as 3D raised or inset.
  227. TabHeight
  228. 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.
  229. TabNumber
  230. This property determines the order, left-to-right, in which the tabs are displayed.
  231. TabWidth
  232. 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.
  233. cmdHelp_Click
  234. Form_Load
  235.  get help file namer
  236. TabFrame.Hlp
  237.  load property combo box
  238. About
  239. Active
  240. ActiveColor
  241. AutoFont
  242. Child3D
  243. ChildBevel
  244. ChildBevelWidth
  245. FocusTracking
  246. InactiveColor
  247. Position
  248. Style
  249. TabHeight
  250. TabOrder
  251. TabWidth
  252.  load event combo box
  253. Activate
  254. Deactivate
  255.