home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / elastic / tab2.frm (.txt) < prev    next >
Visual Basic Form  |  1994-07-22  |  9KB  |  265 lines

  1. Form1
  2. Form15
  3.     Container
  4. HScroll1    
  5. HScroll1    
  6. CommandBtns
  7. 8 tabs
  8. CommandBtns
  9. 4 tabs
  10. CommandBtns
  11. 3 tabs
  12. CommandBtns
  13. 2 tabs
  14. Label1
  15. Click Here to Exit
  16. Label1
  17. Position
  18. Label1
  19. Tab Size
  20. Picture1
  21. Picture1_Click
  22. xoffS
  23. RightU
  24. invert
  25. Bottom
  26. top2H
  27. Picture1
  28. @    Form_Load
  29. Form_Paint
  30. NumberOfTabs/
  31. ScaleWidth
  32. Form1
  33. Nexttabh
  34. WidthX
  35. Form_Resize
  36. Columns*
  37. NumberPerRow
  38. TabsPerRow
  39.     TabHeight
  40. DistanceFromTop
  41. StartTabn
  42. DistanceFormTop
  43. CreatePolygonRgn    
  44. lpPoints$
  45. POINTAPI
  46. nCount
  47. nPolyFillModeA
  48. ShitJ
  49. Column
  50. Form_MouseDown
  51. Button
  52. Shift
  53. ArtWork
  54. DrawMode
  55.     FillStyle_
  56.     FillColorH
  57. PixelXY
  58. PixelY
  59. Index
  60.     FloodFillT
  61. ExtFloodFill
  62. FLOODFILLBORDER
  63. Check1}
  64. Value
  65. PolyMode|
  66. SetPolyFillMode7
  67. Polygonk
  68. PolyPts@
  69. crColorc
  70. API2>
  71. PtInRectBynum8
  72. lpRect
  73. Rect+
  74. BoundingBox
  75. InvertRectD
  76. Invert1
  77. Form_MouseUp
  78. BitBlte
  79. SRCCOPY
  80. Screen
  81. TwipsPerPixelX
  82. Height
  83. TwipsPerPixelY)
  84. Colulms
  85.     ForeColor
  86. QBCoor
  87. ScaleHeight=    
  88. CurrentX
  89. CurrentY
  90. orm1Z
  91.     TabPerRow
  92. Frame1_DragDrop
  93. Source
  94. Control
  95. Frame1_Click
  96. Frmae1N
  97. Frame1
  98. Picture1_Resize
  99. WidthjD
  100. Picture 
  101. Picture1_MouseDown
  102.     DrawWidth
  103. Picture1_Paint
  104. fom1f
  105. TopForm1C    
  106.     BackColor
  107. Label1
  108. textRectf
  109. DrawText
  110.     DT_CENTER2
  111. WindowState
  112. Tehn[
  113. TabStart
  114. DT_SINGLINE
  115. DT_SINGELINE
  116. DT_VCENTER
  117. DT_SINGLELINE 
  118. Events
  119.     ScaleModeH
  120. Firm1
  121. Fprmat,
  122. Rect2
  123.     ScaleLeft\
  124. ScaleTop
  125. ShowTabForm{
  126. Slectn
  127. Command1_Click
  128. Command2_Click
  129. Timer1_Timer
  130. FlagOn
  131. intger
  132. BoundingBox23
  133. boundingbox1
  134. OldBoundingBox5
  135. XSrcI    
  136. YSrcF
  137. dwRop
  138. Form_Click
  139. Visible
  140. ReBuildr
  141. TooSmall
  142. PaintP
  143. ShowTabContents
  144. HScroll1_Change
  145. Scroll1u
  146. Hscroll1
  147. Hscroll
  148. Picture2_Click
  149. Container_Click%    @
  150. CommandBtns_Click
  151. Label1_Click
  152.     FormSized
  153. FormSizeK
  154. FormWide!
  155. From1+    
  156. FormHigh
  157. SaveCurrentTabA
  158. CurrentTabU
  159. Draw3Dcontrols#
  160. FrameWidth
  161. Parent
  162. TLShadea    
  163. BRShadea
  164. ControlCount
  165. ControlCounts
  166. ControlsCounts
  167. Controls
  168. Count4    
  169.     Container
  170.     Countrols
  171. Command1;
  172. CommandBtns
  173. ResizeControlsH
  174. FormH
  175. FormW
  176. OrgFormLeft
  177. FormL
  178. OrgFormWith
  179. Form_Activate
  180. OrgCtrLeft
  181. FormT
  182. OrgCtrlLeft
  183. OrgCtrlWidth
  184. OrgCtrWidth
  185. FormTAs
  186. FormTbAs
  187. OrgCtrlTop
  188. OrgCtrlHeight
  189. FontSize
  190.     OCtrlLeft
  191. OCtrlWidth
  192. OCtrlTopS
  193. CtrlLeft
  194.     CtrlWidthy
  195. CtrlTopn
  196. CtrlHeight
  197.     FirstTime
  198. CtrLeft
  199. CtrTop
  200. CtrWidth
  201.     CtrHeight
  202. CommandBtns_Click
  203. Draw3Dcontrols
  204.  lefto
  205.  right
  206.  bottom)
  207. Form_Load
  208. starting index of Tab arrayi
  209. number of Tabs in each row
  210. top position of each Tab
  211. height of each tab
  212. convert twips to pixels
  213. Form_MouseDown
  214. Find the location of each Taba
  215. all tab's rect positions are saved
  216. during the Form1.Paint event.s
  217. W = west, N = north, E = east, S = south
  218. magic formula to splice X & Y together
  219. long line
  220. short line
  221. display something after a tab is selectede
  222. reset (B) Tab array variable if Tab not selected
  223. Form_Paint
  224. 'draw the black outlines of each Tab
  225. First Tab's X position
  226. extended start line to trap FloodFillR
  227. sets total tabs per rows
  228. left bottomh
  229. left top angle
  230. width of each tab - angle widths
  231. right top anglet
  232. right bottom
  233. 'store rectanglular area of each tab for PtInRect function
  234. extended last line to trap FloodFill
  235. 'draw the 3D Tab lines
  236. reset start position
  237. White lines 
  238. left bottom 
  239. left top angle
  240. width of each tab - angle widths
  241. dark gray lines 
  242. right top angleh
  243. right bottom
  244. 'draw the Tab Page bordere
  245. 'Draw custom Tab labelsb
  246. reset black pen"
  247. you could replace with Label controls
  248. to elimate both API functions,
  249. DrawText & PtInRectc
  250. 'FloodFill top of Form
  251. 'Draw a 3D bevel around Picture1
  252. Form_Resize
  253. HScroll1_Change
  254. height of each Tab
  255. Distance from top of Form1
  256. Label1_Click
  257. Robert W. Stewart  72632,3004
  258. 1092 Avenue Road, Toronto, Ontario
  259. ShowTabContents
  260. Green
  261. Purple
  262. Light gray
  263. Dark gray
  264. Case Else
  265.