home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l408 / 2.img / EXAMPLES.EXE / EXAMPLES / KEYBUFF / TEST.FRM (.txt) < prev   
Encoding:
Visual Basic Form  |  1991-05-11  |  3.8 KB  |  97 lines

  1. KeyBuffTest
  2. Text Recall
  3. System
  4. Form1
  5. Label1
  6. iWhenever you finish entering text in the textboxes below, the line of text is added to a "recall" buffer.
  7. Label1
  8. If you want to recall a line of text, simply press the F2 key, or click on the "Recall" button, and a window containing a listbox will pop up.
  9. Label1
  10. aAfter selecting the line of text that you want to use, either Click the OK button or press Enter.
  11. Label1
  12. hFor demonstration purposes, we have pre-filled the recall buffer with some lines of text you can recall.
  13. Label1
  14. Enter text here
  15. Text1
  16. System
  17. Label1
  18. Enter text here
  19. Text2
  20. System
  21. OkButton
  22. System
  23. RecallButton
  24. &Recall
  25. Label1
  26. The "Recall" button simply sends the "hotkey" keycode and shift status, along with the desired control (the one which last had focus), to the MhKeyBuff procedure.
  27. Text1
  28. Text1_Change
  29. Text1_KeyDown
  30. KeyCode
  31. Shift
  32. KeyBuffk
  33. KeyBuffListP
  34. Label1h
  35. Label2
  36. Command1
  37. Command1_Click*
  38. OkButtonp
  39. CancelButton_
  40.     MhKeyBuffD
  41. Form_KeyDown
  42. MhStoreTextf
  43. TempJ
  44. Text1_Text
  45.     KickStart
  46. Text2y
  47. Text3_KeyDown
  48. Text2_KeyDown
  49. Text2_Change
  50. Form_Click
  51. @    Form_Load
  52. Text1_LostFocus2
  53. Text2_LostFocus>
  54.     DelButton
  55. ExitSignal
  56. Command2
  57. RecallButton
  58. RecallButton_KeyDown
  59. OkButton_KeyDown
  60. OkButton_Click
  61. RecallButton_Click
  62. WhoHadFocus
  63. RecallButton_LostFocus
  64. Option1
  65. Option3_Click
  66. MhSetVBApps
  67. Option1_Click
  68. Option3
  69. MyHotkeyCode
  70. MyHotKeyShift
  71. VBAppsOnly
  72. KeyBuffTestP
  73. Text1_KeyPress
  74. KeyAscii
  75. Text2_KeyPress
  76.  These two are assigned in the Form_Load procr
  77. Text1_KeyDown
  78.  Force a LostFocus event to update buffer.
  79.  Move to other text boxF
  80. Text2_KeyDown
  81.  Force a LostFocus event to update buffer.
  82.  Move to other text box 
  83. Form_Load
  84.  Pre-fill the command line buffert
  85. Now is the time"$
  86. for all good men$
  87. to come to the$
  88. aid of their party.
  89. Text1_LostFocus
  90. Text2_LostFocus
  91. OkButton_Click
  92. RecallButton_Click
  93. Text1_KeyPress
  94.  avoid beep 
  95. Text2_KeyPress
  96.  avoid beep
  97.