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

  1. Alarm
  2. 'Demonstrates the MhAlarm Custom Control
  3. Form1
  4. Label2
  5. This custom control is really three controls: Your choice of a ringing phone, an alarm clock or a wrist alarm. You can change the "style" of the control at any time via code.
  6. Label2
  7. Another neat feature is that you can use the custom control in place of the normal Icon when your form is minimized. It's a great way to draw the user's attention when action should be taken.
  8. MhAlarm1
  9. MhIAlarm
  10. Style
  11. Phone
  12. Style
  13. Alarm Clock
  14. Style
  15. Wrist Watch
  16. VoiceOption
  17. Label1
  18. VoiceOption
  19. Label1
  20. Label3
  21. Clicking the left mouse button on the items to the left increases the value, while clicking the right button decreases the value.
  22. VoiceOption
  23. Label1
  24. Command1
  25.     Show Ring
  26. Command2
  27. Command1_Click2
  28. Timer1
  29. Enabled
  30. Timer1_Timer
  31. Pausing
  32. Interval
  33.     RingCount
  34. WhichBmp_
  35. VisiblePictureC
  36. Picturef
  37. Command2_Click
  38. Alarm%
  39. Form_Click
  40. @    Form_Load_
  41.     StartTime;
  42. ElapsedTime
  43. @    SoundTone
  44. CloseSoundy
  45. nVoice
  46. CountVoiceNotes{
  47. nVoiceQueue
  48.     OpenSoundq
  49.     S_SERDVNA
  50. S_SEROFM
  51. S_SERDSR
  52. SetSoundNoise
  53. nSourced
  54.     nDuration#
  55. S_PERIOD5121
  56. S_PERIOD1024@
  57. S_PERIOD2048O
  58. S_PERIODVOICE
  59. S_WHITE5127
  60. S_WHITE1024
  61. S_WHITE2048H
  62. S_WHITEVOICE+
  63. SetVoiceAccent
  64. nTempo
  65. nVolume
  66. nMode
  67. nPitch
  68. S_LEGATO
  69. S_NORMALb
  70. S_STACCATO
  71. S_SERDMD
  72. S_SERDTB
  73. S_SERDVL
  74.     S_SERQFUL
  75. SetVoiceNote
  76. nValue
  77. nLength'
  78. nCDots
  79. S_SERDCC
  80. S_SERDLNO
  81. S_SERDNT
  82. S_SERDTP}
  83.     S_SERBDNT
  84. StartSound
  85.     StopSound
  86. Sound
  87. SetVoiceQueueSize[
  88. nBytes$
  89.     S_SERMACT
  90. Initialized
  91. Initiali
  92. SoundStatus
  93. Queue
  94. False
  95.     InitSound
  96. CDotsF
  97. Value
  98. Length
  99. VoiceOption
  100. Caption
  101. VoiceOption_Click
  102. Index
  103.     Bmp_Click
  104. Form_Unload
  105. Cancel
  106. VisiblePicture_Click
  107. VoiceOption_MouseDown
  108. Button
  109. Shift
  110. Factort
  111.     PauseTime
  112. StyleV
  113. BmpPointer7
  114. ShowAllOptions
  115. Style_Click
  116. ShowAllValue
  117. ShowAllValues
  118. Mode_Click
  119. Phone
  120.     WhichMode
  121. Mhalarm1
  122. RingMode
  123. RingTone
  124. RingLength
  125. RingOn
  126. Form_Resize
  127. windowstate
  128. alarm1
  129. MhTrue
  130. MhFalse,
  131.  nMode% is one of:
  132. Note held for full duration and blended with nextn
  133.  Note held for full duration, with full stop before next noter
  134.  Note held for part of duration, creating pronounced stop before next.
  135. Command1_Click
  136. Command2_Click
  137. Form_Load
  138. SoundTone
  139. VoiceOption_MouseDown
  140.  Right button = down
  141.  Left button = up 
  142.  Value
  143. Tone =
  144.  Length
  145. Length =
  146.  PauseTime
  147. Pause ="
  148. ShowAllOptions
  149. Tone =
  150. Length =
  151. Pause ="
  152. Style_Click
  153. Form_Resize
  154.