home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / 3d_tabs / misc.frm (.txt) < prev    next >
Visual Basic Form  |  1994-06-12  |  23KB  |  458 lines

  1. Miscellaneous Controls
  2. wwwwwwwwwwwwwwp
  3. wwwwwwwwwwwwwwp
  4. wwwwwwwwwwwwwwp
  5. wwwwwwwwwwwwwwp
  6. wwwwwwwwwwwwwwp
  7. wwwwwwwwwwwwwwp
  8. wwwwwwwwwwwwwwp
  9. wwwwwwwwwwwwwwp
  10. wwwwwwwwwwwwwwp
  11. wwwwwwwwwwwwwwp
  12. wwwwwwwwwwwwwwp
  13. wwwwwwwwwwwwwwp
  14. wwwwwwwwwwwwwp
  15. wwwwwwwwwwwwwp
  16. wwwwwwwwwwwwwwp
  17. wwwwwwwwwwwwwwp
  18. wwwwwwwwwwwwwwp
  19. wwwwwwwwwwwwwwp
  20. wwwwwwwwwwwwwwp
  21. wwwwwwwwwwwwwwp
  22. wwwwwwwwwwwwwwp
  23. wwwwwwwwwwwwwwp
  24. wwwwwwwwwwwwwwp
  25. wwwwwwwwwwwwwwp
  26. wwwwwwwwwwwwwwp
  27. wwwwwwwwwwwwwp
  28. wwwwwwwwwwwwwp
  29. Form25
  30. SSPanel#
  31. NewPages
  32. SSPanel#
  33. Pages
  34. newpage
  35. Create
  36. newpage
  37. Destroy
  38. Frame3D5
  39. SSFrame
  40. Caption
  41. MS Sans Serif
  42. newtag
  43. Frame3D6
  44. SSFrame
  45. Controls
  46. MS Sans Serif
  47. SSCheck
  48.    Picturebox
  49. SSCheck
  50.    Checkboxes
  51. SSCheck
  52.     Caption Panel
  53. SSCheck
  54.    Textbox
  55. Label2
  56. 'Include these controls on the new page:
  57. MS Sans Serif
  58. Panel3D5
  59. SSPanel#
  60. Pages
  61. MS Sans Serif
  62. panel3d
  63. SSPanel#
  64. Properties
  65. Command1
  66.     Apply Now
  67. Panel3D1
  68. SSPanel#
  69. Tab Control Properties
  70. MS Sans Serif
  71. Frame3D2
  72. SSFrame
  73. Columns
  74. MS Sans Serif
  75. SSOption
  76. SSOption
  77. SSFrame
  78. Orientation
  79. MS Sans Serif
  80. SSOption
  81.     tabs down
  82. SSOption
  83. tabs up
  84. Generic
  85. .    Generic 0
  86. gpanel
  87. SSPanel#
  88. Generic Page
  89. MS Sans Serif
  90. gicon
  91. ;;;;;;;;;;;;;
  92. ;;;;;;;;;;;;0
  93. ;;;;;;;;;;;;;
  94. ;;;;;;;;;;;;0
  95. gCheck2
  96. Check2
  97. gcheck1
  98. Check1
  99. gtext2
  100. Text2
  101. gText1
  102. Text1
  103. CommonDialog
  104. Select a File
  105. *.ico;*.exe|*.ico;*.exe    
  106. c:\windows
  107. tabbox
  108. invbox
  109. IconPage
  110. Leaf Demo1
  111. MS Sans Serif
  112. leafpic
  113. Label1
  114. 6Click 'New Leaf' to add leafs; 'New Item' to add items
  115. MS Sans Serif
  116. leafheader
  117. leaflabel2
  118. 1 of 1
  119. leaflabel1
  120. leafcorner
  121. wwwwwww
  122. pwwwwww
  123. Panel3D2
  124. SSPanel#
  125. Captions
  126. MS Sans Serif
  127. Frame3D4
  128. SSFrame
  129. MS Sans Serif
  130. List1
  131. MS Sans Serif
  132. Frame3D3
  133. SSFrame
  134. Captions
  135. MS Sans Serif
  136. Text1
  137. Combo1
  138. Text:
  139. Label7
  140. Panel3D3
  141. SSPanel#
  142. Tab Captions
  143. MS Sans Serif
  144. Command3
  145.     Apply Now
  146. MS Sans Serif
  147. Intro
  148. loader
  149. status
  150. SSPanel#
  151. MS Sans Serif
  152. picToolbar
  153. newitem
  154. New Item
  155. MS Sans Serif
  156. newleaf
  157. New Leaf
  158. MS Sans Serif
  159. Line6
  160. Line5
  161. Line4
  162. wwwwwwwwwwp
  163. wwwwwwwwwwp
  164. wwwwwwwwwwp
  165. wwwwwwwwwwp
  166. wwwwp
  167. wwwwp
  168. wwwwwwwwwww
  169. wwwwwwwwwww
  170. wwwwwwwwwww
  171. wwwwwwwwwww
  172. wwwwwwwwwww
  173. wwwwwwwwwww
  174. SSPanel#
  175.     SSCommand
  176.     SSCommand
  177.     SSCommand
  178.     SSCommand
  179.     SSCommand
  180. wwwwwwwwp
  181. ffffffff
  182. ffffffff
  183.     SSCommand
  184. fffff`
  185. ffff`
  186. ffff`
  187. ffff`
  188. ffff`
  189. ffff`
  190. ffff`
  191. ffff`
  192. ffff`
  193. fffff
  194. fffff
  195.     SSCommand
  196. wwwwwwww
  197. wwwwwwwwxp
  198. wwwwwwwwxp
  199. ffffffff`wwwxp
  200. Image6
  201. wwwwwwww
  202. wwwwwwww
  203. wwwwwwww
  204. wwwwwwww
  205. wwwwwwww
  206. wwwwwwww
  207. wwwwwwww
  208. wwwww
  209. wwwww
  210. wwwww
  211. wwwwwx
  212. wwwwwwww
  213. wwwwwwww
  214. Image6
  215. wwwwwwww
  216. wwwwwwww
  217. wwwwwwww
  218. wwwwwwww
  219. wwwwwwww
  220. wwwwwwww
  221. wwwwwwww
  222. wwwww
  223. wwwww
  224. wwwww
  225. wwwww
  226. wwwwwwww
  227. wwwwwwww
  228. Panel3D3_DragDrop
  229. Source
  230. Control}
  231. TabData
  232. Initialize
  233. numpages
  234. active?
  235. colsy
  236. orient
  237. tabsup
  238. tLeft
  239. tTopV
  240. minwidtht
  241.     minheight5
  242. DefineControlI
  243. tabbox
  244. invbox
  245.     Form_Load    
  246. Form_Resize
  247. windowstate
  248.     TabResize
  249. tabbox_Click
  250. TabClickj
  251. Button
  252. tabbox_MouseUp
  253. Shift]
  254. tabbox_PaintW
  255. DrawText]
  256. panel3d^
  257. frame3d
  258. picbox1
  259. picbox2U
  260. msframe
  261. tboxq
  262. tControlWidth
  263. tControlHeight`
  264. scaleheight
  265. pages
  266. define
  267. imgCopyButton_Click
  268. tbox_Change
  269. text1
  270. textbox
  271. thisQ
  272. sample
  273. demonstrates)
  274. multiple8
  275. types~
  276. WidthJ
  277. Heightu
  278. status
  279. insetx
  280. insety
  281. LoadText
  282. couple
  283. extra
  284. steps3
  285. required
  286. list1
  287. List1_Click&
  288. Value
  289. Command1_Click
  290. combo1?
  291. Text1_Change-
  292. Text1_KeyPress6
  293. keyascii
  294. command36
  295. Thencommand3f
  296. Command3_Clicki
  297.     ListIndex
  298. Combo1_Changev
  299. Combo1_Click
  300. Command2_Click
  301. frame1v
  302. Visible
  303. Drive1_Change
  304. drive1.
  305. Drive
  306. driveerrP    
  307. Dir1_Change
  308. file1
  309. File1_Click
  310. GetIconD
  311. fileR
  312. hIcon
  313. GetWindowWord{
  314. GWW_HINSTANCE
  315. ExtractIcon
  316. DrawIcon
  317. iconbox
  318. nIndex
  319. hisnt
  320. lpszExeName>
  321. iIcon
  322. loader
  323. Picture
  324. Image
  325. Image1_Click
  326. Index
  327. Text2_Change
  328. Place
  329. PlaceThings3
  330. b_Click/    
  331. msframe_DragDrop
  332. panel3d2
  333. Printer
  334.     FontCount
  335. Fonts
  336. screen
  337. FontName!    
  338. Page1c
  339. IconPage
  340. TextPage`
  341. NewPages
  342. Addicon
  343. Action
  344. Filename
  345. genericX
  346. Command7_Click&
  347. leafpic
  348.     leaftitle\    
  349.     FiletitleG
  350. leafcorner_Clickn
  351. leafbtn_Click
  352. leafbtn
  353. Enabled
  354.     SetParent
  355.     hWndChild
  356. hWndNewParent
  357. Command5_Click
  358. createpage_Click
  359. gtext1
  360. gtext2
  361. Picture1_Click
  362. gcheck1A
  363. gicon;    
  364. gcheck1_Click
  365. gpanel,
  366. Caption
  367. newtag
  368. gcheck2n
  369. newpage_Click
  370. activeleaf
  371. iconnumber
  372. newitem_Click
  373. newleaf_Click
  374. leaflabel2
  375. thennewleaf
  376. newleaf
  377. picsonleaf
  378. total
  379. leafcap
  380. position
  381. leafpagem    
  382. Leaf_Clickb    
  383. leaf_paint
  384. CurrentX
  385. CurrentY
  386. paint
  387. numleafs
  388. i_Click
  389. leafpic_Click
  390. newitemd
  391. used for new pages demo
  392. used for leaf demo
  393.     shell.dll
  394. Combo1_Click
  395. Command1_Click
  396. Command3_Click
  397. Form_Load
  398. Form_Resize
  399. adjust the pages as you wish
  400. PageResize Me, -1, -1, page(), tb-
  401. GetIcon
  402. no icons
  403. Initialize
  404. set to highest index (total-1)
  405. ===create an array of controls
  406. for this example, use an assortment of control types a
  407. as the pages
  408. ===fill in the fields of the struct
  409. number of tabs
  410. initial focusa
  411. number of tabs in each row
  412. 0 = up, 1 = down
  413. if the tab control does not fill the form, you must 
  414. define the size of the control
  415. (note: width will be set to the tabbox width)u
  416. optional:t
  417. leaf_paint
  418. s$ = lp.Caption(lp.active * 8 + y * 4 + x + 1)
  419. leafcorner_Click
  420. leafpic_Click
  421. Item clicked.
  422. List1_Click
  423. LoadText
  424.    This sample demonstrates the placement of the tab control on a form with other controls.
  425.    It also demonstrates an assortment of other variations on the control's usage.
  426.  It shows the use of multiple control types as the tab control's 'pages'.
  427.  It demonstrates the placement of the tabs on a container other than a form (e.g. a 3d panel).
  428.  And it shows how to implement runtime property changes.
  429.  A couple of extra steps are required in this case.
  430.      1. You must set the Left, Top, and Height properties before calling DefineControl(). If you do not set Width, it will default to the designtime width of the tabbox. Note that this differs from the case when all these values are 0, which defaults to the size of Page(). 
  431.      2. You must handle resizing the tabbox and the pages if you place it on a resizable window. (Not supported and not recommended. I haven't tried it; extensive code modification may be required.)
  432.      3. You must assign controls to the page() array with individual Set statements for each page().
  433.      4. The tab control code only draws within the tabbox; if you wish to get a proper 3D effect, you must handle the additional drawing yourself. An early version of this sample used 6 Line controls to achieve consistency with the other controls. This worked fine but made design modifications a nightmare.
  434.  It now sits on a 3D panel.
  435.  This sample is fairly well junked up with dummy controls. It should give you some indication of how the performance of the code is affected by an increase in the number of controls on each page. The hit should be negligible, but notice that some combinations refresh more slowly, and flipping between light and dark backgrounds can be unpleasant.
  436. newitem_Click
  437. load a picturebox   values: 1 to 32
  438. load a picture into it
  439. Cannot extract an icon from this file.
  440. set its parent
  441. increment number of items on this leaf
  442. values: 1 - 8 
  443. each position has a unique index, remember what's there 
  444. values: 1 - 32
  445. save the caption
  446. move the pic into position
  447. newleaf_Click
  448. newpage_Click
  449. create a  page
  450. Generic
  451. Generic Page 
  452. add to the pages array
  453. destroy last page
  454. PlaceThings
  455. tabbox_MouseUp
  456. tabbox_Paint
  457. Text1_KeyPress
  458.