home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l408 / 2.img / EXAMPLES.EXE / EXAMPLES / MH3D / MH3D.FRM (.txt) next >
Encoding:
Visual Basic Form  |  1992-10-12  |  3.5 KB  |  77 lines

  1. Mh3D Example
  2. Form1
  3. Label1
  4. Use Mh3d for a nice "3-D" effect for text. You can even place other controls on 3D, as we've done with the two MhMulti controls that you see on the right end of the top bar. Note that right button mouse sizing is available in design mode!
  5. Mh3d1
  6. MhThreed 
  7. !0Click on the plus and minus to see the fill bar.#
  8. MhMulti2
  9. MhMultiple
  10. MhMulti1
  11. MhMultiple
  12. Command2
  13.     MhCommand
  14. % Minus
  15. Command1
  16.     MhCommand
  17. % Plus
  18. Command3
  19. Label1
  20. You determine where the "interior" recessed bar is (relative to the edges of the control itself). That makes it easy to resize the control without having to worry about resizing what's inside it!
  21. Label1
  22. The colored "percent complete bar" is built into the control. You supply the Min and Max, and then changing the Value property causes the colored bar to display within the text area.
  23. Label1
  24. Because we use our own MhCommand Custom Controls, you can hold the mouse down on the "% Plus" and "% Minus" buttons and see continuous movement. Try THAT with a VB Button!
  25. Picture1
  26.     MhThreed1
  27. MhThreed%
  28. Command4
  29. Command4
  30. Command4
  31. Command4
  32. Label1
  33. The above MhThreeD label is used to hold four button controls. That's how easy it is to make ribbon bars like you find in Win Word!
  34. Command1_Click
  35. Mh3D1
  36. Value
  37. Command2_Click
  38. Caption
  39. MhMulti2
  40. MhMulti1
  41. Enable@
  42. EnabledS
  43. Command3_Click
  44. Mh3D6
  45. mh3dEnd 
  46. Form_Click
  47.     Form_Load
  48. MhWinDir~
  49. Command1_MouseDownN
  50. Button
  51. Shiftb
  52. Active&
  53. MDown1
  54. MDown2
  55. FALSE
  56. Command1_MouseUp
  57. Command2_MouseDown
  58. DDown2
  59. Command2_MouseUp
  60. Command1
  61. Command2
  62. Form_Unload
  63. Cancel-
  64. MhMulti2_Change
  65. MhTrue
  66. MhFalseZ
  67.  For continuous button pressingt
  68. Command3_Click
  69. Command1_MouseDown
  70.  Left button
  71. Percent complete
  72. Command1_MouseUp
  73. Command2_MouseDown
  74. Percent complete
  75. Command2_MouseUp
  76. Form_Unload
  77.