home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / lang_ext / vqstrg / vqdemo.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1992-05-14  |  19.7 KB  |  222 lines

  1. Form1
  2. VqString Demonstration
  3. Form1,
  4. Frame1
  5. VqString Viewer/Editor
  6. Label2
  7. &Edit
  8. Label3
  9. &Select
  10. Text1
  11. Text2
  12. Label5
  13. Label1
  14. S&croll
  15. HScroll1    
  16. Picture1
  17. &Demonstration
  18. a    VarLenStr
  19. &Variable Length Strings
  20. b    FixLenStr
  21. &Fixed Length Strings
  22. Separator1
  23. ExitProgram
  24. E&xit
  25. &Help
  26. Contents
  27.     &Contents
  28. Search
  29. &Search
  30. Separator2
  31. About
  32. &About
  33. VqGetVarString
  34. Strng
  35. Handle]
  36. VqVarLenStr
  37. VqVarGetSize
  38.     HugeError
  39. VqGetString
  40. VqPutVarString
  41. VqPutString
  42. HScroll1_Changej
  43. HScroll1ChangeError
  44. ScrollEvent
  45. Index
  46. HScroll1O
  47. Value(
  48. VariableMode*
  49. SaveText1Text
  50. SaveHScroll1Value
  51.     FixedModeo
  52. VqFixLenStr
  53. Text1
  54. Text!
  55. Label5v
  56. Caption
  57. Text2
  58. VarLenStr_Clickz
  59. VariableDemoError
  60. Response
  61. Form1
  62. IDCANCEL
  63. Elements
  64. Bufsize
  65. MousePointer
  66.     HourGlassL
  67. Default    
  68. Frame1
  69. FixLenStr_Click
  70. FixedDemoError8
  71. StrSize
  72. ExitProgram_Click
  73. VqEraseString7
  74. About_Clicki
  75. WinFlags
  76.     Processor
  77. GetWinFlags9
  78. CRLFO
  79. WF_ENHANCEDJ
  80. GetFreeSpaceV
  81. Text2_KeyPress
  82. KeyAscii
  83. Text2_LostFocus
  84. @    Form_Load
  85. FontName
  86. FontBold
  87. False(
  88. LastControl
  89. TextOne
  90. Text1_KeyPress
  91. Text1KeyPressErrore
  92. Text1_LostFocus
  93. Text1LostFocusErrorZ
  94. Text1_KeyDown
  95. KeyCodeD
  96. Shift
  97. Text1_KeyUp
  98. HScroll1_GotFocus
  99. HScroll1GotFocusErrorw
  100. Text1_GotFocus
  101. Text2_GotFocus
  102. TextTwo
  103. Text1_Change
  104. HelpIndex_Click
  105. numData
  106. TempNum
  107. WinHelp
  108. HELP_CONTEXT
  109. Search_Click
  110. Pause
  111. Seconds
  112. Start'
  113. Finish
  114. Contents_Click
  115. HScroll
  116. Enabled
  117. VqError
  118. OutOfStringSpace
  119. VqGetVarString
  120. - Support function to get string from variable length.
  121. -  VqString array.
  122. VqPutVarString
  123. - Support function to store string in variable length.
  124. -  VqString array.
  125. - Need to append Chr$(0) to end of string.
  126. HScroll1_Change
  127. Out of string space.
  128. There is a limit of 131,072"
  129. bytes in this array.
  130. Out of String Space"
  131. Test String"
  132. Error"
  133. VarLenStr_Click
  134. A huge array of 8,192 variable length strings will be built,
  135. for a total of 129,965 bytes, with 1,107 bytes free.
  136. They will be stored in a VqString Array.
  137. Most of the time will be used by Visual Basic to build
  138. the strings.
  139. Variable Length Strings"
  140. - Initialize variable length VqString array.
  141. Can't allocate buffer"
  142. Error"
  143. - Fill variable length VqString array 
  144. Test String"
  145. x& = VqVarLenStr(Strng$, 1, 1, VqVarMemUsed)
  146. Print Str$(x&)
  147. x& = VqVarLenStr(Strng$, 1, 1, VqVarMemFree)
  148. Print Str$(x&)
  149. Variable Length Strings"
  150. Error"
  151. FixLenStr_Click
  152. A huge array of 8,192 fixed length strings will be built,"
  153. for a total of 131,072 bytes, or 128K of string space.
  154. The string length is limited to 16 characters.
  155. They will be stored in a VqString Array.
  156. Most of the time will be used by Visual Basic to build
  157. the strings.
  158. Fixed Length Strings
  159. - Initialize fixed length VqString array
  160. Can't allocate buffer"
  161. Error"
  162. - Fill fixed length VqString array
  163. Test String"
  164. Fixed Length Strings
  165. Error"
  166. ExitProgram_Click
  167. - Erase VqString arrayst
  168. About_Click
  169. -  Get current Windows configuration
  170. 386 Enhanced
  171. Standard
  172. VqString Demonstration "
  173. Vi Qual Software
  174. Version 1.0"
  175. by Robert B. Heberger"
  176. Mode: 
  177. Free Memory: "
  178. VqStrings"
  179. Text2_KeyPress
  180. Value must be between 1 and 8192
  181. VqString
  182. Text2_LostFocus
  183. Value must be between 1 and 8192
  184. VqString
  185. Form_Load
  186. Terminal
  187. Terminal
  188. Terminal
  189. Text1_KeyPress
  190. Out of string space.
  191. There is a limit of 131,072"
  192. bytes in this array.
  193. Out of String Space"
  194. Test String"
  195. Error"
  196. Text1_LostFocus
  197. Out of string space.
  198. There is a limit of 131,072"
  199. bytes in this array.
  200. Out of String Space"
  201. Test String"
  202. Error"
  203. Text1_KeyDown
  204. Text1_KeyUp
  205. HScroll1_GotFocus
  206. Out of string space.
  207. There is a limit of 131,072"
  208. bytes in this array.
  209. Out of String Space"
  210. Test String"
  211. Error"
  212. Text1_GotFocus
  213. Text2_GotFocus
  214. Text1_Change
  215. HelpIndex_Click
  216. c:\vb\hugestr\vqstring.hlp
  217. Search_Click
  218. vqstring.hlp
  219. Pause
  220. Contents_Click
  221. vqstring.hlp
  222.