home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l408 / 2.img / EXAMPLES.EXE / EXAMPLES / MHCOMMAN / MHBUTTON.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1992-10-07  |  22.0 KB  |  163 lines

  1. Button
  2. MhButton Demonstration
  3. Form1*
  4. Frame1
  5. Label1
  6.     MhButton1
  7.     MhCommand
  8. wwwwwwwwwwww
  9. wwwwwwwwwww
  10. wwwwwwwwwwww
  11.     MhButton1
  12.     MhCommand
  13. wwwwwwwwwwww
  14. wwwwwwwwwww
  15. wwwwwwwwwwww
  16.     MhButton1
  17.     MhCommand
  18. wwwwwwwwwwww
  19. wwwwwwwwwww
  20. wwwwwwwwwwww
  21.     MhButton1
  22.     MhCommand
  23. wwwwwwwwwwww
  24. wwwwwwwwwww
  25. wwwwwwwwwwww
  26.     MhButton1
  27.     MhCommand
  28. wwwwwwwwwwww
  29. wwwwwwwwwww
  30. wwwwwwwwwwww
  31. Label2
  32. All the buttons on this form (except the OK button) were created using the MhButton custom control. All the bitmaps used in these custom buttons are included in the product.                             
  33.     MhButton1
  34.     MhCommand
  35. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  36. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  37. B$Gwx
  38. ""Dww
  39. ""$Gwx
  40. """Dww
  41. """$Gwx
  42. """"Dww
  43. """"$Gwx
  44. ""Dww
  45. "$Gwx
  46. ""Dwx
  47. ""Gwx
  48. "$Gwx
  49. "$Gwx
  50. B$Gwwx
  51. ""Dwww
  52. ""$Gwwx
  53. """Dwww
  54. """$Gwwx
  55. """"Dwww
  56. """"$Gwwx
  57. ""Dwww
  58. "$Gwwx
  59. ""Dwwx
  60. "$Gww
  61. ""Hwwx
  62. "$Hwwx
  63. "$Hwwx
  64. "$Hwx
  65. wwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  66. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  67. Frame1
  68. Label1
  69. Word Processing
  70.     MhButton1
  71.     MhCommand
  72. wwwwwwwwwwww
  73. wwwwwwwwwww
  74. wwwwwwwwwwww
  75.     MhButton1
  76.     MhCommand
  77. wwwwwwwwwwww
  78. wwwwwwwwwww
  79. wwwwwwwwwwww
  80.     MhButton1
  81.     MhCommand
  82. wwwwwwwwwwww
  83. wwwwwwwwwww
  84. wwwwwwwwwwww
  85.     MhButton1
  86.     MhCommand
  87. wwwwwwwwwwww
  88. wwwwwwwwwww
  89. wwwwwwwwwwww
  90.     MhButton1
  91.     MhCommand
  92. wwwwwwwwwwww
  93. wwwwwwwwwww
  94. wwwwwwwwwwww
  95.     MhButton1
  96.     MhCommand
  97. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  98. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  99. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwx
  100. wwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  101. Label2
  102. bMicroHelp's button controls have an alignment property so you can justify or center your captions.
  103. Frame1
  104. Label1
  105. Plain Buttons with Caption
  106.     MhButton1
  107.     MhCommand
  108. Left Justified
  109.     MhButton1
  110.     MhCommand
  111. Right Justified
  112.     MhButton1
  113.     MhCommand
  114. 3This button has the MultiLine property set to TRUE.
  115.     MhButton1
  116.     MhCommand
  117. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  118. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  119. fdww~fdw
  120. ffDw~fdx
  121. fdDFfd
  122. fffffH
  123. DDwwx
  124. fdGwx
  125. fdwwx
  126. dHwwx
  127. fdHww
  128. fHwwx
  129. w~fdHww
  130. w~fdww
  131. ffDw~fdwx
  132. fdDFfdw
  133. fffffGx
  134. wwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  135. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  136. Label2
  137. You can create your own bitmaps for the button controls or you can simply place and align text on plain buttons, just as we've done on "Plain Buttons with Caption".
  138. Command1
  139. !Change Between Up/Down and Toggle
  140. Command2
  141. MhButton1_Click
  142.     MhButton3
  143.     PictureUp
  144. PictureDown
  145.     MhButton4
  146. MhButton2_Click
  147. MhButton3_Click
  148.     MhButton6
  149.     MhButton5
  150. MhButton
  151. canceldn
  152. Command1_Click&
  153.     MhButton1
  154. StateButton
  155. Command2_Click
  156. Form_Click
  157.     Form_Load
  158. Command1
  159. Button
  160. Command1_Click
  161.  Toggle the states
  162. Command2_Click
  163.