home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / FOXP-WIN.300 / DISK7 / VFP7.CAB / CONTROLS.APP (.txt) < prev    next >
Encoding:
MS Visual FoxPro App  |  1995-01-11  |  1.1 MB  |  29,770 lines

  1. PLATFORM
  2. UNIQUEID
  3. TIMESTAMP
  4. CLASS
  5. CLASSLOC
  6. BASECLASS
  7. OBJNAME
  8. PARENT
  9. PROPERTIES
  10. PROTECTED
  11. METHODS
  12. OBJCODE
  13. COMMENT
  14. RESERVED1
  15. RESERVED2
  16. RESERVED3
  17. RESERVED4
  18. RESERVED5
  19. RESERVED6
  20. RESERVED7
  21. RESERVED8
  22. RESERVED9
  23. RESERVED10
  24.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QU00NVYGJ 493772965        17                  18        19                  20                                                                              31                                                                                           WINDOWS _QUE0R0UDD 495937268        23                  24        25        26        27                                                                                                                                                                           WINDOWS _QSL0U0FSW 495937268        32                  33        34                  35                  42       769                                                                                                                                             WINDOWS _QUM0J99BF 495221026        69                  70        71        72        73                                                                                                                                                                           WINDOWS _QUM0J99DM 495221026        77                  78        79        80        81                                                                                                                                                                           WINDOWS _QSM0JLVTA 495221026        86                  87        88        89        90                                                                                                                                                                           WINDOWS _QSM0Q827C 495221645        96                  97        98        99       100                                                                                                                                                                           WINDOWS _QSL0U0FVY 495221645       106                 107       108       109       110                 163       783                                                                                                                                             WINDOWS _QSL0U0GEA 495221645       249                 250       251       252       253                 262       827                                                                                                                                             WINDOWS _QTN0J5UN6 495221646       273                 274       275       276       277                 285       836                                                                                                                                             WINDOWS _QTW0UMLLN 495221749       324                 325       326       327       328                 333       857                                                                                                                                             WINDOWS _QUF0GCRVB 495221749       350                 351       352       353       354                 359       868                                                                                                                                             WINDOWS _QUF0GGO3X 495221749       376       377       378       379       380       383                                                         381                                                                                                               COMMENT FONTINFO                                                                     387                                                                                                                                                                          
  25. VERSION =  0.028
  26. dataenvironment
  27. dataenvironment
  28. Datanavigation
  29. ILeft = 49
  30. Top = 84
  31. Width = 589
  32. Height = 292
  33. Name = "Datanavigation"
  34. cursor
  35. cursor
  36. Cursor1
  37. Datanavigation.
  38. qLeft = 20
  39. Top = 10
  40. Width = 106
  41. Height = 126
  42. Alias = "objsamp"
  43. CursorSource = objsamp.dbf
  44. Name = "Cursor1"
  45. ScaleMode = 3
  46. ShowTips = .T.
  47. Top = 91
  48. Left = 20
  49. Height = 299
  50. Width = 601
  51. AutoCenter = .T.
  52. BackColor = 192,192,192
  53. Caption = "Using FoxPro Controls"
  54. WindowState = 0
  55. DefButton = DefButton
  56. Name = "main"
  57. uPROCEDURE Activate
  58. #define HOME_DIR_LOC "\samples\controls"
  59. set default to (sys(2004) + HOME_DIR_LOC)
  60. SELECT OBJSAMP
  61. ENDPROC
  62. PROCEDURE Destroy
  63. CLEAR EVENTS
  64. CLOSE DATABASE
  65. ENDPROC
  66. PROCEDURE Load
  67. #define DATA_LOC "samples\data\testdata"
  68. #define WHERE_LOC "Where is testdata?"
  69. OPEN DATABASE LOCFILE((SYS(2004) + DATA_LOC) , ;
  70.     "DBC", WHERE_LOC)
  71. ENDPROC
  72. \samples\controls
  73. OBJSAMP
  74. samples\data\testdata
  75. Where is testdata?
  76. Activate,
  77. Destroyg
  78. Loadx
  79. c:\vfp\samples\controls\
  80. 54875789.tmp
  81. c:\vfp\samples\controls\54875789.tmp
  82. label
  83. label
  84. Label1
  85. main.
  86. xBackColor = 192,192,192
  87. Caption = "Show Examples For:"
  88. Height = 19
  89. Left = 28
  90. Top = 3
  91. Width = 142
  92. Name = "Label1"
  93. label
  94. label
  95. Label2
  96. main.
  97. AutoSize = .T.
  98. BackColor = 192,192,192
  99. Caption = "Examples:"
  100. Height = 16
  101. Left = 256
  102. Top = 4
  103. Width = 66
  104. Name = "Label2"
  105. label
  106. label
  107. lblDblClick
  108. main.
  109. BackColor = 192,192,192
  110. BackStyle = 1
  111. Caption = "Double-click the Details box to resize it"
  112. Height = 15
  113. Left = 108
  114. Top = 279
  115. Visible = .F.
  116. Width = 253
  117. Name = "lblDblClick"
  118. label
  119. label
  120. lblDetails
  121. main.
  122. AutoSize = .T.
  123. BackColor = 192,192,192
  124. Caption = "Description of the Selected Example:"
  125. Height = 16
  126. Left = 28
  127. Top = 176
  128. Width = 235
  129. Name = "lblDetails"
  130. optiongroup
  131. optiongroup
  132. opgAreas
  133. main.
  134. ButtonCount = 7
  135. BackColor = 192,192,192
  136. BorderStyle = 1
  137. Caption = "Optiongroup1"
  138. Value = 7
  139. Height = 150
  140. Left = 22
  141. SpecialEffect = 0
  142. Top = 24
  143. Width = 217
  144. Name = "opgAreas"
  145. Option1.BackColor = 192,192,192
  146. Option1.Caption = "\<Objects and Events"
  147. Option1.Value = 0
  148. Option1.Height = 18
  149. Option1.Left = 13
  150. Option1.SpecialEffect = 0
  151. Option1.Top = 25
  152. Option1.Width = 145
  153. Option1.Name = "optObjects"
  154. Option2.BackColor = 192,192,192
  155. Option2.Caption = "\<List and Combo Boxes"
  156. Option2.Value = 0
  157. Option2.Height = 18
  158. Option2.Left = 13
  159. Option2.SpecialEffect = 0
  160. Option2.Top = 45
  161. Option2.Width = 168
  162. Option2.Name = "optList"
  163. Option3.BackColor = 192,192,192
  164. Option3.Caption = "\<Timer"
  165. Option3.Value = 0
  166. Option3.Height = 18
  167. Option3.Left = 13
  168. Option3.SpecialEffect = 0
  169. Option3.Top = 65
  170. Option3.Width = 63
  171. Option3.Name = "optTimer"
  172. Option4.BackColor = 192,192,192
  173. Option4.Caption = "\<Grid"
  174. Option4.Value = 0
  175. Option4.Height = 18
  176. Option4.Left = 13
  177. Option4.SpecialEffect = 0
  178. Option4.Top = 85
  179. Option4.Width = 52
  180. Option4.Name = "optGrid"
  181. Option5.BackColor = 192,192,192
  182. Option5.Caption = "\<Page Frame and Pages"
  183. Option5.Value = 0
  184. Option5.Height = 18
  185. Option5.Left = 13
  186. Option5.SpecialEffect = 0
  187. Option5.Top = 105
  188. Option5.Width = 175
  189. Option5.Name = "optPageFrame"
  190. Option6.BackColor = 192,192,192
  191. Option6.Caption = "\<Form Graphics"
  192. Option6.Value = 0
  193. Option6.Height = 18
  194. Option6.Left = 13
  195. Option6.SpecialEffect = 0
  196. Option6.Top = 125
  197. Option6.Width = 118
  198. Option6.Name = "optFormGraphics"
  199. Option7.AutoSize = .T.
  200. Option7.BackColor = 192,192,192
  201. Option7.Caption = "\<All Controls"
  202. Option7.Value = 1
  203. Option7.Height = 24
  204. Option7.Left = 13
  205. Option7.Top = 2
  206. Option7.Width = 99
  207. Option7.Name = "optAll"
  208. 5PROCEDURE optObjects.Click
  209. SELECT objsamp
  210. SET FILTER TO area = "Objects"
  211. GO TOP
  212. THISFORM.lstOptions.Requery
  213. THISFORM.REFRESH
  214. ENDPROC
  215. PROCEDURE optList.Click
  216. SELECT objsamp
  217. SET FILTER TO area = "List"
  218. GO TOP
  219. *THISFORM.lstOptions.Requery
  220. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  221. ThisForm.REFRESH
  222. ENDPROC
  223. PROCEDURE optTimer.Click
  224. SELECT objsamp
  225. SET FILTER TO area = "Timer"
  226. GO TOP
  227. *THISFORM.lstOptions.Requery
  228. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  229. ThisForm.REFRESH
  230. ENDPROC
  231. PROCEDURE optGrid.Click
  232. SELECT objsamp
  233. SET FILTER TO area = "Grid"
  234. GO TOP
  235. *THISFORM.lstOptions.Requery
  236. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  237. ThisForm.REFRESH
  238. ENDPROC
  239. PROCEDURE optPageFrame.Click
  240. SELECT objsamp
  241. SET FILTER TO area = "Frame"
  242. GO TOP
  243. *THISFORM.lstOptions.Requery
  244. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  245. ThisForm.REFRESH
  246. ENDPROC
  247. PROCEDURE optFormGraphics.Click
  248. SELECT objsamp
  249. SET FILTER TO area = "Graphics"
  250. GO TOP
  251. *THISFORM.lstOptions.Requery
  252. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  253. ThisForm.REFRESH
  254. ENDPROC
  255. PROCEDURE optAll.Click
  256. SELECT objsamp
  257. SET FILTER TO
  258. GO TOP
  259. *THISFORM.lstOptions.Requery
  260. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  261. ThisForm.REFRESH
  262. ENDPROC
  263. Objects
  264. OBJSAMP
  265. THISFORM
  266. LSTOPTIONS
  267. REQUERY
  268. REFRESHE
  269. OBJSAMP
  270. THISFORM
  271. LSTOPTIONS    
  272. ROWSOURCE
  273. REFRESHF
  274. Timer
  275. OBJSAMP
  276. THISFORM
  277. LSTOPTIONS    
  278. ROWSOURCE
  279. REFRESHE
  280. OBJSAMP
  281. THISFORM
  282. LSTOPTIONS    
  283. ROWSOURCE
  284. REFRESHF
  285. Frame
  286. OBJSAMP
  287. THISFORM
  288. LSTOPTIONS    
  289. ROWSOURCE
  290. REFRESHI
  291. Graphics
  292. OBJSAMP
  293. THISFORM
  294. LSTOPTIONS    
  295. ROWSOURCE
  296. REFRESH8
  297. OBJSAMP
  298. THISFORM
  299. LSTOPTIONS    
  300. ROWSOURCE
  301. REFRESH
  302. optObjects.Click,
  303. optList.Click
  304. optTimer.Click%
  305. optGrid.Click
  306. optPageFrame.Click*
  307. optFormGraphics.Click
  308. optAll.Click3
  309. c:\vfp\samples\controls\
  310. 54875789.tmp
  311. c:\vfp\samples\controls\54875789.tmp
  312. listbox
  313. listbox
  314. lstOptions
  315. main.
  316. RowSourceType = 6
  317. RowSource = "objsamp.feature"
  318. ControlSource = "objsamp.feature"
  319. Height = 150
  320. Left = 252
  321. Top = 24
  322. Width = 330
  323. SelectedItemForeColor = 255,255,255
  324. SelectedItemBackColor = 0,0,160
  325. BorderColor = 0,0,0
  326. ColorSource = 0
  327. Name = "lstOptions"
  328. 8PROCEDURE InteractiveChange
  329. ThisForm.REFRESH
  330. ENDPROC
  331. THISFORM
  332. REFRESH
  333. InteractiveChange,
  334. c:\vfp\samples\controls\
  335. 54875789.tmp
  336. c:\vfp\samples\controls\54875789.tmp
  337. editbox
  338. editbox
  339. edtDetails
  340. main.
  341. BackColor = 192,192,192
  342. BorderStyle = 1
  343. Enabled = .T.
  344. ForeColor = 0,0,0
  345. Height = 83
  346. Left = 22
  347. ScrollBars = 2
  348. SelLength = 0
  349. SelStart = 0
  350. Top = 192
  351. Width = 445
  352. ColorSource = 3
  353. Value = 
  354. ControlSource = "objsamp.described"
  355. Name = "edtDetails"
  356. ,PROCEDURE DblClick
  357. #define EXPAND_TOP_LOC 1
  358. #define EXPAND_HT_LOC 275
  359. #define NORMAL_TOP_LOC 193
  360. #define NORMAL_HT_LOC 83
  361. Thisform.LockScreen = .T.
  362. IF THIS.Top = NORMAL_TOP_LOC
  363.     THIS.Height = EXPAND_HT_LOC
  364.     THIS.Top = EXPAND_TOP_LOC
  365.     ThisForm.lstOptions.Visible = .F.
  366.     THIS.Height = NORMAL_HT_LOC
  367.     THIS.Top = NORMAL_TOP_LOC
  368.     ThisForm.lstOptions.Visible = .T.
  369. ENDIF
  370. ThisForm.LockScreen = .F.
  371. ENDPROC
  372. PROCEDURE GotFocus
  373. ThisForm.lblDblClick.Visible = .T.
  374. ENDPROC
  375. PROCEDURE LostFocus
  376. Thisform.lblDblClick.Visible = .F.
  377. ENDPROC
  378. THISFORM
  379. LOCKSCREEN
  380. HEIGHT
  381. LSTOPTIONS
  382. VISIBLE
  383. THISFORM
  384. LBLDBLCLICK
  385. VISIBLE
  386. THISFORM
  387. LBLDBLCLICK
  388. VISIBLE
  389. DblClick,
  390. GotFocus
  391. LostFocusH
  392. c:\vfp\samples\controls\
  393. 54875789.tmp
  394. c:\vfp\samples\controls\54875789.tmp
  395. commandbutton
  396. commandbutton
  397. cmdSee
  398. main.
  399. Top = 192
  400. Left = 480
  401. Height = 26
  402. Width = 94
  403. Caption = "\<See Example"
  404. ToolTipText = "Modify the Form or Program"
  405. Name = "cmdSee"
  406. PROCEDURE Click
  407. cFile = ALLTRIM(path) + "\" + ALLTRIM(file)
  408. IF form && form is a logical field in objsamp.dbf
  409.     MODIFY FORM (cFile)
  410.     MODIFY COMMAND (cFile)
  411. ENDIF
  412. ENDPROC
  413. CFILE
  414. Click,
  415. c:\vfp\samples\controls\
  416. 54875789.tmp
  417. c:\vfp\samples\controls\54875789.tmp
  418. commandbutton
  419. commandbutton
  420. cmdRun
  421. main.
  422. Top = 220
  423. Left = 480
  424. Height = 26
  425. Width = 94
  426. Caption = "\<Run Example"
  427. ToolTipText = "Run the Form or Program"
  428. Name = "cmdRun"
  429. PROCEDURE Click
  430. THISFORM.HIDE
  431. SET DEFAULT TO (path)
  432. IF form && form is a logical field in objsamp.dbf
  433.     DO FORM (file)
  434.     DO (File)
  435. ENDIF
  436. ENDPROC
  437. THISFORM
  438. Click,
  439. c:\vfp\samples\controls\
  440. 54875789.tmp
  441. c:\vfp\samples\controls\54875789.tmp
  442. cmdok
  443. buttons.vcx
  444. commandbutton
  445. Cmdok1
  446. main.
  447.  RELEASE THISFORM, default button
  448. qTop = 248
  449. Left = 480
  450. Height = 26
  451. Width = 94
  452. Default = .F.
  453. ToolTipText = "Close this Form"
  454. Name = "Cmdok1"
  455. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  456. VERSION =  0.028
  457. dataenvironment
  458. dataenvironment
  459. Datanavigation
  460. ILeft = 49
  461. Top = 84
  462. Width = 589
  463. Height = 292
  464. Name = "Datanavigation"
  465. cursor
  466. cursor
  467. Cursor1
  468. Datanavigation
  469. qLeft = 20
  470. Top = 10
  471. Width = 106
  472. Height = 126
  473. Alias = "objsamp"
  474. CursorSource = objsamp.dbf
  475. Name = "Cursor1"
  476. ScaleMode = 3
  477. ShowTips = .T.
  478. Top = 24
  479. Left = 68
  480. Height = 299
  481. Width = 601
  482. AutoCenter = .T.
  483. BackColor = 192,192,192
  484. Caption = "Using FoxPro Controls"
  485. WindowState = 0
  486. DefButton = DefButton
  487. Name = "main"
  488. PROCEDURE Activate
  489. #define HOME_DIR_LOC "\samples\controls"
  490. set default to (sys(2004) + HOME_DIR_LOC)
  491. SELECT OBJSAMP
  492. ENDPROC
  493. ENDPROC
  494. ENDPROC
  495. PROCEDURE Destroy
  496. CLEAR EVENTS
  497. CLOSE DATABASE
  498. ENDPROC
  499. ENDPROC
  500. ENDPROC
  501. PROCEDURE Load
  502. #define DATA_LOC "samples\data\testdata"
  503. #define WHERE_LOC "Where is testdata?"
  504. OPEN DATABASE LOCFILE((SYS(2004) + DATA_LOC) , ;
  505.     "DBC", WHERE_LOC)
  506. ENDPROC
  507. ENDPROC
  508. ENDPROC
  509. \samples\controls
  510. OBJSAMP
  511. samples\data\testdata
  512. Where is testdata?
  513. Activate,
  514. Destroyg
  515. Loadx
  516. c:\vfp\samples\controls\
  517. main.scx
  518. c:\vfp\samples\controls\main.scx
  519. label
  520. label
  521. Label1
  522. xBackColor = 192,192,192
  523. Caption = "Show Examples For:"
  524. Height = 19
  525. Left = 28
  526. Top = 3
  527. Width = 142
  528. Name = "Label1"
  529. label
  530. label
  531. Label2
  532. AutoSize = .T.
  533. BackColor = 192,192,192
  534. Caption = "Examples:"
  535. Height = 16
  536. Left = 256
  537. Top = 4
  538. Width = 66
  539. Name = "Label2"
  540. label
  541. label
  542. lblDblClick
  543. BackColor = 192,192,192
  544. BackStyle = 1
  545. Caption = "Double-click the Details box to resize it"
  546. Height = 15
  547. Left = 108
  548. Top = 279
  549. Visible = .F.
  550. Width = 253
  551. Name = "lblDblClick"
  552. label
  553. label
  554. lblDetails
  555. AutoSize = .T.
  556. BackColor = 192,192,192
  557. Caption = "Description of the Selected Example:"
  558. Height = 16
  559. Left = 28
  560. Top = 176
  561. Width = 235
  562. Name = "lblDetails"
  563. optiongroup
  564. optiongroup
  565. opgAreas
  566. ButtonCount = 7
  567. BackColor = 192,192,192
  568. BorderStyle = 1
  569. Caption = "Optiongroup1"
  570. Value = 7
  571. Height = 150
  572. Left = 22
  573. SpecialEffect = 0
  574. Top = 24
  575. Width = 217
  576. Name = "opgAreas"
  577. Option1.BackColor = 192,192,192
  578. Option1.Caption = "\<Objects and Events"
  579. Option1.Value = 0
  580. Option1.Height = 18
  581. Option1.Left = 13
  582. Option1.SpecialEffect = 0
  583. Option1.Top = 25
  584. Option1.Width = 145
  585. Option1.Name = "optObjects"
  586. Option2.BackColor = 192,192,192
  587. Option2.Caption = "\<List and Combo Boxes"
  588. Option2.Value = 0
  589. Option2.Height = 18
  590. Option2.Left = 13
  591. Option2.SpecialEffect = 0
  592. Option2.Top = 45
  593. Option2.Width = 168
  594. Option2.Name = "optList"
  595. Option3.BackColor = 192,192,192
  596. Option3.Caption = "\<Timer"
  597. Option3.Value = 0
  598. Option3.Height = 18
  599. Option3.Left = 13
  600. Option3.SpecialEffect = 0
  601. Option3.Top = 65
  602. Option3.Width = 63
  603. Option3.Name = "optTimer"
  604. Option4.BackColor = 192,192,192
  605. Option4.Caption = "\<Grid"
  606. Option4.Value = 0
  607. Option4.Height = 18
  608. Option4.Left = 13
  609. Option4.SpecialEffect = 0
  610. Option4.Top = 85
  611. Option4.Width = 52
  612. Option4.Name = "optGrid"
  613. Option5.BackColor = 192,192,192
  614. Option5.Caption = "\<Page Frame and Pages"
  615. Option5.Value = 0
  616. Option5.Height = 18
  617. Option5.Left = 13
  618. Option5.SpecialEffect = 0
  619. Option5.Top = 105
  620. Option5.Width = 175
  621. Option5.Name = "optPageFrame"
  622. Option6.BackColor = 192,192,192
  623. Option6.Caption = "\<Form Graphics"
  624. Option6.Value = 0
  625. Option6.Height = 18
  626. Option6.Left = 13
  627. Option6.SpecialEffect = 0
  628. Option6.Top = 125
  629. Option6.Width = 118
  630. Option6.Name = "optFormGraphics"
  631. Option7.AutoSize = .T.
  632. Option7.BackColor = 192,192,192
  633. Option7.Caption = "\<All Controls"
  634. Option7.Value = 1
  635. Option7.Height = 24
  636. Option7.Left = 13
  637. Option7.Top = 2
  638. Option7.Width = 99
  639. Option7.Name = "optAll"
  640. PROCEDURE optObjects.Click
  641. SELECT objsamp
  642. SET FILTER TO area = "Objects"
  643. GO TOP
  644. THISFORM.lstOptions.Requery
  645. THISFORM.REFRESH
  646. ENDPROC
  647. ENDPROC
  648. ENDPROC
  649. PROCEDURE optList.Click
  650. SELECT objsamp
  651. SET FILTER TO area = "List"
  652. GO TOP
  653. *THISFORM.lstOptions.Requery
  654. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  655. ThisForm.REFRESH
  656. ENDPROC
  657. ENDPROC
  658. ENDPROC
  659. PROCEDURE optTimer.Click
  660. SELECT objsamp
  661. SET FILTER TO area = "Timer"
  662. GO TOP
  663. *THISFORM.lstOptions.Requery
  664. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  665. ThisForm.REFRESH
  666. ENDPROC
  667. ENDPROC
  668. ENDPROC
  669. PROCEDURE optGrid.Click
  670. SELECT objsamp
  671. SET FILTER TO area = "Grid"
  672. GO TOP
  673. *THISFORM.lstOptions.Requery
  674. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  675. ThisForm.REFRESH
  676. ENDPROC
  677. ENDPROC
  678. ENDPROC
  679. PROCEDURE optPageFrame.Click
  680. SELECT objsamp
  681. SET FILTER TO area = "Frame"
  682. GO TOP
  683. *THISFORM.lstOptions.Requery
  684. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  685. ThisForm.REFRESH
  686. ENDPROC
  687. ENDPROC
  688. ENDPROC
  689. PROCEDURE optFormGraphics.Click
  690. SELECT objsamp
  691. SET FILTER TO area = "Graphics"
  692. GO TOP
  693. *THISFORM.lstOptions.Requery
  694. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  695. ThisForm.REFRESH
  696. ENDPROC
  697. ENDPROC
  698. ENDPROC
  699. PROCEDURE optAll.Click
  700. SELECT objsamp
  701. SET FILTER TO
  702. GO TOP
  703. *THISFORM.lstOptions.Requery
  704. THISFORM.lstOptions.RowSource = THISFORM.lstOptions.RowSource
  705. ThisForm.REFRESH
  706. ENDPROC
  707. ENDPROC
  708. ENDPROC
  709. Objects
  710. OBJSAMP
  711. THISFORM
  712. LSTOPTIONS
  713. REQUERY
  714. REFRESHE
  715. OBJSAMP
  716. THISFORM
  717. LSTOPTIONS    
  718. ROWSOURCE
  719. REFRESHF
  720. Timer
  721. OBJSAMP
  722. THISFORM
  723. LSTOPTIONS    
  724. ROWSOURCE
  725. REFRESHE
  726. OBJSAMP
  727. THISFORM
  728. LSTOPTIONS    
  729. ROWSOURCE
  730. REFRESHF
  731. Frame
  732. OBJSAMP
  733. THISFORM
  734. LSTOPTIONS    
  735. ROWSOURCE
  736. REFRESHI
  737. Graphics
  738. OBJSAMP
  739. THISFORM
  740. LSTOPTIONS    
  741. ROWSOURCE
  742. REFRESH8
  743. OBJSAMP
  744. THISFORM
  745. LSTOPTIONS    
  746. ROWSOURCE
  747. REFRESH
  748. optObjects.Click,
  749. optList.Click
  750. optTimer.Click%
  751. optGrid.Click
  752. optPageFrame.Click*
  753. optFormGraphics.Click
  754. optAll.Click3
  755. c:\vfp\samples\controls\
  756. main.scx
  757. c:\vfp\samples\controls\main.scx
  758. listbox
  759. listbox
  760. lstOptions
  761. RowSourceType = 6
  762. RowSource = "objsamp.feature"
  763. ControlSource = "objsamp.feature"
  764. Height = 150
  765. Left = 252
  766. Top = 24
  767. Width = 330
  768. SelectedItemForeColor = 255,255,255
  769. SelectedItemBackColor = 0,0,160
  770. BorderColor = 0,0,0
  771. ColorSource = 0
  772. Name = "lstOptions"
  773. JPROCEDURE InteractiveChange
  774. ThisForm.REFRESH
  775. ENDPROC
  776. ENDPROC
  777. ENDPROC
  778. THISFORM
  779. REFRESH
  780. InteractiveChange,
  781. c:\vfp\samples\controls\
  782. main.scx
  783. c:\vfp\samples\controls\main.scx
  784. editbox
  785. editbox
  786. edtDetails
  787. BackColor = 192,192,192
  788. BorderStyle = 1
  789. Value =
  790. ControlSource = "objsamp.described"
  791. Enabled = .T.
  792. ForeColor = 0,0,0
  793. Height = 83
  794. Left = 22
  795. ScrollBars = 2
  796. SelLength = 0
  797. SelStart = 0
  798. Top = 192
  799. Width = 445
  800. ColorSource = 3
  801. Name = "edtDetails"
  802. bPROCEDURE DblClick
  803. #define EXPAND_TOP_LOC 1
  804. #define EXPAND_HT_LOC 275
  805. #define NORMAL_TOP_LOC 193
  806. #define NORMAL_HT_LOC 83
  807. Thisform.LockScreen = .T.
  808. IF THIS.Top = NORMAL_TOP_LOC
  809.     THIS.Height = EXPAND_HT_LOC
  810.     THIS.Top = EXPAND_TOP_LOC
  811.     ThisForm.lstOptions.Visible = .F.
  812.     THIS.Height = NORMAL_HT_LOC
  813.     THIS.Top = NORMAL_TOP_LOC
  814.     ThisForm.lstOptions.Visible = .T.
  815. ENDIF
  816. ThisForm.LockScreen = .F.
  817. ENDPROC
  818. ENDPROC
  819. ENDPROC
  820. PROCEDURE GotFocus
  821. ThisForm.lblDblClick.Visible = .T.
  822. ENDPROC
  823. ENDPROC
  824. ENDPROC
  825. PROCEDURE LostFocus
  826. Thisform.lblDblClick.Visible = .F.
  827. ENDPROC
  828. ENDPROC
  829. ENDPROC
  830. THISFORM
  831. LOCKSCREEN
  832. HEIGHT
  833. LSTOPTIONS
  834. VISIBLE
  835. THISFORM
  836. LBLDBLCLICK
  837. VISIBLE
  838. THISFORM
  839. LBLDBLCLICK
  840. VISIBLE
  841. DblClick,
  842. GotFocus
  843. LostFocusH
  844. c:\vfp\samples\controls\
  845. main.scx
  846. c:\vfp\samples\controls\main.scx
  847. commandbutton
  848. commandbutton
  849. cmdSee
  850. Top = 192
  851. Left = 480
  852. Height = 26
  853. Width = 94
  854. Caption = "\<See Example"
  855. ToolTipText = "Modify the Form or Program"
  856. Name = "cmdSee"
  857. PROCEDURE Click
  858. cFile = ALLTRIM(path) + "\" + ALLTRIM(file)
  859. IF form && form is a logical field in objsamp.dbf
  860.     MODIFY FORM (cFile)
  861.     MODIFY COMMAND (cFile)
  862. ENDIF
  863. ENDPROC
  864. ENDPROC
  865. ENDPROC
  866. CFILE
  867. Click,
  868. c:\vfp\samples\controls\
  869. main.scx
  870. c:\vfp\samples\controls\main.scx
  871. commandbutton
  872. commandbutton
  873. cmdRun
  874. Top = 220
  875. Left = 480
  876. Height = 26
  877. Width = 94
  878. Caption = "\<Run Example"
  879. ToolTipText = "Run the Form or Program"
  880. Name = "cmdRun"
  881. PROCEDURE Click
  882. THISFORM.HIDE
  883. SET DEFAULT TO (path)
  884. IF form && form is a logical field in objsamp.dbf
  885.     DO FORM (file)
  886.     DO (File)
  887. ENDIF
  888. ENDPROC
  889. ENDPROC
  890. ENDPROC
  891. THISFORM
  892. Click,
  893. c:\vfp\samples\controls\
  894. main.scx
  895. c:\vfp\samples\controls\main.scx
  896. cmdok
  897. buttons.vcx
  898. commandbutton
  899. Cmdok1
  900. qTop = 248
  901. Left = 480
  902. Height = 26
  903. Width = 94
  904. Default = .F.
  905. ToolTipText = "Close this Form"
  906. Name = "Cmdok1"
  907.  RELEASE THISFORM, default button
  908. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  909. \samples\controls
  910. OBJSAMP
  911. samples\data\testdata
  912. Where is testdata?
  913. Activate,
  914. Destroyg
  915. Loadx
  916. c:\vfp\samples\controls\
  917. main.scx
  918. c:\vfp\samples\controls\main.scx
  919. Objects
  920. OBJSAMP
  921. THISFORM
  922. LSTOPTIONS
  923. REQUERY
  924. REFRESHE
  925. OBJSAMP
  926. THISFORM
  927. LSTOPTIONS    
  928. ROWSOURCE
  929. REFRESHF
  930. Timer
  931. OBJSAMP
  932. THISFORM
  933. LSTOPTIONS    
  934. ROWSOURCE
  935. REFRESHE
  936. OBJSAMP
  937. THISFORM
  938. LSTOPTIONS    
  939. ROWSOURCE
  940. REFRESHF
  941. Frame
  942. OBJSAMP
  943. THISFORM
  944. LSTOPTIONS    
  945. ROWSOURCE
  946. REFRESHI
  947. Graphics
  948. OBJSAMP
  949. THISFORM
  950. LSTOPTIONS    
  951. ROWSOURCE
  952. REFRESH8
  953. OBJSAMP
  954. THISFORM
  955. LSTOPTIONS    
  956. ROWSOURCE
  957. REFRESH
  958. optObjects.Click,
  959. optList.Click
  960. optTimer.Click%
  961. optGrid.Click
  962. optPageFrame.Click*
  963. optFormGraphics.Click
  964. optAll.Click3
  965. c:\vfp\samples\controls\
  966. main.scx
  967. c:\vfp\samples\controls\main.scx
  968. THISFORM
  969. REFRESH
  970. InteractiveChange,
  971. c:\vfp\samples\controls\
  972. main.scx
  973. c:\vfp\samples\controls\main.scx
  974. THISFORM
  975. LOCKSCREEN
  976. HEIGHT
  977. LSTOPTIONS
  978. VISIBLE
  979. THISFORM
  980. LBLDBLCLICK
  981. VISIBLE
  982. THISFORM
  983. LBLDBLCLICK
  984. VISIBLE
  985. DblClick,
  986. GotFocus
  987. LostFocusH
  988. c:\vfp\samples\controls\
  989. main.scx
  990. c:\vfp\samples\controls\main.scx
  991. CFILE
  992. Click,
  993. c:\vfp\samples\controls\
  994. main.scx
  995. c:\vfp\samples\controls\main.scx
  996. THISFORM
  997. Click,
  998. c:\vfp\samples\controls\
  999. main.scx
  1000. c:\vfp\samples\controls\main.scx
  1001. PLATFORM
  1002. UNIQUEID
  1003. TIMESTAMP
  1004. CLASS
  1005. CLASSLOC
  1006. BASECLASS
  1007. OBJNAME
  1008. PARENT
  1009. PROPERTIES
  1010. PROTECTED
  1011. METHODS
  1012. OBJCODE
  1013. COMMENT
  1014. RESERVED1
  1015. RESERVED2
  1016. RESERVED3
  1017. RESERVED4
  1018. RESERVED5
  1019. RESERVED6
  1020. RESERVED7
  1021. RESERVED8
  1022. RESERVED9
  1023. RESERVED10
  1024.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QTU0OX7J6 493773858         9                  10        11                  12                                                                              14                                                                                           WINDOWS _QV40QWFQK 495222188        15                  16        17        18        19                                                                                                                                                                           WINDOWS _QTU0NFY5J 495222188        22                  23        24                  25                  29       589                                                                                                                                             WINDOWS _QTH0QYAC3 495222188        37                  38        39        40        41                  44       599                                                                                                                                             WINDOWS _QTF18V4P3 495222188        49                  50        51        52        53                                                                                                                                                                           WINDOWS _QTF1AWYR8 495222188        60                  61        62        63        64                  78       608                                                                                                                                             WINDOWS _QTF1AWYS2 495222188        82                  83        84        85        86                 102       617                                                                                                                                             WINDOWS _QTF1AWYU0 495222188       112                 113       114       115       116                                                                                                                                                                           WINDOWS _QTF1AWYW0 495222188       119                 120       121       122       123                 138       633                                                                                                                                             WINDOWS _QTF1AWYWE 495222188       148                 149       150       151       152                                                                                                                                                                           WINDOWS _QTF1AWYYD 495222188       155                 156       157       158       159                 174       649                                                                                                                                             WINDOWS _QTF1AWZ17 495222188       179                 180       181       182       183                 197       658                                                                                                                                             WINDOWS _QTF1AWZ33 495222188       201                 202       203       204       205                 219       667                                                                                                                                             WINDOWS _QTF1AWZ4Q 495222188       223                 224       225       226       227                                                                                                                                                                           WINDOWS _QTF1AWZ53 495222188       230                 231       232       233       234                                                                                                                                                                           WINDOWS _QTF1AWZ5G 495222188       237                 238       239       240       241                                                                                                                                                                           WINDOWS _QTF1AWYYR 495222188       244                 245       246       247       248                                                                                                                                                                           WINDOWS _QTF1AWZ0T 492404217       251                 252       253       254       255                 270       675                                                                                                                                             WINDOWS _QTH0QF615 491941425       281                 282       283       284       285                 295       691                                                                                                                                             WINDOWS _QTH0QF61Z 491941425       298                 299       300       301       302                 312       698                                                                                                                                             WINDOWS _QTH0QF62T 491941425       315                 316       317       318       319                 329       705                                                                                                                                             WINDOWS _QTH0Q4V7O 491941425       332                 333       334       335       336                 346       712                                                                                                                                             WINDOWS _QTH0Q2I5R 491941425       349                 350       351       352       353                 363       719                                                                                                                                             WINDOWS _QTH0QEWHV 491941425       366                 367       368       369       370                                                                                                                                                                           WINDOWS _QTH0QEWH1 491941425       373                 374       375       376       377                                                                                                                                                                           WINDOWS _QTH0QEWIP 491941425       380                 381       382       383       384                                                                                                                                                                           WINDOWS _QTF1AWZ5T 491941425       387                 388       389       390       391                                                                                                                                                                           WINDOWS _QTH0QF66P 491941425       394                 395       396       397       398                                                                                                                                                                           WINDOWS _QTH0QF66Z 492404217       401                 402       403       404       405                                                                                                                                                                           WINDOWS _QTU0VHTEP 495222189       408                 409       410       411       412                 416       726                                                                                                                                             WINDOWS _QUD0TMTSD 491941425       421                 422       423       424       425                                                                                                                                                                           WINDOWS _QTH0QRT5T 495222189       429                 430       431       432       433                 436       734                                                                                                                                             COMMENT FONTINFO           0                                                         438                                                                                                                                                                          
  1025. VERSION =  0.028
  1026. dataenvironment
  1027. dataenvironment
  1028. Datanavigation
  1029. JLeft = 37
  1030. Top = 118
  1031. Width = 615
  1032. Height = 326
  1033. Name = "Datanavigation"
  1034. cursor
  1035. cursor
  1036. Cursor1
  1037. Datanavigation
  1038. Left = 20
  1039. Top = 10
  1040. Width = 98
  1041. Height = 108
  1042. Alias = "customer"
  1043. Database = ..\..\data\testdata.dbc
  1044. CursorSource = "customer"
  1045. Name = "Cursor1"
  1046. frmgridproperties
  1047. ScaleMode = 3
  1048. FontName = "MS Sans Serif"
  1049. Top = 139
  1050. Left = 189
  1051. Height = 323
  1052. Width = 422
  1053. AutoCenter = .T.
  1054. BackColor = 192,192,192
  1055. Caption = "Modify the Grid's Properties"
  1056. DataSession = 2
  1057. WindowState = 0
  1058. Name = "frmgridproperties"
  1059. PROCEDURE Load
  1060. public array field_names(1)
  1061. public header_val_temp
  1062. public header_val
  1063. public combo_val
  1064. public num_records
  1065. num_records = afields(table_used)
  1066. dime field_names ( num_records )
  1067. for i = 1 to num_records
  1068.     field_names(i) = table_used(i,1)
  1069. endfor
  1070. ENDPROC
  1071. PROCEDURE Unload
  1072. * If this form is run from main.scx in controls.app,
  1073. * the hidden form object, main, is made visible when
  1074. * this form is unloaded
  1075. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  1076.     main.show
  1077. ENDIF
  1078. ENDPROC
  1079. grdModifyMe
  1080. frmgridproperties
  1081. ColumnCount = -1
  1082. FontName = "MS Sans Serif"
  1083. FontSize = 8
  1084. BackColor = 255,255,255
  1085. Height = 260
  1086. Left = 12
  1087. RecordSource = "customer"
  1088. Top = 12
  1089. Width = 193
  1090. Name = "grdModifyMe"
  1091. %PROCEDURE Init
  1092. thisform.grdModifyMe.columncount = num_records
  1093. for y = 1 to num_records
  1094.     field_name = field_names(y)
  1095.     change_header_caption = "thisform.grdModifyMe.column" + alltrim(str(y)) + ".header1.caption = " + "field_name"
  1096.     &change_header_caption
  1097. endfor
  1098. thisform.refresh
  1099. ENDPROC
  1100.     pageframe
  1101.     pageframe
  1102. pgfProperties
  1103. frmgridproperties
  1104. ErasePage = .T.
  1105. PageCount = 3
  1106. Top = 12
  1107. Left = 216
  1108. Height = 260
  1109. Width = 193
  1110. Name = "pgfProperties"
  1111. Page1.FontName = "MS Sans Serif"
  1112. Page1.Caption = "Properties I"
  1113. Page1.Name = "pagPropertiesI"
  1114. Page2.FontName = "MS Sans Serif"
  1115. Page2.Caption = "Properties II"
  1116. Page2.Name = "pagPropertiesII"
  1117. Page3.FontName = "MS Sans Serif"
  1118. Page3.FontSize = 8
  1119. Page3.Caption = "Properties III"
  1120. Page3.Name = "pagPropertiesIII"
  1121. optiongroup
  1122. optiongroup
  1123. opgGridLnWidth
  1124. .frmgridproperties.pgfProperties.pagPropertiesI
  1125. WButtonCount = 3
  1126. BackColor = 192,192,192
  1127. Caption = "Optiongroup4"
  1128. Height = 72
  1129. Left = 96
  1130. Top = 82
  1131. Width = 85
  1132. Name = "opgGridLnWidth"
  1133. Option1.FontName = "MS Sans Serif"
  1134. Option1.FontSize = 8
  1135. Option1.BackColor = 192,192,192
  1136. Option1.Caption = "One"
  1137. Option1.Height = 15
  1138. Option1.Left = 22
  1139. Option1.Style = 0
  1140. Option1.Top = 18
  1141. Option1.Width = 52
  1142. Option1.Name = "optOne"
  1143. Option2.FontName = "MS Sans Serif"
  1144. Option2.FontSize = 8
  1145. Option2.BackColor = 192,192,192
  1146. Option2.Caption = "Five"
  1147. Option2.Height = 15
  1148. Option2.Left = 22
  1149. Option2.Style = 0
  1150. Option2.Top = 35
  1151. Option2.Width = 49
  1152. Option2.Name = "optFive"
  1153. Option3.FontName = "MS Sans Serif"
  1154. Option3.FontSize = 8
  1155. Option3.BackColor = 192,192,192
  1156. Option3.Caption = "Ten"
  1157. Option3.Height = 15
  1158. Option3.Left = 22
  1159. Option3.Style = 0
  1160. Option3.Top = 52
  1161. Option3.Width = 52
  1162. Option3.Name = "optTen"
  1163. PROCEDURE optOne.Click
  1164. thisform.grdModifyMe.gridlinewidth = 1
  1165. ENDPROC
  1166. PROCEDURE optFive.Click
  1167. thisform.grdModifyMe.gridlinewidth = 5
  1168. ENDPROC
  1169. PROCEDURE optTen.Click
  1170. thisform.grdModifyMe.gridlinewidth = 10
  1171. ENDPROC
  1172. optiongroup
  1173. optiongroup
  1174. opgForeColor
  1175. .frmgridproperties.pgfProperties.pagPropertiesI
  1176. ButtonCount = 3
  1177. BackColor = 192,192,192
  1178. Caption = "Optiongroup1"
  1179. Height = 72
  1180. Left = 11
  1181. Top = 10
  1182. Width = 85
  1183. Name = "opgForeColor"
  1184. Option1.FontName = "MS Sans Serif"
  1185. Option1.FontSize = 8
  1186. Option1.BackColor = 192,192,192
  1187. Option1.BackStyle = 0
  1188. Option1.Caption = "Red"
  1189. Option1.ForeColor = 255,0,0
  1190. Option1.Height = 15
  1191. Option1.Left = 16
  1192. Option1.Style = 0
  1193. Option1.Top = 19
  1194. Option1.Width = 45
  1195. Option1.Name = "optRed"
  1196. Option2.FontName = "MS Sans Serif"
  1197. Option2.FontSize = 8
  1198. Option2.BackColor = 192,192,192
  1199. Option2.Caption = "Green"
  1200. Option2.ForeColor = 0,255,0
  1201. Option2.Height = 15
  1202. Option2.Left = 16
  1203. Option2.Style = 0
  1204. Option2.Top = 36
  1205. Option2.Width = 58
  1206. Option2.Name = "optGreen"
  1207. Option3.FontName = "MS Sans Serif"
  1208. Option3.FontSize = 8
  1209. Option3.BackColor = 192,192,192
  1210. Option3.Caption = "Blue"
  1211. Option3.ForeColor = 0,0,255
  1212. Option3.Height = 15
  1213. Option3.Left = 16
  1214. Option3.Style = 0
  1215. Option3.Top = 53
  1216. Option3.Width = 51
  1217. Option3.Name = "optBlue"
  1218. sPROCEDURE optRed.Click
  1219. for x = 1 to num_records
  1220.     column_forecolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".forecolor = rgb( 255, 0, 0 )"
  1221.     &column_forecolor
  1222. endfor
  1223. thisform.refresh
  1224. ENDPROC
  1225. PROCEDURE optGreen.Click
  1226. for x = 1 to num_records
  1227.     column_forecolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".forecolor = rgb( 0, 255, 0 )"
  1228.     &column_forecolor
  1229. endfor
  1230. thisform.refresh
  1231. ENDPROC
  1232. PROCEDURE optBlue.Click
  1233. for x = 1 to num_records
  1234.     column_forecolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".forecolor = rgb( 0, 0, 255 )"
  1235.     &column_forecolor
  1236. endfor
  1237. thisform.refresh
  1238. ENDPROC
  1239. label
  1240. label
  1241. lblForeColor
  1242. .frmgridproperties.pgfProperties.pagPropertiesI
  1243. FontName = "MS Sans Serif"
  1244. FontSize = 8
  1245. BackColor = 192,192,192
  1246. Caption = "ForeColor:"
  1247. Height = 13
  1248. Left = 13
  1249. Top = 12
  1250. Width = 73
  1251. Name = "lblForeColor"
  1252. optiongroup
  1253. optiongroup
  1254. opgBackColor
  1255. .frmgridproperties.pgfProperties.pagPropertiesI
  1256. ButtonCount = 3
  1257. BackColor = 192,192,192
  1258. Caption = "Optiongroup1"
  1259. Height = 72
  1260. Left = 96
  1261. Top = 10
  1262. Width = 85
  1263. Name = "opgBackColor"
  1264. Option1.FontName = "MS Sans Serif"
  1265. Option1.FontSize = 8
  1266. Option1.BackColor = 192,192,192
  1267. Option1.Caption = "Red"
  1268. Option1.ForeColor = 255,0,0
  1269. Option1.Height = 15
  1270. Option1.Left = 20
  1271. Option1.Style = 0
  1272. Option1.Top = 19
  1273. Option1.Width = 45
  1274. Option1.Name = "optRed"
  1275. Option2.FontName = "MS Sans Serif"
  1276. Option2.FontSize = 8
  1277. Option2.BackColor = 192,192,192
  1278. Option2.Caption = "Green"
  1279. Option2.ForeColor = 0,255,0
  1280. Option2.Height = 15
  1281. Option2.Left = 20
  1282. Option2.Style = 0
  1283. Option2.Top = 36
  1284. Option2.Width = 58
  1285. Option2.Name = "optGreen"
  1286. Option3.FontName = "MS Sans Serif"
  1287. Option3.FontSize = 8
  1288. Option3.BackColor = 192,192,192
  1289. Option3.Caption = "Blue"
  1290. Option3.ForeColor = 0,0,255
  1291. Option3.Height = 15
  1292. Option3.Left = 20
  1293. Option3.Style = 0
  1294. Option3.Top = 53
  1295. Option3.Width = 51
  1296. Option3.Name = "optBlue"
  1297. sPROCEDURE optRed.Click
  1298. for x = 1 to num_records
  1299.     column_backcolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".backcolor = rgb( 255, 0, 0 )"
  1300.     &column_backcolor
  1301. endfor
  1302. thisform.refresh
  1303. ENDPROC
  1304. PROCEDURE optGreen.Click
  1305. for x = 1 to num_records
  1306.     column_backcolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".backcolor = rgb( 0, 255, 0 )"
  1307.     &column_backcolor
  1308. endfor
  1309. thisform.refresh
  1310. ENDPROC
  1311. PROCEDURE optBlue.Click
  1312. for x = 1 to num_records
  1313.     column_backcolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".backcolor = rgb( 0, 0, 255 )"
  1314.     &column_backcolor
  1315. endfor
  1316. thisform.refresh
  1317. ENDPROC
  1318. label
  1319. label
  1320. lblBackColor
  1321. .frmgridproperties.pgfProperties.pagPropertiesI
  1322. FontName = "MS Sans Serif"
  1323. FontSize = 8
  1324. BackColor = 192,192,192
  1325. Caption = "BackColor:"
  1326. Height = 13
  1327. Left = 98
  1328. Top = 12
  1329. Width = 73
  1330. Name = "lblBackColor"
  1331. optiongroup
  1332. optiongroup
  1333. opgGridLineColor
  1334. .frmgridproperties.pgfProperties.pagPropertiesI
  1335. ButtonCount = 3
  1336. BackColor = 192,192,192
  1337. Caption = "Optiongroup3"
  1338. Height = 72
  1339. Left = 11
  1340. Top = 82
  1341. Width = 85
  1342. Name = "opgGridLineColor"
  1343. Option1.FontName = "MS Sans Serif"
  1344. Option1.FontSize = 8
  1345. Option1.BackColor = 192,192,192
  1346. Option1.Caption = "Red"
  1347. Option1.ForeColor = 255,0,0
  1348. Option1.Height = 15
  1349. Option1.Left = 16
  1350. Option1.Style = 0
  1351. Option1.Top = 19
  1352. Option1.Width = 53
  1353. Option1.Name = "optRed"
  1354. Option2.FontName = "MS Sans Serif"
  1355. Option2.FontSize = 8
  1356. Option2.BackColor = 192,192,192
  1357. Option2.Caption = "Green"
  1358. Option2.ForeColor = 0,255,0
  1359. Option2.Height = 15
  1360. Option2.Left = 16
  1361. Option2.Style = 0
  1362. Option2.Top = 36
  1363. Option2.Width = 57
  1364. Option2.Name = "optGreen"
  1365. Option3.FontName = "MS Sans Serif"
  1366. Option3.FontSize = 8
  1367. Option3.BackColor = 192,192,192
  1368. Option3.Caption = "Blue"
  1369. Option3.ForeColor = 0,0,255
  1370. Option3.Height = 15
  1371. Option3.Left = 16
  1372. Option3.Style = 0
  1373. Option3.Top = 53
  1374. Option3.Width = 46
  1375. Option3.Name = "optBlue"
  1376. PROCEDURE optRed.Click
  1377. thisform.grdModifyMe.gridlinecolor = rgb ( 255, 0, 0 )
  1378. ENDPROC
  1379. PROCEDURE optGreen.Click
  1380. thisform.grdModifyMe.gridlinecolor = rgb ( 0, 255, 0 )
  1381. ENDPROC
  1382. PROCEDURE optBlue.Click
  1383. thisform.grdModifyMe.gridlinecolor = rgb ( 0, 0, 255 )
  1384. ENDPROC
  1385. optiongroup
  1386. optiongroup
  1387. opgHeaderHeight
  1388. .frmgridproperties.pgfProperties.pagPropertiesI
  1389. QButtonCount = 3
  1390. BackColor = 192,192,192
  1391. Caption = "Optiongroup5"
  1392. Height = 72
  1393. Left = 11
  1394. Top = 154
  1395. Width = 85
  1396. Name = "opgHeaderHeight"
  1397. Option1.FontName = "MS Sans Serif"
  1398. Option1.FontSize = 8
  1399. Option1.BackColor = 192,192,192
  1400. Option1.Caption = "16"
  1401. Option1.Height = 15
  1402. Option1.Left = 16
  1403. Option1.Style = 0
  1404. Option1.Top = 17
  1405. Option1.Width = 40
  1406. Option1.Name = "opt16"
  1407. Option2.FontName = "MS Sans Serif"
  1408. Option2.FontSize = 8
  1409. Option2.BackColor = 192,192,192
  1410. Option2.Caption = "25"
  1411. Option2.Height = 15
  1412. Option2.Left = 16
  1413. Option2.Style = 0
  1414. Option2.Top = 34
  1415. Option2.Width = 40
  1416. Option2.Name = "opt25"
  1417. Option3.FontName = "MS Sans Serif"
  1418. Option3.FontSize = 8
  1419. Option3.BackColor = 192,192,192
  1420. Option3.Caption = "50"
  1421. Option3.Height = 15
  1422. Option3.Left = 16
  1423. Option3.Style = 0
  1424. Option3.Top = 51
  1425. Option3.Width = 40
  1426. Option3.Name = "opt50"
  1427. PROCEDURE opt16.Click
  1428. thisform.grdModifyMe.headerheight = 16
  1429. ENDPROC
  1430. PROCEDURE opt25.Click
  1431. thisform.grdModifyMe.headerheight = 25
  1432. ENDPROC
  1433. PROCEDURE opt50.Click
  1434. thisform.grdModifyMe.headerheight = 50
  1435. ENDPROC
  1436. optiongroup
  1437. optiongroup
  1438. opgGridHeight
  1439. .frmgridproperties.pgfProperties.pagPropertiesI
  1440. MButtonCount = 3
  1441. BackColor = 192,192,192
  1442. Caption = "Optiongroup6"
  1443. Height = 72
  1444. Left = 96
  1445. Top = 154
  1446. Width = 85
  1447. Name = "opgGridHeight"
  1448. Option1.FontName = "MS Sans Serif"
  1449. Option1.FontSize = 8
  1450. Option1.BackColor = 192,192,192
  1451. Option1.Caption = "20"
  1452. Option1.Height = 15
  1453. Option1.Left = 24
  1454. Option1.Style = 0
  1455. Option1.Top = 17
  1456. Option1.Width = 38
  1457. Option1.Name = "opt20"
  1458. Option2.FontName = "MS Sans Serif"
  1459. Option2.FontSize = 8
  1460. Option2.BackColor = 192,192,192
  1461. Option2.Caption = "10"
  1462. Option2.Height = 15
  1463. Option2.Left = 24
  1464. Option2.Style = 0
  1465. Option2.Top = 34
  1466. Option2.Width = 37
  1467. Option2.Name = "opt10"
  1468. Option3.FontName = "MS Sans Serif"
  1469. Option3.FontSize = 8
  1470. Option3.BackColor = 192,192,192
  1471. Option3.Caption = "5"
  1472. Option3.Height = 15
  1473. Option3.Left = 24
  1474. Option3.Style = 0
  1475. Option3.Top = 51
  1476. Option3.Width = 38
  1477. Option3.Name = "opt5"
  1478. PROCEDURE opt20.Click
  1479. thisform.grdModifyMe.height = 20
  1480. ENDPROC
  1481. PROCEDURE opt10.Click
  1482. thisform.grdModifyMe.height = 10
  1483. ENDPROC
  1484. PROCEDURE opt5.Click
  1485. thisform.grdModifyMe.height = 5
  1486. ENDPROC
  1487. label
  1488. label
  1489. lblGridLineColor
  1490. .frmgridproperties.pgfProperties.pagPropertiesI
  1491. FontName = "MS Sans Serif"
  1492. FontSize = 8
  1493. BackColor = 192,192,192
  1494. Caption = "GridLineColor:"
  1495. Height = 13
  1496. Left = 13
  1497. Top = 84
  1498. Width = 82
  1499. Name = "lblGridLineColor"
  1500. label
  1501. label
  1502. lblHeaderHeight
  1503. .frmgridproperties.pgfProperties.pagPropertiesI
  1504. FontName = "MS Sans Serif"
  1505. FontSize = 8
  1506. Alignment = 1
  1507. BackColor = 192,192,192
  1508. Caption = "HeadrHeight:"
  1509. Height = 13
  1510. Left = 14
  1511. Top = 156
  1512. Width = 75
  1513. Name = "lblHeaderHeight"
  1514. label
  1515. label
  1516. lblGridHeight
  1517. .frmgridproperties.pgfProperties.pagPropertiesI
  1518. FontName = "MS Sans Serif"
  1519. FontSize = 8
  1520. BackColor = 192,192,192
  1521. Caption = "GridHeight:"
  1522. Height = 13
  1523. Left = 98
  1524. Top = 156
  1525. Width = 71
  1526. Name = "lblGridHeight"
  1527. label
  1528. label
  1529. lblGridLnWidth
  1530. .frmgridproperties.pgfProperties.pagPropertiesI
  1531. FontName = "MS Sans Serif"
  1532. FontSize = 8
  1533. BackColor = 192,192,192
  1534. Caption = "GridLnWidth:"
  1535. Height = 13
  1536. Left = 98
  1537. Top = 84
  1538. Width = 71
  1539. Name = "lblGridLnWidth"
  1540. optiongroup
  1541. optiongroup
  1542. opgColumns
  1543. /frmgridproperties.pgfProperties.pagPropertiesII
  1544. ButtonCount = 3
  1545. BackColor = 192,192,192
  1546. Caption = "Optiongroup6"
  1547. Height = 72
  1548. Left = 96
  1549. Top = 154
  1550. Width = 85
  1551. Name = "opgColumns"
  1552. Option1.FontName = "MS Sans Serif"
  1553. Option1.FontSize = 8
  1554. Option1.BackColor = 192,192,192
  1555. Option1.Caption = "Red"
  1556. Option1.ForeColor = 255,0,0
  1557. Option1.Height = 15
  1558. Option1.Left = 25
  1559. Option1.Style = 0
  1560. Option1.Top = 18
  1561. Option1.Width = 71
  1562. Option1.Name = "optRed"
  1563. Option2.FontName = "MS Sans Serif"
  1564. Option2.FontSize = 8
  1565. Option2.BackColor = 192,192,192
  1566. Option2.Caption = "Green"
  1567. Option2.ForeColor = 0,255,0
  1568. Option2.Height = 15
  1569. Option2.Left = 25
  1570. Option2.Style = 0
  1571. Option2.Top = 35
  1572. Option2.Width = 71
  1573. Option2.Name = "optGreen"
  1574. Option3.FontName = "MS Sans Serif"
  1575. Option3.FontSize = 8
  1576. Option3.BackColor = 192,192,192
  1577. Option3.Caption = "Blue"
  1578. Option3.ForeColor = 0,0,255
  1579. Option3.Height = 18
  1580. Option3.Left = 25
  1581. Option3.Top = 51
  1582. Option3.Width = 75
  1583. Option3.Name = "optBlue"
  1584. PROCEDURE optRed.Click
  1585. for x = 1 to num_records
  1586.     column_forecolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".header1.forecolor = rgb( 255, 0, 0 )"
  1587.     &column_forecolor
  1588. endfor
  1589. thisform.refresh
  1590. ENDPROC
  1591. PROCEDURE optGreen.Click
  1592. for x = 1 to num_records
  1593.     column_forecolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".header1.forecolor = rgb( 0, 255, 0 )"
  1594.     &column_forecolor
  1595. endfor
  1596. thisform.refresh
  1597. ENDPROC
  1598. PROCEDURE optBlue.Click
  1599. for x = 1 to num_records
  1600.     column_forecolor = "thisform.grdModifyMe.column" + alltrim(str(x)) + ".header1.forecolor = rgb( 0, 0, 255 )"
  1601.     &column_forecolor
  1602. endfor
  1603. thisform.refresh
  1604. ENDPROC
  1605. optiongroup
  1606. optiongroup
  1607. opgHightLight
  1608. /frmgridproperties.pgfProperties.pagPropertiesII
  1609. eButtonCount = 2
  1610. BackColor = 192,192,192
  1611. Caption = "Optiongroup5"
  1612. Height = 72
  1613. Left = 11
  1614. Top = 154
  1615. Width = 85
  1616. Name = "opgHightLight"
  1617. Option1.FontName = "MS Sans Serif"
  1618. Option1.FontSize = 8
  1619. Option1.BackColor = 192,192,192
  1620. Option1.Caption = "On"
  1621. Option1.Height = 15
  1622. Option1.Left = 25
  1623. Option1.Style = 0
  1624. Option1.Top = 23
  1625. Option1.Width = 71
  1626. Option1.Name = "optOn"
  1627. Option2.FontName = "MS Sans Serif"
  1628. Option2.FontSize = 8
  1629. Option2.BackColor = 192,192,192
  1630. Option2.Caption = "Off"
  1631. Option2.Height = 15
  1632. Option2.Left = 25
  1633. Option2.Style = 0
  1634. Option2.Top = 40
  1635. Option2.Width = 71
  1636. Option2.Name = "optOff"
  1637. PROCEDURE optOn.Click
  1638. thisform.grdModifyMe.highlight = 1
  1639. ENDPROC
  1640. PROCEDURE optOff.Click
  1641. thisform.grdModifyMe.highlight = 0
  1642. ENDPROC
  1643. optiongroup
  1644. optiongroup
  1645. opgScrollBars
  1646. /frmgridproperties.pgfProperties.pagPropertiesII
  1647. dButtonCount = 2
  1648. BackColor = 192,192,192
  1649. Caption = "Optiongroup1"
  1650. Height = 71
  1651. Left = 96
  1652. Top = 83
  1653. Width = 85
  1654. Name = "opgScrollBars"
  1655. Option1.FontName = "MS Sans Serif"
  1656. Option1.FontSize = 8
  1657. Option1.BackColor = 192,192,192
  1658. Option1.Caption = "On"
  1659. Option1.Height = 15
  1660. Option1.Left = 23
  1661. Option1.Style = 0
  1662. Option1.Top = 21
  1663. Option1.Width = 71
  1664. Option1.Name = "optOn"
  1665. Option2.FontName = "MS Sans Serif"
  1666. Option2.FontSize = 8
  1667. Option2.BackColor = 192,192,192
  1668. Option2.Caption = "Off"
  1669. Option2.Height = 15
  1670. Option2.Left = 23
  1671. Option2.Style = 0
  1672. Option2.Top = 38
  1673. Option2.Width = 71
  1674. Option2.Name = "optOff"
  1675. PROCEDURE optOn.Click
  1676. thisform.grdModifyMe.scrollbars = 3
  1677. ENDPROC
  1678. PROCEDURE optOff.Click
  1679. thisform.grdModifyMe.scrollbars = 0
  1680. ENDPROC
  1681. optiongroup
  1682. optiongroup
  1683. opgPartition
  1684. /frmgridproperties.pgfProperties.pagPropertiesII
  1685. cButtonCount = 2
  1686. BackColor = 192,192,192
  1687. Caption = "Optiongroup3"
  1688. Height = 71
  1689. Left = 11
  1690. Top = 83
  1691. Width = 85
  1692. Name = "opgPartition"
  1693. Option1.FontName = "MS Sans Serif"
  1694. Option1.FontSize = 8
  1695. Option1.BackColor = 192,192,192
  1696. Option1.Caption = "On"
  1697. Option1.Height = 15
  1698. Option1.Left = 24
  1699. Option1.Style = 0
  1700. Option1.Top = 20
  1701. Option1.Width = 71
  1702. Option1.Name = "optOn"
  1703. Option2.FontName = "MS Sans Serif"
  1704. Option2.FontSize = 8
  1705. Option2.BackColor = 192,192,192
  1706. Option2.Caption = "Off"
  1707. Option2.Height = 15
  1708. Option2.Left = 24
  1709. Option2.Style = 0
  1710. Option2.Top = 37
  1711. Option2.Width = 71
  1712. Option2.Name = "optOff"
  1713. PROCEDURE optOn.Click
  1714. thisform.grdModifyMe.partition = 100
  1715. ENDPROC
  1716. PROCEDURE optOff.Click
  1717. thisform.grdModifyMe.partition = 0
  1718. ENDPROC
  1719. optiongroup
  1720. optiongroup
  1721. opgDeleteMark
  1722. /frmgridproperties.pgfProperties.pagPropertiesII
  1723. dButtonCount = 2
  1724. BackColor = 192,192,192
  1725. Caption = "Optiongroup2"
  1726. Height = 73
  1727. Left = 96
  1728. Top = 10
  1729. Width = 85
  1730. Name = "opgDeleteMark"
  1731. Option1.FontName = "MS Sans Serif"
  1732. Option1.FontSize = 8
  1733. Option1.BackColor = 192,192,192
  1734. Option1.Caption = "On"
  1735. Option1.Height = 15
  1736. Option1.Left = 23
  1737. Option1.Style = 0
  1738. Option1.Top = 24
  1739. Option1.Width = 71
  1740. Option1.Name = "optOn"
  1741. Option2.FontName = "MS Sans Serif"
  1742. Option2.FontSize = 8
  1743. Option2.BackColor = 192,192,192
  1744. Option2.Caption = "Off"
  1745. Option2.Height = 15
  1746. Option2.Left = 23
  1747. Option2.Style = 0
  1748. Option2.Top = 41
  1749. Option2.Width = 71
  1750. Option2.Name = "optOff"
  1751. PROCEDURE optOn.Click
  1752. thisform.grdModifyMe.deletemark = 1
  1753. ENDPROC
  1754. PROCEDURE optOff.Click
  1755. thisform.grdModifyMe.deletemark = 0
  1756. ENDPROC
  1757. optiongroup
  1758. optiongroup
  1759. opgRecordMark
  1760. /frmgridproperties.pgfProperties.pagPropertiesII
  1761. dButtonCount = 2
  1762. BackColor = 192,192,192
  1763. Caption = "Optiongroup1"
  1764. Height = 73
  1765. Left = 11
  1766. Top = 10
  1767. Width = 85
  1768. Name = "opgRecordMark"
  1769. Option1.FontName = "MS Sans Serif"
  1770. Option1.FontSize = 8
  1771. Option1.BackColor = 192,192,192
  1772. Option1.Caption = "On"
  1773. Option1.Height = 15
  1774. Option1.Left = 23
  1775. Option1.Style = 0
  1776. Option1.Top = 24
  1777. Option1.Width = 42
  1778. Option1.Name = "optOn"
  1779. Option2.FontName = "MS Sans Serif"
  1780. Option2.FontSize = 8
  1781. Option2.BackColor = 192,192,192
  1782. Option2.Caption = "Off"
  1783. Option2.Height = 15
  1784. Option2.Left = 23
  1785. Option2.Style = 0
  1786. Option2.Top = 41
  1787. Option2.Width = 42
  1788. Option2.Name = "optOff"
  1789. PROCEDURE optOn.Click
  1790. thisform.grdModifyMe.recordmark = 1
  1791. ENDPROC
  1792. PROCEDURE optOff.Click
  1793. thisform.grdModifyMe.recordmark = 0
  1794. ENDPROC
  1795. label
  1796. label
  1797. lblRecordMark
  1798. /frmgridproperties.pgfProperties.pagPropertiesII
  1799. FontName = "MS Sans Serif"
  1800. FontSize = 8
  1801. BackColor = 192,192,192
  1802. Caption = "RecordMark:"
  1803. Height = 13
  1804. Left = 15
  1805. Top = 12
  1806. Width = 73
  1807. Name = "lblRecordMark"
  1808. label
  1809. label
  1810. lblDeleteMark
  1811. /frmgridproperties.pgfProperties.pagPropertiesII
  1812. FontName = "MS Sans Serif"
  1813. FontSize = 8
  1814. BackColor = 192,192,192
  1815. Caption = "DeleteMark:"
  1816. Height = 13
  1817. Left = 99
  1818. Top = 12
  1819. Width = 73
  1820. Name = "lblDeleteMark"
  1821. label
  1822. label
  1823. lblPartition
  1824. /frmgridproperties.pgfProperties.pagPropertiesII
  1825. FontName = "MS Sans Serif"
  1826. FontSize = 8
  1827. BackColor = 192,192,192
  1828. Caption = "Partition:"
  1829. Height = 13
  1830. Left = 14
  1831. Top = 85
  1832. Width = 61
  1833. Name = "lblPartition"
  1834. label
  1835. label
  1836. lblScrollBars
  1837. /frmgridproperties.pgfProperties.pagPropertiesII
  1838. FontName = "MS Sans Serif"
  1839. FontSize = 8
  1840. BackColor = 192,192,192
  1841. Caption = "ScrollBars:"
  1842. Height = 13
  1843. Left = 100
  1844. Top = 85
  1845. Width = 61
  1846. Name = "lblScrollBars"
  1847. label
  1848. label
  1849. lblHighLight
  1850. /frmgridproperties.pgfProperties.pagPropertiesII
  1851. FontName = "MS Sans Serif"
  1852. FontSize = 8
  1853. BackColor = 192,192,192
  1854. Caption = "HighLight:"
  1855. Height = 13
  1856. Left = 15
  1857. Top = 157
  1858. Width = 73
  1859. Name = "lblHighLight"
  1860. label
  1861. label
  1862. lblColumns
  1863. /frmgridproperties.pgfProperties.pagPropertiesII
  1864. FontName = "MS Sans Serif"
  1865. FontSize = 8
  1866. BackColor = 192,192,192
  1867. Caption = "HeaderColor:"
  1868. Height = 13
  1869. Left = 99
  1870. Top = 157
  1871. Width = 75
  1872. Name = "lblColumns"
  1873. combobox
  1874. combobox
  1875. cboFieldNames
  1876. 0frmgridproperties.pgfProperties.pagPropertiesIII
  1877. FontName = "MS Sans Serif"
  1878. FontSize = 8
  1879. RowSourceType = 8
  1880. RowSource = "customer"
  1881. ControlSource = ""
  1882. Height = 25
  1883. Left = 36
  1884. Style = 2
  1885. Top = 109
  1886. Width = 121
  1887. Name = "cboFieldNames"
  1888. PROCEDURE InteractiveChange
  1889. combo_val = alltrim(thisform.pgfProperties.pagPropertiesIII.cboFieldNames.value)
  1890. thisform.grdModifyMe.column1.controlsource = combo_val
  1891. thisform.grdModifyMe.column1.header1.caption = combo_val
  1892. thisform.refresh
  1893. ENDPROC
  1894. label
  1895. label
  1896. lblFieldName
  1897. 0frmgridproperties.pgfProperties.pagPropertiesIII
  1898. FontName = "MS Sans Serif"
  1899. FontSize = 8
  1900. Alignment = 2
  1901. BackColor = 192,192,192
  1902. Caption = "Select a new DataSource for the left most column in the Grid."
  1903. Height = 49
  1904. Left = 24
  1905. Top = 49
  1906. Width = 145
  1907. Name = "lblFieldName"
  1908. commandbutton
  1909. commandbutton
  1910. cmdQuit
  1911. frmgridproperties
  1912. Top = 288
  1913. Left = 252
  1914. Height = 25
  1915. Width = 121
  1916. FontName = "MS Sans Serif"
  1917. FontSize = 8
  1918. Caption = "Quit"
  1919. Name = "cmdQuit"
  1920. ;PROCEDURE Click
  1921. thisform.hide
  1922. release thisform
  1923. ENDPROC
  1924. )MS Sans Serif, 1, 8, 6, 13, 11, 12, 2, 0
  1925. FIELD_NAMES
  1926. HEADER_VAL_TEMP
  1927. HEADER_VAL    
  1928. COMBO_VAL
  1929. NUM_RECORDS
  1930. TABLE_USED
  1931. mainb
  1932. Load,
  1933. Unload
  1934. c:\vfp\samples\controls\grid\
  1935. grd_prp.scx
  1936. c:\vfp\samples\controls\grid\grd_prp.scx
  1937. thisform.grdModifyMe.columnCC
  1938. .header1.caption = 
  1939. field_name
  1940. &change_header_caption
  1941. THISFORM
  1942. GRDMODIFYME
  1943. COLUMNCOUNT
  1944. NUM_RECORDS
  1945. FIELD_NAME
  1946. FIELD_NAMES
  1947. CHANGE_HEADER_CAPTION
  1948. REFRESH
  1949. Init,
  1950. c:\vfp\samples\controls\grid\
  1951. grd_prp.scx
  1952. c:\vfp\samples\controls\grid\grd_prp.scx
  1953. THISFORM
  1954. GRDMODIFYME
  1955. GRIDLINEWIDTH
  1956. THISFORM
  1957. GRDMODIFYME
  1958. GRIDLINEWIDTH
  1959. THISFORM
  1960. GRDMODIFYME
  1961. GRIDLINEWIDTH
  1962. optOne.Click,
  1963. optFive.Clickl
  1964. optTen.Click
  1965. c:\vfp\samples\controls\grid\
  1966. grd_prp.scx
  1967. c:\vfp\samples\controls\grid\grd_prp.scx
  1968. thisform.grdModifyMe.columnCC
  1969. .forecolor = rgb( 255, 0, 0 )
  1970. &column_forecolor
  1971. NUM_RECORDS
  1972. COLUMN_FORECOLOR
  1973. THISFORM
  1974. REFRESH
  1975. thisform.grdModifyMe.columnCC
  1976. .forecolor = rgb( 0, 255, 0 )
  1977. &column_forecolor
  1978. NUM_RECORDS
  1979. COLUMN_FORECOLOR
  1980. THISFORM
  1981. REFRESH
  1982. thisform.grdModifyMe.columnCC
  1983. .forecolor = rgb( 0, 0, 255 )
  1984. &column_forecolor
  1985. NUM_RECORDS
  1986. COLUMN_FORECOLOR
  1987. THISFORM
  1988. REFRESH
  1989. optRed.Click,
  1990. optGreen.Click
  1991. optBlue.Click
  1992. c:\vfp\samples\controls\grid\
  1993. grd_prp.scx
  1994. c:\vfp\samples\controls\grid\grd_prp.scx
  1995. thisform.grdModifyMe.columnCC
  1996. .backcolor = rgb( 255, 0, 0 )
  1997. &column_backcolor
  1998. NUM_RECORDS
  1999. COLUMN_BACKCOLOR
  2000. THISFORM
  2001. REFRESH
  2002. thisform.grdModifyMe.columnCC
  2003. .backcolor = rgb( 0, 255, 0 )
  2004. &column_backcolor
  2005. NUM_RECORDS
  2006. COLUMN_BACKCOLOR
  2007. THISFORM
  2008. REFRESH
  2009. thisform.grdModifyMe.columnCC
  2010. .backcolor = rgb( 0, 0, 255 )
  2011. &column_backcolor
  2012. NUM_RECORDS
  2013. COLUMN_BACKCOLOR
  2014. THISFORM
  2015. REFRESH
  2016. optRed.Click,
  2017. optGreen.Click
  2018. optBlue.Click
  2019. c:\vfp\samples\controls\grid\
  2020. grd_prp.scx
  2021. c:\vfp\samples\controls\grid\grd_prp.scx
  2022. THISFORM
  2023. GRDMODIFYME
  2024. GRIDLINECOLOR
  2025. THISFORM
  2026. GRDMODIFYME
  2027. GRIDLINECOLOR
  2028. THISFORM
  2029. GRDMODIFYME
  2030. GRIDLINECOLOR
  2031. optRed.Click,
  2032. optGreen.Clicku
  2033. optBlue.Click
  2034. c:\vfp\samples\controls\grid\
  2035. grd_prp.scx
  2036. c:\vfp\samples\controls\grid\grd_prp.scx
  2037. THISFORM
  2038. GRDMODIFYME
  2039. HEADERHEIGHT
  2040. THISFORM
  2041. GRDMODIFYME
  2042. HEADERHEIGHT
  2043. THISFORM
  2044. GRDMODIFYME
  2045. HEADERHEIGHT
  2046. opt16.Click,
  2047. opt25.Clickk
  2048. opt50.Click
  2049. c:\vfp\samples\controls\grid\
  2050. grd_prp.scx
  2051. c:\vfp\samples\controls\grid\grd_prp.scx
  2052. THISFORM
  2053. GRDMODIFYME
  2054. HEIGHT
  2055. THISFORM
  2056. GRDMODIFYME
  2057. HEIGHT
  2058. THISFORM
  2059. GRDMODIFYME
  2060. HEIGHT
  2061. opt20.Click,
  2062. opt10.Clicke
  2063. opt5.Click
  2064. c:\vfp\samples\controls\grid\
  2065. grd_prp.scx
  2066. c:\vfp\samples\controls\grid\grd_prp.scx
  2067. thisform.grdModifyMe.columnCC
  2068. .header1.forecolor = rgb( 255, 0, 0 )
  2069. &column_forecolor
  2070. NUM_RECORDS
  2071. COLUMN_FORECOLOR
  2072. THISFORM
  2073. REFRESH
  2074. thisform.grdModifyMe.columnCC
  2075. .header1.forecolor = rgb( 0, 255, 0 )
  2076. &column_forecolor
  2077. NUM_RECORDS
  2078. COLUMN_FORECOLOR
  2079. THISFORM
  2080. REFRESH
  2081. thisform.grdModifyMe.columnCC
  2082. .header1.forecolor = rgb( 0, 0, 255 )
  2083. &column_forecolor
  2084. NUM_RECORDS
  2085. COLUMN_FORECOLOR
  2086. THISFORM
  2087. REFRESH
  2088. optRed.Click,
  2089. optGreen.Click
  2090. optBlue.Click
  2091. c:\vfp\samples\controls\grid\
  2092. grd_prp.scx
  2093. c:\vfp\samples\controls\grid\grd_prp.scx
  2094. THISFORM
  2095. GRDMODIFYME    
  2096. HIGHLIGHT
  2097. THISFORM
  2098. GRDMODIFYME    
  2099. HIGHLIGHT
  2100. optOn.Click,
  2101. optOff.Clickh
  2102. c:\vfp\samples\controls\grid\
  2103. grd_prp.scx
  2104. c:\vfp\samples\controls\grid\grd_prp.scx
  2105. THISFORM
  2106. GRDMODIFYME
  2107. SCROLLBARS
  2108. THISFORM
  2109. GRDMODIFYME
  2110. SCROLLBARS
  2111. optOn.Click,
  2112. optOff.Clicki
  2113. c:\vfp\samples\controls\grid\
  2114. grd_prp.scx
  2115. c:\vfp\samples\controls\grid\grd_prp.scx
  2116. THISFORM
  2117. GRDMODIFYME    
  2118. PARTITION
  2119. THISFORM
  2120. GRDMODIFYME    
  2121. PARTITION
  2122. optOn.Click,
  2123. optOff.Clickh
  2124. c:\vfp\samples\controls\grid\
  2125. grd_prp.scx
  2126. c:\vfp\samples\controls\grid\grd_prp.scx
  2127. THISFORM
  2128. GRDMODIFYME
  2129. DELETEMARK
  2130. THISFORM
  2131. GRDMODIFYME
  2132. DELETEMARK
  2133. optOn.Click,
  2134. optOff.Clicki
  2135. c:\vfp\samples\controls\grid\
  2136. grd_prp.scx
  2137. c:\vfp\samples\controls\grid\grd_prp.scx
  2138. THISFORM
  2139. GRDMODIFYME
  2140. RECORDMARK
  2141. THISFORM
  2142. GRDMODIFYME
  2143. RECORDMARK
  2144. optOn.Click,
  2145. optOff.Clicki
  2146. c:\vfp\samples\controls\grid\
  2147. grd_prp.scx
  2148. c:\vfp\samples\controls\grid\grd_prp.scx
  2149. COMBO_VAL
  2150. THISFORM
  2151. PGFPROPERTIES
  2152. PAGPROPERTIESIII
  2153. CBOFIELDNAMES
  2154. VALUE
  2155. GRDMODIFYME
  2156. COLUMN1
  2157. CONTROLSOURCE
  2158. HEADER1
  2159. CAPTION
  2160. REFRESH
  2161. InteractiveChange,
  2162. c:\vfp\samples\controls\grid\
  2163. grd_prp.scx
  2164. c:\vfp\samples\controls\grid\grd_prp.scx
  2165. THISFORM
  2166. Click,
  2167. c:\vfp\samples\controls\grid\
  2168. grd_prp.scx
  2169. c:\vfp\samples\controls\grid\grd_prp.scx
  2170. FIELD_NAMES
  2171. HEADER_VAL_TEMP
  2172. HEADER_VAL    
  2173. COMBO_VAL
  2174. NUM_RECORDS
  2175. TABLE_USED
  2176. mainb
  2177. Load,
  2178. Unload
  2179. c:\vfp\samples\controls\grid\
  2180. grd_prp.scx
  2181. c:\vfp\samples\controls\grid\grd_prp.scx
  2182. thisform.grdModifyMe.columnCC
  2183. .header1.caption = 
  2184. field_name
  2185. &change_header_caption
  2186. THISFORM
  2187. GRDMODIFYME
  2188. COLUMNCOUNT
  2189. NUM_RECORDS
  2190. FIELD_NAME
  2191. FIELD_NAMES
  2192. CHANGE_HEADER_CAPTION
  2193. REFRESH
  2194. Init,
  2195. c:\vfp\samples\controls\grid\
  2196. grd_prp.scx
  2197. c:\vfp\samples\controls\grid\grd_prp.scx
  2198. THISFORM
  2199. GRDMODIFYME
  2200. GRIDLINEWIDTH
  2201. THISFORM
  2202. GRDMODIFYME
  2203. GRIDLINEWIDTH
  2204. THISFORM
  2205. GRDMODIFYME
  2206. GRIDLINEWIDTH
  2207. optOne.Click,
  2208. optFive.Clickl
  2209. optTen.Click
  2210. c:\vfp\samples\controls\grid\
  2211. grd_prp.scx
  2212. c:\vfp\samples\controls\grid\grd_prp.scx
  2213. thisform.grdModifyMe.columnCC
  2214. .forecolor = rgb( 255, 0, 0 )
  2215. &column_forecolor
  2216. NUM_RECORDS
  2217. COLUMN_FORECOLOR
  2218. THISFORM
  2219. REFRESH
  2220. thisform.grdModifyMe.columnCC
  2221. .forecolor = rgb( 0, 255, 0 )
  2222. &column_forecolor
  2223. NUM_RECORDS
  2224. COLUMN_FORECOLOR
  2225. THISFORM
  2226. REFRESH
  2227. thisform.grdModifyMe.columnCC
  2228. .forecolor = rgb( 0, 0, 255 )
  2229. &column_forecolor
  2230. NUM_RECORDS
  2231. COLUMN_FORECOLOR
  2232. THISFORM
  2233. REFRESH
  2234. optRed.Click,
  2235. optGreen.Click
  2236. optBlue.Click
  2237. c:\vfp\samples\controls\grid\
  2238. grd_prp.scx
  2239. c:\vfp\samples\controls\grid\grd_prp.scx
  2240. thisform.grdModifyMe.columnCC
  2241. .backcolor = rgb( 255, 0, 0 )
  2242. &column_backcolor
  2243. NUM_RECORDS
  2244. COLUMN_BACKCOLOR
  2245. THISFORM
  2246. REFRESH
  2247. thisform.grdModifyMe.columnCC
  2248. .backcolor = rgb( 0, 255, 0 )
  2249. &column_backcolor
  2250. NUM_RECORDS
  2251. COLUMN_BACKCOLOR
  2252. THISFORM
  2253. REFRESH
  2254. thisform.grdModifyMe.columnCC
  2255. .backcolor = rgb( 0, 0, 255 )
  2256. &column_backcolor
  2257. NUM_RECORDS
  2258. COLUMN_BACKCOLOR
  2259. THISFORM
  2260. REFRESH
  2261. optRed.Click,
  2262. optGreen.Click
  2263. optBlue.Click
  2264. c:\vfp\samples\controls\grid\
  2265. grd_prp.scx
  2266. c:\vfp\samples\controls\grid\grd_prp.scx
  2267. THISFORM
  2268. GRDMODIFYME
  2269. GRIDLINECOLOR
  2270. THISFORM
  2271. GRDMODIFYME
  2272. GRIDLINECOLOR
  2273. THISFORM
  2274. GRDMODIFYME
  2275. GRIDLINECOLOR
  2276. optRed.Click,
  2277. optGreen.Clicku
  2278. optBlue.Click
  2279. c:\vfp\samples\controls\grid\
  2280. grd_prp.scx
  2281. c:\vfp\samples\controls\grid\grd_prp.scx
  2282. THISFORM
  2283. GRDMODIFYME
  2284. HEADERHEIGHT
  2285. THISFORM
  2286. GRDMODIFYME
  2287. HEADERHEIGHT
  2288. THISFORM
  2289. GRDMODIFYME
  2290. HEADERHEIGHT
  2291. opt16.Click,
  2292. opt25.Clickk
  2293. opt50.Click
  2294. c:\vfp\samples\controls\grid\
  2295. grd_prp.scx
  2296. c:\vfp\samples\controls\grid\grd_prp.scx
  2297. THISFORM
  2298. GRDMODIFYME
  2299. HEIGHT
  2300. THISFORM
  2301. GRDMODIFYME
  2302. HEIGHT
  2303. THISFORM
  2304. GRDMODIFYME
  2305. HEIGHT
  2306. opt20.Click,
  2307. opt10.Clicke
  2308. opt5.Click
  2309. c:\vfp\samples\controls\grid\
  2310. grd_prp.scx
  2311. c:\vfp\samples\controls\grid\grd_prp.scx
  2312. thisform.grdModifyMe.columnCC
  2313. .header1.forecolor = rgb( 255, 0, 0 )
  2314. &column_forecolor
  2315. NUM_RECORDS
  2316. COLUMN_FORECOLOR
  2317. THISFORM
  2318. REFRESH
  2319. thisform.grdModifyMe.columnCC
  2320. .header1.forecolor = rgb( 0, 255, 0 )
  2321. &column_forecolor
  2322. NUM_RECORDS
  2323. COLUMN_FORECOLOR
  2324. THISFORM
  2325. REFRESH
  2326. thisform.grdModifyMe.columnCC
  2327. .header1.forecolor = rgb( 0, 0, 255 )
  2328. &column_forecolor
  2329. NUM_RECORDS
  2330. COLUMN_FORECOLOR
  2331. THISFORM
  2332. REFRESH
  2333. optRed.Click,
  2334. optGreen.Click
  2335. optBlue.Click
  2336. c:\vfp\samples\controls\grid\
  2337. grd_prp.scx
  2338. c:\vfp\samples\controls\grid\grd_prp.scx
  2339. THISFORM
  2340. GRDMODIFYME    
  2341. HIGHLIGHT
  2342. THISFORM
  2343. GRDMODIFYME    
  2344. HIGHLIGHT
  2345. optOn.Click,
  2346. optOff.Clickh
  2347. c:\vfp\samples\controls\grid\
  2348. grd_prp.scx
  2349. c:\vfp\samples\controls\grid\grd_prp.scx
  2350. THISFORM
  2351. GRDMODIFYME
  2352. SCROLLBARS
  2353. THISFORM
  2354. GRDMODIFYME
  2355. SCROLLBARS
  2356. optOn.Click,
  2357. optOff.Clicki
  2358. c:\vfp\samples\controls\grid\
  2359. grd_prp.scx
  2360. c:\vfp\samples\controls\grid\grd_prp.scx
  2361. THISFORM
  2362. GRDMODIFYME    
  2363. PARTITION
  2364. THISFORM
  2365. GRDMODIFYME    
  2366. PARTITION
  2367. optOn.Click,
  2368. optOff.Clickh
  2369. c:\vfp\samples\controls\grid\
  2370. grd_prp.scx
  2371. c:\vfp\samples\controls\grid\grd_prp.scx
  2372. THISFORM
  2373. GRDMODIFYME
  2374. DELETEMARK
  2375. THISFORM
  2376. GRDMODIFYME
  2377. DELETEMARK
  2378. optOn.Click,
  2379. optOff.Clicki
  2380. c:\vfp\samples\controls\grid\
  2381. grd_prp.scx
  2382. c:\vfp\samples\controls\grid\grd_prp.scx
  2383. THISFORM
  2384. GRDMODIFYME
  2385. RECORDMARK
  2386. THISFORM
  2387. GRDMODIFYME
  2388. RECORDMARK
  2389. optOn.Click,
  2390. optOff.Clicki
  2391. c:\vfp\samples\controls\grid\
  2392. grd_prp.scx
  2393. c:\vfp\samples\controls\grid\grd_prp.scx
  2394. COMBO_VAL
  2395. THISFORM
  2396. PGFPROPERTIES
  2397. PAGPROPERTIESIII
  2398. CBOFIELDNAMES
  2399. VALUE
  2400. GRDMODIFYME
  2401. COLUMN1
  2402. CONTROLSOURCE
  2403. HEADER1
  2404. CAPTION
  2405. REFRESH
  2406. InteractiveChange,
  2407. c:\vfp\samples\controls\grid\
  2408. grd_prp.scx
  2409. c:\vfp\samples\controls\grid\grd_prp.scx
  2410. THISFORM
  2411. Click,
  2412. c:\vfp\samples\controls\grid\
  2413. grd_prp.scx
  2414. c:\vfp\samples\controls\grid\grd_prp.scx
  2415. PLATFORM
  2416. UNIQUEID
  2417. TIMESTAMP
  2418. CLASS
  2419. CLASSLOC
  2420. BASECLASS
  2421. OBJNAME
  2422. PARENT
  2423. PROPERTIES
  2424. PROTECTED
  2425. METHODS
  2426. OBJCODE
  2427. COMMENT
  2428. RESERVED1
  2429. RESERVED2
  2430. RESERVED3
  2431. RESERVED4
  2432. RESERVED5
  2433. RESERVED6
  2434. RESERVED7
  2435. RESERVED8
  2436. RESERVED9
  2437. RESERVED10
  2438.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTN0J7HT2 490096437        17                  18        19                  20                                                                              21                                                                                           WINDOWS _QSB0LD5OW 506035367        22                  23        24                  25                  31        43                                                          59                                                                                 WINDOWS _QSB0LD5QK 506035235        60                  61        62        63        64                  70        79                                                                                                                                             WINDOWS FONTINFO   506035235        96                  97        98        99       100                 110       129                                                                                                                                             WINDOWS _QTU164ROU 506035236       143                 144       145       146       147                                                                                                                                                                           WINDOWS _QTU164RQ4 506035236       153                 154       155       156       157                                                                                                                                                                           WINDOWS _QWQ0XBAIV 506035236       163                 164       165       166       167                                                                                                                                                                           WINDOWS _QWQ0XBZ5Z 506035236       173       174       175       176       177       178                                                                                                                                                                           COMMENT FONTINFO                                                                     180                                                                                                                                                                          
  2439. VERSION =  0.028
  2440. dataenvironment
  2441. dataenvironment
  2442. Datanavigation
  2443. Name = "Datanavigation"
  2444. frmaddremove
  2445. Caption = "Adding and Removing List Items"
  2446. oktoleave = .T.
  2447. Top =   0.00
  2448. Left =   0.00
  2449. Height =  16.69
  2450. Width =  58.17
  2451. AutoCenter = .F.
  2452. BackColor = 192,192,192
  2453. Name = "frmaddremove"
  2454. lPROCEDURE Init
  2455. THIS.AutoCenter = .T.
  2456. ENDPROC
  2457. PROCEDURE Activate
  2458. This.txtAddText.SetFocus
  2459. ENDPROC
  2460. PROCEDURE Load
  2461. ENDPROC
  2462. PROCEDURE Unload
  2463. * If this form is run from main.scx in controls.app,
  2464. * the hidden form object, main, is made visible when
  2465. * this form is unloaded
  2466. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  2467.     main.show
  2468. ENDIF
  2469. ENDPROC
  2470. AUTOCENTER
  2471. TXTADDTEXT
  2472. SETFOCUS
  2473. mainb
  2474. Init,
  2475. ActivateS
  2476. Unload
  2477. c:\vfp\samples\controls\lists\
  2478. 00000053.tmp
  2479. c:\vfp\samples\controls\lists\00000053.tmp
  2480. oktoleave
  2481. listbox
  2482. listbox
  2483. lstAdd
  2484. frmaddremove.
  2485. Top =   0.69
  2486. Left =   4.17
  2487. Height =   7.50
  2488. TabIndex = 2
  2489. Width =  50.17
  2490. SelectedItemForeColor = 255,255,255
  2491. SelectedItemBackColor = 0,0,128
  2492. Name = "lstAdd"
  2493. PROCEDURE DblClick
  2494. ThisForm.txtAddText.Value = This.List(This.ListIndex)
  2495. This.RemoveItem (This.ListIndex)
  2496. ThisForm.Refresh
  2497. ENDPROC
  2498. PROCEDURE GotFocus
  2499. IF !Thisform.OkToLeave
  2500.     Thisform.OkToLeave = .T.    
  2501.     ThisForm.txtAddText.SETFOCUS
  2502. ENDIF
  2503. ENDPROC
  2504. THISFORM
  2505. TXTADDTEXT
  2506. VALUE
  2507. LIST    
  2508. LISTINDEX
  2509. REMOVEITEM
  2510. REFRESH3
  2511. THISFORM    
  2512. OKTOLEAVE
  2513. TXTADDTEXT
  2514. SETFOCUS
  2515. DblClick,
  2516. GotFocus
  2517. c:\vfp\samples\controls\lists\
  2518. 00000053.tmp
  2519. c:\vfp\samples\controls\lists\00000053.tmp
  2520. textbox
  2521. textbox
  2522. txtAddText
  2523. frmaddremove.
  2524. /Top =  10.00
  2525. Left =   9.17
  2526. Alignment = 0
  2527. BackColor = 255,255,255
  2528. BorderStyle = 1
  2529. Value =                                       
  2530. ForeColor = 0,0,0
  2531. Height =   1.50
  2532. HideSelection = .T.
  2533. InputMask = ""
  2534. ReadOnly = .F.
  2535. SelLength = 0
  2536. SelStart = 0
  2537. TabIndex = 1
  2538. Width =  40.17
  2539. Name = "txtAddText"
  2540. ^PROCEDURE KeyPress
  2541. Parameters nKeyCode, nShiftCtrlAlt
  2542. If nKeyCode = 13 && Enter Key
  2543.     *add the value to the list box
  2544.     *------------------------------
  2545.     ThisForm.lstAdd.AddItem (This.Value)
  2546.     *Set the text box value to an empty string
  2547.     *------------------------------
  2548.     This.Value = ""
  2549.     *Refresh the List box display
  2550.     *------------------------------
  2551.     ThisForm.Refresh
  2552.     *Set the property to .F. so that the GOTFOCUS of
  2553.     * the next control in the tab order (cmdOK)will
  2554.     * set the focus back to the textbox
  2555.     *------------------------------
  2556.     ThisForm.OkToLeave = .F.
  2557. Endif    
  2558. ENDPROC
  2559. NKEYCODE
  2560. NSHIFTCTRLALT
  2561. THISFORM
  2562. LSTADD
  2563. ADDITEM
  2564. VALUE
  2565. REFRESH    
  2566. OKTOLEAVE
  2567. KeyPress,
  2568. c:\vfp\samples\controls\lists\
  2569. 00000053.tmp
  2570. c:\vfp\samples\controls\lists\00000053.tmp
  2571. label
  2572. label
  2573. Label1
  2574. frmaddremove.
  2575. Caption = "Typ"
  2576. Top =  16.50
  2577. Left =   4.00
  2578. FontSize = 8
  2579. BackColor = 255,255,255
  2580. BackStyle = 0
  2581. BorderStyle = 0
  2582. ForeColor = 0,0,0
  2583. Height =   3.75
  2584. Width =  36.17
  2585. Name = "Label1"
  2586. label
  2587. label
  2588. Label2
  2589. frmaddremove.
  2590. Caption = "Type text and press Enter to add it to the list."
  2591. Top =  12.00
  2592. Left =   4.17
  2593. AutoSize = .T.
  2594. BackColor = 192,192,192
  2595. Height =   1.50
  2596. Width =  50.17
  2597. Name = "Label2"
  2598. label
  2599. label
  2600. Label3
  2601. frmaddremove.
  2602. Caption = "Double-click on an item in the list to remove it."
  2603. Top =   8.25
  2604. Left =   2.67
  2605. AutoSize = .T.
  2606. BackColor = 192,192,192
  2607. Height =   1.44
  2608. Width =  52.67
  2609. Name = "Label3"
  2610. cmdok
  2611. ..\buttons.vcx
  2612. commandbutton
  2613. Cmdok1
  2614. frmaddremove.
  2615. .Top =  14.25
  2616. Left =  21.17
  2617. Name = "Cmdok1"
  2618. CArial, 1, 10, 6, 16, 13, 15, 3, 0
  2619. Arial, 1, 8, 5, 14, 11, 13, 3, 0
  2620. VERSION =  0.028
  2621. dataenvironment
  2622. dataenvironment
  2623. Datanavigation
  2624. Name = "Datanavigation"
  2625. frmaddremove
  2626. Caption = "Adding and Removing List Items"
  2627. oktoleave = .T.
  2628. Top =   0.00
  2629. Left =  -0.17
  2630. Height =  16.69
  2631. Width =  58.17
  2632. AutoCenter = .T.
  2633. BackColor = 192,192,192
  2634. Name = "frmaddremove"
  2635. lPROCEDURE Unload
  2636. * If this form is run from main.scx in controls.app,
  2637. * the hidden form object, main, is made visible when
  2638. * this form is unloaded
  2639. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  2640.     main.show
  2641. ENDIF
  2642. ENDPROC
  2643. PROCEDURE Load
  2644. ENDPROC
  2645. PROCEDURE Activate
  2646. This.txtAddText.SetFocus
  2647. ENDPROC
  2648. PROCEDURE Init
  2649. THIS.AutoCenter = .T.
  2650. ENDPROC
  2651. mainb
  2652. TXTADDTEXT
  2653. SETFOCUS
  2654. AUTOCENTER
  2655. Unload,
  2656. Loadp
  2657. Activatew
  2658. c:\vfp\samples\controls\lists\
  2659. 00000047.tmp
  2660. c:\vfp\samples\controls\lists\00000047.tmp
  2661. oktoleave
  2662. listbox
  2663. listbox
  2664. lstAdd
  2665. frmaddremove
  2666. Top =   0.69
  2667. Left =   4.17
  2668. Height =   7.50
  2669. TabIndex = 2
  2670. Width =  50.17
  2671. SelectedItemForeColor = 255,255,255
  2672. SelectedItemBackColor = 0,0,128
  2673. Name = "lstAdd"
  2674. PROCEDURE GotFocus
  2675. IF !Thisform.OkToLeave
  2676.     Thisform.OkToLeave = .T.    
  2677.     ThisForm.txtAddText.SETFOCUS
  2678. ENDIF
  2679. ENDPROC
  2680. PROCEDURE DblClick
  2681. ThisForm.txtAddText.Value = This.List(This.ListIndex)
  2682. This.RemoveItem (This.ListIndex)
  2683. ThisForm.Refresh
  2684. ENDPROC
  2685. THISFORM    
  2686. OKTOLEAVE
  2687. TXTADDTEXT
  2688. SETFOCUS=
  2689. THISFORM
  2690. TXTADDTEXT
  2691. VALUE
  2692. LIST    
  2693. LISTINDEX
  2694. REMOVEITEM
  2695. REFRESH
  2696. GotFocus,
  2697. DblClick
  2698. c:\vfp\samples\controls\lists\
  2699. 00000047.tmp
  2700. c:\vfp\samples\controls\lists\00000047.tmp
  2701. textbox
  2702. textbox
  2703. txtAddText
  2704. frmaddremove
  2705. /Top =  10.00
  2706. Left =   9.17
  2707. Alignment = 0
  2708. BackColor = 255,255,255
  2709. BorderStyle = 1
  2710. Value =                                       
  2711. ForeColor = 0,0,0
  2712. Height =   1.50
  2713. HideSelection = .T.
  2714. InputMask = ""
  2715. ReadOnly = .F.
  2716. SelLength = 0
  2717. SelStart = 0
  2718. TabIndex = 1
  2719. Width =  40.17
  2720. Name = "txtAddText"
  2721. ^PROCEDURE KeyPress
  2722. Parameters nKeyCode, nShiftCtrlAlt
  2723. If nKeyCode = 13 && Enter Key
  2724.     *add the value to the list box
  2725.     *------------------------------
  2726.     ThisForm.lstAdd.AddItem (This.Value)
  2727.     *Set the text box value to an empty string
  2728.     *------------------------------
  2729.     This.Value = ""
  2730.     *Refresh the List box display
  2731.     *------------------------------
  2732.     ThisForm.Refresh
  2733.     *Set the property to .F. so that the GOTFOCUS of
  2734.     * the next control in the tab order (cmdOK)will
  2735.     * set the focus back to the textbox
  2736.     *------------------------------
  2737.     ThisForm.OkToLeave = .F.
  2738. Endif    
  2739. ENDPROC
  2740. NKEYCODE
  2741. NSHIFTCTRLALT
  2742. THISFORM
  2743. LSTADD
  2744. ADDITEM
  2745. VALUE
  2746. REFRESH    
  2747. OKTOLEAVE
  2748. KeyPress,
  2749. c:\vfp\samples\controls\lists\
  2750. 00000047.tmp
  2751. c:\vfp\samples\controls\lists\00000047.tmp
  2752. label
  2753. label
  2754. Label1
  2755. frmaddremove
  2756. Caption = "Typ"
  2757. Top =  16.50
  2758. Left =   4.00
  2759. FontSize = 8
  2760. BackColor = 255,255,255
  2761. BackStyle = 0
  2762. BorderStyle = 0
  2763. ForeColor = 0,0,0
  2764. Height =   3.75
  2765. Width =  36.17
  2766. Name = "Label1"
  2767. label
  2768. label
  2769. Label2
  2770. frmaddremove
  2771. Caption = "Type text and press Enter to add it to the list."
  2772. Top =  12.00
  2773. Left =   4.17
  2774. AutoSize = .T.
  2775. BackColor = 192,192,192
  2776. Height =   1.50
  2777. Width =  50.17
  2778. Name = "Label2"
  2779. label
  2780. label
  2781. Label3
  2782. frmaddremove
  2783. Caption = "Double-click on an item in the list to remove it."
  2784. Top =   8.25
  2785. Left =   2.67
  2786. AutoSize = .T.
  2787. BackColor = 192,192,192
  2788. Height =   1.44
  2789. Width =  52.67
  2790. Name = "Label3"
  2791. cmdok
  2792. ..\buttons.vcx
  2793. commandbutton
  2794. Cmdok1
  2795. frmaddremove
  2796. .Top =  14.25
  2797. Left =  21.17
  2798. Name = "Cmdok1"
  2799. CArial, 1, 10, 6, 16, 13, 15, 3, 0
  2800. Arial, 1, 8, 5, 14, 11, 13, 3, 0
  2801. PLATFORM
  2802. UNIQUEID
  2803. TIMESTAMP
  2804. CLASS
  2805. CLASSLOC
  2806. BASECLASS
  2807. OBJNAME
  2808. PARENT
  2809. PROPERTIES
  2810. PROTECTED
  2811. METHODS
  2812. OBJCODE
  2813. COMMENT
  2814. RESERVED1
  2815. RESERVED2
  2816. RESERVED3
  2817. RESERVED4
  2818. RESERVED5
  2819. RESERVED6
  2820. RESERVED7
  2821. RESERVED8
  2822. RESERVED9
  2823. RESERVED10
  2824.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTU15NZS0 490576715        17                  18        19                  20                                                                              21                                                                                           WINDOWS _QSB0LELNG 506035322        22                  23        24                  25                  31        58                                                                                                                                             WINDOWS _QSB0LELQI 492001735        79                  80        81        82        83                  88        97                                                                                                                                             WINDOWS _QSB0NBC0E 492001700       114                 115       116       117       118                                                                                                                                                                           WINDOWS _QT10YCNB2 492001700       126                 127       128       129       130                                                                                                                                                                           WINDOWS _QT10YIX0T 493569817       134                 135       136       137       138                                                                                                                                                                           WINDOWS _QTU15O0EO 492001700       144                 145       146       147       148                                                                                                                                                                           WINDOWS _QTU15O0I6 506035322       153                 154       155       156       157                                                                                                                                                                           WINDOWS _QWQ0XFIMT 506035322       163       164       165       166       167       168                                                                                                                                                                           COMMENT FONTINFO                                                                     170                                                                                                                                                                          
  2825. VERSION =  0.028
  2826. dataenvironment
  2827. dataenvironment
  2828. Datanavigation
  2829. Name = "Datanavigation"
  2830. frmmultisel
  2831. ScaleMode = 3
  2832. Caption = "MultiSelecting Items in a List"
  2833. Top = -1
  2834. Left = -1
  2835. Height = 218
  2836. Width = 457
  2837. AutoCenter = .F.
  2838. BackColor = 192,192,192
  2839. Visible = .F.
  2840. Name = "frmmultisel"
  2841. aPROCEDURE Unload
  2842. * If this form is run from main.scx in controls.app,
  2843. * the hidden form object, main, is made visible when
  2844. * this form is unloaded
  2845. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  2846.     main.show
  2847. ENDIF
  2848. ENDPROC
  2849. PROCEDURE Init
  2850. #define ONE_LOC "one"
  2851. #define TWO_LOC "two"
  2852. #define THREE_LOC "three"
  2853. #define FOUR_LOC "four"
  2854. #define FIVE_LOC "five"
  2855. #define SIX_LOC "six"
  2856. #define SEVEN_LOC "seven"
  2857. #define EIGHT_LOC "eight"
  2858. #define NINE_LOC "nine"
  2859. #define TEN_LOC "ten"
  2860. This.lstMulti.AddItem (ONE_LOC)
  2861. This.lstMulti.AddItem (TWO_LOC)
  2862. This.lstMulti.AddItem (THREE_LOC)
  2863. This.lstMulti.AddItem (FOUR_LOC)
  2864. This.lstMulti.AddItem (FIVE_LOC)
  2865. This.lstMulti.AddItem (SIX_LOC)
  2866. This.lstMulti.AddItem (SEVEN_LOC)
  2867. This.lstMulti.AddItem (EIGHT_LOC)
  2868. This.lstMulti.AddItem (NINE_LOC)
  2869. This.lstMulti.AddItem (TEN_LOC)
  2870. This.AutoCenter = .T.
  2871. ENDPROC
  2872. mainb
  2873. three
  2874. seven
  2875. eight
  2876. LSTMULTI
  2877. ADDITEM
  2878. AUTOCENTER
  2879. Unload,
  2880. Initp
  2881. c:\vfp\samples\controls\lists\
  2882. 00000050.tmp
  2883. c:\vfp\samples\controls\lists\00000050.tmp
  2884. listbox
  2885. listbox
  2886. lstMulti
  2887. frmmultisel.
  2888. Top = 12
  2889. Left = 96
  2890. RowSourceType = 0
  2891. RowSource = "aMulti"
  2892. Height = 169
  2893. MultiSelect = .T.
  2894. Width = 181
  2895. Name = "lstMulti"
  2896. PROCEDURE Click
  2897. nNoSelected = 0
  2898. ThisForm.cboSelected.Clear
  2899. FOR i = 1 TO This.ListCount
  2900.     IF This.Selected(i)
  2901.         nNoSelected = nNoSelected + 1
  2902.         ThisForm.cboSelected.Additem (This.List(i))
  2903.     ENDIF
  2904. ENDFOR
  2905. ThisForm.txtNoSelected.Value = nNoSelected
  2906. ENDPROC
  2907. NNOSELECTED
  2908. THISFORM
  2909. CBOSELECTED
  2910. CLEAR
  2911. THIS    
  2912. LISTCOUNT
  2913. SELECTED
  2914. ADDITEM
  2915. TXTNOSELECTED
  2916. VALUE
  2917. Click,
  2918. c:\vfp\samples\controls\lists\
  2919. 00000050.tmp
  2920. c:\vfp\samples\controls\lists\00000050.tmp
  2921. textbox
  2922. textbox
  2923. txtNoSelected
  2924. frmmultisel.
  2925. Top = 12
  2926. Left = 24
  2927. Alignment = 0
  2928. BackColor = 255,255,255
  2929. BorderStyle = 1
  2930. Value =   0.00
  2931. ForeColor = 0,0,0
  2932. Height = 21
  2933. HideSelection = .T.
  2934. InputMask = "99"
  2935. ReadOnly = .F.
  2936. SelLength = 0
  2937. SelStart = 0
  2938. Width = 37
  2939. Name = "txtNoSelected"
  2940. combobox
  2941. combobox
  2942. cboSelected
  2943. frmmultisel.
  2944. jTop = 12
  2945. Left = 288
  2946. BackColor = 255,255,255
  2947. Height = 25
  2948. Style = 2
  2949. Width = 157
  2950. Name = "cboSelected"
  2951. label
  2952. label
  2953. Label1
  2954. frmmultisel.
  2955. Caption = "Number of Selected Items"
  2956. Top = 36
  2957. Left = 12
  2958. AutoSize = .F.
  2959. BackColor = 192,192,192
  2960. BackStyle = 1
  2961. Height = 61
  2962. Width = 73
  2963. WordWrap = .T.
  2964. Name = "Label1"
  2965. label
  2966. label
  2967. Label2
  2968. frmmultisel.
  2969. Caption = "Selected Items"
  2970. Top = 48
  2971. Left = 312
  2972. BackColor = 192,192,192
  2973. BackStyle = 1
  2974. Height = 13
  2975. Width = 98
  2976. Name = "Label2"
  2977. label
  2978. label
  2979. Label3
  2980. frmmultisel.
  2981. Caption = "Shift+Click or Ctrl+Click to Select Multiple Items."
  2982. Top = 192
  2983. Left = 36
  2984. BackColor = 192,192,192
  2985. BackStyle = 1
  2986. Height = 25
  2987. Width = 343
  2988. Name = "Label3"
  2989. cmdok
  2990. ..\buttons.vcx
  2991. commandbutton
  2992. Cmdok1
  2993. frmmultisel.
  2994. (Top = 144
  2995. Left = 324
  2996. Name = "Cmdok1"
  2997. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  2998. VERSION =  0.028
  2999. dataenvironment
  3000. dataenvironment
  3001. Datanavigation
  3002. Name = "Datanavigation"
  3003. frmmultisel
  3004. ScaleMode = 3
  3005. Top = 135
  3006. Left = 92
  3007. Height = 211
  3008. Width = 457
  3009. AutoCenter = .T.
  3010. BackColor = 192,192,192
  3011. Caption = "MultiSelecting Items in a List"
  3012. Visible = .F.
  3013. Name = "frmmultisel"
  3014. NPROCEDURE Activate
  3015. #define ONE_LOC "one"
  3016. #define TWO_LOC "two"
  3017. #define THREE_LOC "three"
  3018. #define FOUR_LOC "four"
  3019. #define FIVE_LOC "five"
  3020. #define SIX_LOC "six"
  3021. #define SEVEN_LOC "seven"
  3022. #define EIGHT_LOC "eight"
  3023. #define NINE_LOC "nine"
  3024. #define TEN_LOC "ten"
  3025. This.lstMulti.AddItem (ONE_LOC)
  3026. This.lstMulti.AddItem (TWO_LOC)
  3027. This.lstMulti.AddItem (THREE_LOC)
  3028. This.lstMulti.AddItem (FOUR_LOC)
  3029. This.lstMulti.AddItem (FIVE_LOC)
  3030. This.lstMulti.AddItem (SIX_LOC)
  3031. This.lstMulti.AddItem (SEVEN_LOC)
  3032. This.lstMulti.AddItem (EIGHT_LOC)
  3033. This.lstMulti.AddItem (NINE_LOC)
  3034. This.lstMulti.AddItem (TEN_LOC)
  3035. ENDPROC
  3036. PROCEDURE Unload
  3037. * If this form is run from main.scx in controls.app,
  3038. * the hidden form object, main, is made visible when
  3039. * this form is unloaded
  3040. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  3041.     main.show
  3042. ENDIF
  3043. ENDPROC
  3044. three
  3045. seven
  3046. eight
  3047. LSTMULTI
  3048. ADDITEM4
  3049. mainb
  3050. Activate,
  3051. Unload1
  3052. c:\vfp\samples\controls\lists\
  3053. lmsel.scx
  3054. c:\vfp\samples\controls\lists\lmsel.scx
  3055. listbox
  3056. listbox
  3057. lstMulti
  3058. frmmultisel
  3059. RowSourceType = 0
  3060. RowSource = "aMulti"
  3061. Height = 169
  3062. Left = 96
  3063. MultiSelect = .T.
  3064. Top = 12
  3065. Width = 181
  3066. Name = "lstMulti"
  3067. PROCEDURE Click
  3068. nNoSelected = 0
  3069. ThisForm.cboSelected.Clear
  3070. FOR i = 1 TO This.ListCount
  3071.     IF This.Selected(i)
  3072.         nNoSelected = nNoSelected + 1
  3073.         ThisForm.cboSelected.Additem (This.List(i))
  3074.     ENDIF
  3075. ENDFOR
  3076. ThisForm.txtNoSelected.Value = nNoSelected
  3077. ENDPROC
  3078. NNOSELECTED
  3079. THISFORM
  3080. CBOSELECTED
  3081. CLEAR
  3082. THIS    
  3083. LISTCOUNT
  3084. SELECTED
  3085. ADDITEM
  3086. TXTNOSELECTED
  3087. VALUE
  3088. Click,
  3089. c:\vfp\samples\controls\lists\
  3090. lmsel.scx
  3091. c:\vfp\samples\controls\lists\lmsel.scx
  3092. commandbutton
  3093. commandbutton
  3094. cmdOK
  3095. frmmultisel
  3096. RTop = 156
  3097. Left = 324
  3098. Height = 23
  3099. Width = 84
  3100. Caption = "\<OK"
  3101. Name = "cmdOK"
  3102. .PROCEDURE Click
  3103. RELEASE ThisForm
  3104. ENDPROC
  3105. THISFORM
  3106. Click,
  3107. c:\vfp\samples\controls\lists\
  3108. lmsel.scx
  3109. c:\vfp\samples\controls\lists\lmsel.scx
  3110. textbox
  3111. textbox
  3112. txtNoSelected
  3113. frmmultisel
  3114. Alignment = 0
  3115. BackColor = 255,255,255
  3116. BorderStyle = 1
  3117. Value =   0.00
  3118. ForeColor = 0,0,0
  3119. Height = 21
  3120. HideSelection = .T.
  3121. InputMask = "99"
  3122. Left = 24
  3123. ReadOnly = .F.
  3124. SelLength = 0
  3125. SelStart = 0
  3126. Top = 12
  3127. Width = 37
  3128. Name = "txtNoSelected"
  3129. combobox
  3130. combobox
  3131. cboSelected
  3132. frmmultisel
  3133. jBackColor = 255,255,255
  3134. Height = 25
  3135. Left = 288
  3136. Style = 2
  3137. Top = 12
  3138. Width = 157
  3139. Name = "cboSelected"
  3140. label
  3141. label
  3142. Label1
  3143. frmmultisel
  3144. AutoSize = .F.
  3145. BackColor = 192,192,192
  3146. BackStyle = 1
  3147. Caption = "Number of Selected Items"
  3148. Height = 61
  3149. Left = 12
  3150. Top = 36
  3151. Width = 73
  3152. WordWrap = .T.
  3153. Name = "Label1"
  3154. label
  3155. label
  3156. Label2
  3157. frmmultisel
  3158. BackColor = 192,192,192
  3159. BackStyle = 1
  3160. Caption = "Selected Items"
  3161. Height = 13
  3162. Left = 312
  3163. Top = 48
  3164. Width = 98
  3165. Name = "Label2"
  3166. label
  3167. label
  3168. Label3
  3169. frmmultisel
  3170. BackColor = 192,192,192
  3171. BackStyle = 1
  3172. Caption = "Shift+Click or Ctrl+Click to Select Multiple Items."
  3173. Height = 13
  3174. Left = 36
  3175. Top = 192
  3176. Width = 343
  3177. Name = "Label3"
  3178. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  3179. PLATFORM
  3180. UNIQUEID
  3181. TIMESTAMP
  3182. CLASS
  3183. CLASSLOC
  3184. BASECLASS
  3185. OBJNAME
  3186. PARENT
  3187. PROPERTIES
  3188. PROTECTED
  3189. METHODS
  3190. OBJCODE
  3191. COMMENT
  3192. RESERVED1
  3193. RESERVED2
  3194. RESERVED3
  3195. RESERVED4
  3196. RESERVED5
  3197. RESERVED6
  3198. RESERVED7
  3199. RESERVED8
  3200. RESERVED9
  3201. RESERVED10
  3202.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QUK0VQ154 493773884         9                  10        11                  12                                                                              14                                                                                           WINDOWS _QV40QXJ3M 495290761        15                  16        17        18        19                                                                                                                                                                           WINDOWS _QS711N1YU 495290761        22                  23        24                  25                  28        96                                                                                                                                             WINDOWS _QS711N20I 495290761        32                  33        34        35        36                                                                                                                                                                           WINDOWS _QS80WN2U8 494373793        40                  41        42        43        44                  46       102                                                                                                                                             WINDOWS _QSA0IR9J2 494373793        47                  48        49        50        51                  55       107                                                                                                                                             WINDOWS _QSA0IR9M4 494373793        64                  65        66        67        68                                                                                                                                                                           COMMENT FONTINFO           0                                                          72                                                                                                                                                                          
  3203. VERSION =  0.028
  3204. dataenvironment
  3205. dataenvironment
  3206. Dataenvironment
  3207. LLeft = 104
  3208. Top = 199
  3209. Width = 607
  3210. Height = 300
  3211. Name = "Dataenvironment"
  3212. cursor
  3213. cursor
  3214. Cursor1
  3215. Dataenvironment
  3216. Left = 20
  3217. Top = 10
  3218. Width = 98
  3219. Height = 108
  3220. Alias = "customer"
  3221. Database = ..\..\data\testdata.dbc
  3222. CursorSource = "customer"
  3223. Name = "Cursor1"
  3224. frmmulticol
  3225. Top =   2.13
  3226. Left =   8.50
  3227. Height =  11.00
  3228. Width =  76.17
  3229. AutoCenter = .T.
  3230. BackColor = 192,192,192
  3231. Caption = "Multicolumn Listbox"
  3232. Visible = .F.
  3233. Name = "frmmulticol"
  3234. PROCEDURE Unload
  3235. * If this form is run from main.scx in controls.app,
  3236. * the hidden form object, main, is made visible when
  3237. * this form is unloaded
  3238. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  3239.     main.show
  3240. ENDIF
  3241. ENDPROC
  3242. ENDPROC
  3243. listbox
  3244. listbox
  3245. lstdemo
  3246. frmmulticol
  3247. FontBold = .F.
  3248. FontName = "Terminal"
  3249. ColumnWidths = "60"
  3250. RowSourceType = 6
  3251. RowSource = "contact"
  3252. Value =
  3253. ControlSource = ""
  3254. Height =   7.19
  3255. ColumnLines = .T.
  3256. Left =   2.17
  3257. Top =   0.63
  3258. Width =  69.67
  3259. Name = "lstdemo"
  3260. commandbutton
  3261. commandbutton
  3262. cmdOK
  3263. frmmulticol
  3264. `Top =   8.69
  3265. Left =  53.17
  3266. Height =   1.44
  3267. Width =  15.17
  3268. Caption = "\<OK"
  3269. Name = "cmdOK"
  3270. 5PROCEDURE Click
  3271. Release ThisForm
  3272. ENDPROC
  3273. ENDPROC
  3274. spinner
  3275. spinner
  3276. spnColumns
  3277. frmmulticol
  3278. FontBold = .T.
  3279. BackColor = 255,255,255
  3280. Value =   1.00
  3281. Height =   1.50
  3282. KeyboardHighValue =   3.00
  3283. KeyboardLowValue =   1.00
  3284. Left =  28.00
  3285. SpinnerHighValue =   3.00
  3286. SpinnerLowValue =   1.00
  3287. Top =   8.25
  3288. Width =   8.17
  3289. Name = "spnColumns"
  3290. PROCEDURE InteractiveChange
  3291. DO CASE
  3292.     CASE This.Value = 1
  3293.         ThisForm.lstDemo.ColumnCount = 1
  3294.         ThisForm.lstDemo.ColumnWidths = "35"
  3295.         ThisForm.lstDemo.RowSource = "contact"
  3296.     CASE This.Value = 2
  3297.         ThisForm.lstDemo.ColumnCount = 2
  3298.         ThisForm.lstDemo.ColumnWidths = "35,35"
  3299.         ThisForm.lstDemo.RowSource = "contact,city"
  3300.     CASE This.Value = 3
  3301.         ThisForm.lstDemo.ColumnCount = 3
  3302.         ThisForm.lstDemo.ColumnWidths = "25,20,20"
  3303.         ThisForm.lstDemo.RowSource = "contact,city,country"
  3304. ENDCASE
  3305. ENDPROC
  3306. ENDPROC
  3307. label
  3308. label
  3309. Label1
  3310. frmmulticol
  3311. BackColor = 255,255,255
  3312. BackStyle = 0
  3313. BorderStyle = 0
  3314. Caption = "Number of Columns"
  3315. ForeColor = 0,0,0
  3316. Height =   1.00
  3317. Left =   4.00
  3318. Top =   8.50
  3319. Width =  23.17
  3320. Name = "Label1"
  3321. FTerminal, 0, 10, 8, 12, 10, 8, 2, 0
  3322. Arial, 1, 10, 6, 16, 13, 15, 3, 0
  3323. mainb
  3324. Unload,
  3325. c:\vfp\samples\controls\lists\
  3326. lmulcol.scx
  3327. c:\vfp\samples\controls\lists\lmulcol.scx
  3328. THISFORM
  3329. Click,
  3330. c:\vfp\samples\controls\lists\
  3331. lmulcol.scx
  3332. c:\vfp\samples\controls\lists\lmulcol.scx
  3333. contact
  3334. 35,35
  3335. contact,city
  3336. 25,20,20
  3337. contact,city,country
  3338. VALUE
  3339. THISFORM
  3340. LSTDEMO
  3341. COLUMNCOUNT
  3342. COLUMNWIDTHS    
  3343. ROWSOURCE
  3344. InteractiveChange,
  3345. c:\vfp\samples\controls\lists\
  3346. lmulcol.scx
  3347. c:\vfp\samples\controls\lists\lmulcol.scx
  3348. mainb
  3349. Unload,
  3350. c:\vfp\samples\controls\lists\
  3351. lmulcol.scx
  3352. c:\vfp\samples\controls\lists\lmulcol.scx
  3353. THISFORM
  3354. Click,
  3355. c:\vfp\samples\controls\lists\
  3356. lmulcol.scx
  3357. c:\vfp\samples\controls\lists\lmulcol.scx
  3358. contact
  3359. 35,35
  3360. contact,city
  3361. 25,20,20
  3362. contact,city,country
  3363. VALUE
  3364. THISFORM
  3365. LSTDEMO
  3366. COLUMNCOUNT
  3367. COLUMNWIDTHS    
  3368. ROWSOURCE
  3369. InteractiveChange,
  3370. c:\vfp\samples\controls\lists\
  3371. lmulcol.scx
  3372. c:\vfp\samples\controls\lists\lmulcol.scx
  3373. PLATFORM
  3374. UNIQUEID
  3375. TIMESTAMP
  3376. CLASS
  3377. CLASSLOC
  3378. BASECLASS
  3379. OBJNAME
  3380. PARENT
  3381. PROPERTIES
  3382. PROTECTED
  3383. METHODS
  3384. OBJCODE
  3385. COMMENT
  3386. RESERVED1
  3387. RESERVED2
  3388. RESERVED3
  3389. RESERVED4
  3390. RESERVED5
  3391. RESERVED6
  3392. RESERVED7
  3393. RESERVED8
  3394. RESERVED9
  3395. RESERVED10
  3396.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QTU1585FY 490576322         9                  10        11                  12                                                                              13                                                                                           WINDOWS _QSC0TSPBM 495275899        14                  15        16                  17                  20        89                                                                                                                                             WINDOWS _QSC0TRZ04 490576322        34                  35        36        37        38                                                                                                                                                                           WINDOWS _QV40TBB37 493776147        40                  41        42        43        44                                                                                                                                                                           WINDOWS _QV40TBB19 493776147        49                  50        51        52        53                  56       100                                                                                                                                             WINDOWS _QSC0TSPG2 493776117        59                  60        61        62        63                  65       106                                                                                                                                             COMMENT FONTINFO           0                                                          66                                                                                                                                                                          
  3397. VERSION =  0.028
  3398. dataenvironment
  3399. dataenvironment
  3400. Datanavigation
  3401. Name = "Datanavigation"
  3402. frmorder
  3403. ScaleMode = 3
  3404. Top = 46
  3405. Left = 71
  3406. Height = 222
  3407. Width = 361
  3408. AutoCenter = .T.
  3409. BackColor = 192,192,192
  3410. Caption = "Arranging items in a list"
  3411. Visible = .T.
  3412. Name = "frmorder"
  3413. ^PROCEDURE Activate
  3414. #define ONE_LOC "one"
  3415. #define TWO_LOC "two"
  3416. #define THREE_LOC "three"
  3417. #define FOUR_LOC "four"
  3418. #define FIVE_LOC "five"
  3419. #define SIX_LOC "six"
  3420. #define SEVEN_LOC "seven"
  3421. #define EIGHT_LOC "eight"
  3422. #define NINE_LOC "nine"
  3423. #define TEN_LOC "ten"
  3424. This.lstMover.AddItem (ONE_LOC)
  3425. This.lstMover.AddItem (TWO_LOC)
  3426. This.lstMover.AddItem (THREE_LOC)
  3427. This.lstMover.AddItem (FOUR_LOC)
  3428. This.lstMover.AddItem (FIVE_LOC)
  3429. This.lstMover.AddItem (SIX_LOC)
  3430. This.lstMover.AddItem (SEVEN_LOC)
  3431. This.lstMover.AddItem (EIGHT_LOC)
  3432. This.lstMover.AddItem (NINE_LOC)
  3433. This.lstMover.AddItem (TEN_LOC)
  3434. This.Refresh
  3435. ENDPROC
  3436. PROCEDURE Unload
  3437. * If this form is run from main.scx in controls.app,
  3438. * the hidden form object, main, is made visible when
  3439. * this form is unloaded
  3440. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  3441.     main.show
  3442. ENDIF
  3443. ENDPROC
  3444. listbox
  3445. listbox
  3446. lstMover
  3447. frmorder
  3448. THeight = 193
  3449. Left = 25
  3450. MoverBars = .T.
  3451. Top = 12
  3452. Width = 180
  3453. Name = "lstMover"
  3454. label
  3455. label
  3456. lblMover
  3457. frmorder
  3458. FontSize = 10
  3459. BackColor = 255,255,255
  3460. BackStyle = 0
  3461. BorderStyle = 0
  3462. Caption = "Drag the button to the left of an item up or down to rearrange the item in the list."
  3463. ForeColor = 0,0,0
  3464. Height = 97
  3465. Left = 216
  3466. Top = 60
  3467. Visible = .T.
  3468. Width = 121
  3469. WordWrap = .T.
  3470. Name = "lblMover"
  3471. checkbox
  3472. checkbox
  3473.     chkSorted
  3474. frmorder
  3475. Top = 24
  3476. Left = 276
  3477. Height = 24
  3478. Width = 68
  3479. AutoSize = .T.
  3480. Alignment = 1
  3481. BackColor = 192,192,192
  3482. Caption = "Sorted"
  3483. TabIndex = 3
  3484. Visible = .T.
  3485. Name = "chkSorted"
  3486. PROCEDURE InteractiveChange
  3487. If This.Value = 1
  3488.     ThisForm.lstMover.Sorted = .T.
  3489.     ThisForm.lstMover.Sorted = .F.
  3490. EndIf    
  3491. ENDPROC
  3492. commandbutton
  3493. commandbutton
  3494. cmdOK
  3495. frmorder
  3496. aTop = 180
  3497. Left = 255
  3498. Height = 23
  3499. Width = 91
  3500. Caption = "\<OK"
  3501. Visible = .T.
  3502. Name = "cmdOK"
  3503. .PROCEDURE Click
  3504. Release ThisForm
  3505. ENDPROC
  3506. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  3507. three
  3508. seven
  3509. eight
  3510. LSTMOVER
  3511. ADDITEM
  3512. REFRESH4
  3513. mainb
  3514. Activate,
  3515. UnloadD
  3516. c:\vfp\samples\controls\lists\
  3517. lsort.scx
  3518. c:\vfp\samples\controls\lists\lsort.scx
  3519. VALUE
  3520. THISFORM
  3521. LSTMOVER
  3522. SORTED
  3523. InteractiveChange,
  3524. c:\vfp\samples\controls\lists\
  3525. lsort.scx
  3526. c:\vfp\samples\controls\lists\lsort.scx
  3527. THISFORM
  3528. Click,
  3529. c:\vfp\samples\controls\lists\
  3530. lsort.scx
  3531. c:\vfp\samples\controls\lists\lsort.scx
  3532. three
  3533. seven
  3534. eight
  3535. LSTMOVER
  3536. ADDITEM
  3537. REFRESH4
  3538. mainb
  3539. Activate,
  3540. UnloadD
  3541. c:\vfp\samples\controls\lists\
  3542. lsort.scx
  3543. c:\vfp\samples\controls\lists\lsort.scx
  3544. VALUE
  3545. THISFORM
  3546. LSTMOVER
  3547. SORTED
  3548. InteractiveChange,
  3549. c:\vfp\samples\controls\lists\
  3550. lsort.scx
  3551. c:\vfp\samples\controls\lists\lsort.scx
  3552. THISFORM
  3553. Click,
  3554. c:\vfp\samples\controls\lists\
  3555. lsort.scx
  3556. c:\vfp\samples\controls\lists\lsort.scx
  3557. PLATFORM
  3558. UNIQUEID
  3559. TIMESTAMP
  3560. CLASS
  3561. CLASSLOC
  3562. BASECLASS
  3563. OBJNAME
  3564. PARENT
  3565. PROPERTIES
  3566. PROTECTED
  3567. METHODS
  3568. OBJCODE
  3569. COMMENT
  3570. RESERVED1
  3571. RESERVED2
  3572. RESERVED3
  3573. RESERVED4
  3574. RESERVED5
  3575. RESERVED6
  3576. RESERVED7
  3577. RESERVED8
  3578. RESERVED9
  3579. RESERVED10
  3580.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTY1DVF6E 495941760        17                  18        19                  20                                                                              23                                                                                           WINDOWS _QSR0UBQNU 496332346        24                  25        26                  27                  34       197                                                                                                                                             WINDOWS _QSR0UBQP8 494633837        73                  74        75        76        77                                                                                                                                                                           WINDOWS _QSR0UBQQW 494633837        81                  82        83        84        85                  89       218                                                                                                                                             COMMENT FONTINFO                                                                     102                                                                                                                                                                          
  3581. VERSION =  0.028
  3582. dataenvironment
  3583. dataenvironment
  3584. Datanavigation
  3585. KLeft = 100
  3586. Top = 198
  3587. Width = 581
  3588. Height = 281
  3589. Name = "Datanavigation"
  3590. frmsize
  3591. Caption = "Adjust Control Size and Position"
  3592. Top =   0.69
  3593. Left =   7.67
  3594. Height =  16.25
  3595. Width =  62.50
  3596. AutoCenter = .T.
  3597. BackColor = 192,192,192
  3598. MinHeight =   7.00
  3599. MinWidth =  50.00
  3600. Name = "frmsize"
  3601. 8PROCEDURE Unload
  3602. * If this form is run from main.scx in controls.app,
  3603. * the hidden form object, main, is made visible when
  3604. * this form is unloaded
  3605. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  3606.     main.show
  3607. ENDIF
  3608. ENDPROC
  3609. PROCEDURE Resize
  3610. This.edtResize.Width = This.Width - 10
  3611. This.edtResize.Height = This.Height - 5
  3612. This.cmdOK.Top = This.Height - 2.5
  3613. This.cmdOk.Left = (This.Width / 2) - (This.cmdOk.Width / 2)
  3614. ENDPROC
  3615. PROCEDURE Init
  3616. #define INSTRUCTION_LOC "Drag the border of the form to resize."
  3617. This.edtResize.Value = INSTRUCTION_LOC
  3618. ENDPROC
  3619. mainb
  3620. THIS    
  3621. EDTRESIZE
  3622. WIDTH
  3623. HEIGHT
  3624. CMDOK
  3625. LEFT<
  3626. Drag the border of the form to resize.
  3627. THIS    
  3628. EDTRESIZE
  3629. VALUE
  3630. Unload,
  3631. Resizep
  3632. Init)
  3633. c:\vfp\samples\controls\objects\
  3634. 76560382.tmp
  3635. c:\vfp\samples\controls\objects\76560382.tmp
  3636. editbox
  3637. editbox
  3638.     edtResize
  3639. frmsize.
  3640. kTop =   0.75
  3641. Left =   4.00
  3642. BackColor = 255,255,255
  3643. Height =  12.19
  3644. Width =  54.17
  3645. Name = "edtResize"
  3646. commandbutton
  3647. commandbutton
  3648. cmdOk
  3649. frmsize.
  3650. `Caption = "\<OK"
  3651. Top =  13.75
  3652. Left =  24.00
  3653. Height =   1.44
  3654. Width =  14.00
  3655. Name = "cmdOk"
  3656. ;PROCEDURE Click
  3657. ThisForm.HIDE
  3658. Release thisform
  3659. ENDPROC
  3660. THISFORM
  3661. Click,
  3662. c:\vfp\samples\controls\objects\
  3663. 76560382.tmp
  3664. c:\vfp\samples\controls\objects\76560382.tmp
  3665. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  3666. VERSION =  0.028
  3667. dataenvironment
  3668. dataenvironment
  3669. Datanavigation
  3670. KLeft = 100
  3671. Top = 198
  3672. Width = 581
  3673. Height = 281
  3674. Name = "Datanavigation"
  3675. frmsize
  3676. Top =   6.88
  3677. Left =  22.17
  3678. Height =  16.25
  3679. Width =  62.50
  3680. AutoCenter = .T.
  3681. BackColor = 192,192,192
  3682. Caption = "Adjust Control Size and Position"
  3683. Name = "frmsize"
  3684. PROCEDURE Init
  3685. #define INSTRUCTION_LOC "Drag the border of the form to resize."
  3686. This.edtResize.Value = INSTRUCTION_LOC
  3687. ENDPROC
  3688. PROCEDURE Resize
  3689. if This.Width < 50
  3690.     THIS.Width = 50
  3691. ENDIF
  3692. IF THIS.Height < 7
  3693.     THIS.HEIGHT = 7
  3694. ENDIF
  3695. This.edtResize.Width = This.Width - 10
  3696. This.edtResize.Height = This.Height - 5
  3697. This.cmdOK.Top = This.Height - 2.5
  3698. This.cmdOk.Left = (This.Width / 2) - (This.cmdOk.Width / 2)
  3699. ENDPROC
  3700. PROCEDURE Unload
  3701. * If this form is run from main.scx in controls.app,
  3702. * the hidden form object, main, is made visible when
  3703. * this form is unloaded
  3704. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  3705.     main.show
  3706. ENDIF
  3707. ENDPROC
  3708. Drag the border of the form to resize.
  3709. THIS    
  3710. EDTRESIZE
  3711. VALUE
  3712. WIDTH
  3713. HEIGHT    
  3714. EDTRESIZE
  3715. CMDOK
  3716. LEFT4
  3717. mainb
  3718. Init,
  3719. Resize
  3720. Unload
  3721. c:\vfp\samples\controls\objects\
  3722. 62576041.tmp
  3723. c:\vfp\samples\controls\objects\62576041.tmp
  3724. editbox
  3725. editbox
  3726.     edtResize
  3727. frmsize
  3728. kBackColor = 255,255,255
  3729. Height =  12.19
  3730. Left =   4.00
  3731. Top =   0.75
  3732. Width =  54.17
  3733. Name = "edtResize"
  3734. commandbutton
  3735. commandbutton
  3736. cmdOk
  3737. frmsize
  3738. `Top =  13.75
  3739. Left =  24.00
  3740. Height =   1.44
  3741. Width =  14.00
  3742. Caption = "\<OK"
  3743. Name = "cmdOk"
  3744. ;PROCEDURE Click
  3745. ThisForm.HIDE
  3746. Release thisform
  3747. ENDPROC
  3748. THISFORM
  3749. Click,
  3750. c:\vfp\samples\controls\objects\
  3751. 62576041.tmp
  3752. c:\vfp\samples\controls\objects\62576041.tmp
  3753. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  3754. mainb
  3755. THIS    
  3756. EDTRESIZE
  3757. WIDTH
  3758. HEIGHT
  3759. CMDOK
  3760. LEFT<
  3761. Drag the border of the form to resize.
  3762. THIS    
  3763. EDTRESIZE
  3764. VALUE
  3765. Unload,
  3766. Resizep
  3767. Init)
  3768. c:\vfp\samples\controls\objects\
  3769. cresize.scx
  3770. c:\vfp\samples\controls\objects\cresize.scx
  3771. THISFORM
  3772. Click,
  3773. c:\vfp\samples\controls\objects\
  3774. cresize.scx
  3775. c:\vfp\samples\controls\objects\cresize.scx
  3776. PLATFORM
  3777. UNIQUEID
  3778. TIMESTAMP
  3779. CLASS
  3780. CLASSLOC
  3781. BASECLASS
  3782. OBJNAME
  3783. PARENT
  3784. PROPERTIES
  3785. PROTECTED
  3786. METHODS
  3787. OBJCODE
  3788. COMMENT
  3789. RESERVED1
  3790. RESERVED2
  3791. RESERVED3
  3792. RESERVED4
  3793. RESERVED5
  3794. RESERVED6
  3795. RESERVED7
  3796. RESERVED8
  3797. RESERVED9
  3798. RESERVED10
  3799.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTX0RHI3U 490890797        17                  18        19                  20                                                                              21                                                                                           WINDOWS _QRA0O39U4 495287301        22                  23        24                  25                  27       514                                                                                                                                             WINDOWS _QRA0O39U5 496912053        46                  47        48        49        50                                                                                                                                                                           WINDOWS _QRA0O39X6 484268491        54                  55        56        57        58                                                                                                                                                                           WINDOWS _QRA0O39YK 495287204        63                  64        65        66        67                  71       525                                                                                                                                             WINDOWS _QRA0O3A3A 495287204        85                  86        87        88        89                  93       536                                                                                                                                             WINDOWS _QRA0O3A6C 495287093       107                 108       109       110       111                 114       546                                                                                                                                             WINDOWS _QRA0OL1WW 496912053       134                 135       136       137       138                                                                                                                                                                           WINDOWS _QRA0OL1ZY 495287301       143                 144       145       146       147                 151       559                                                                                                                                             WINDOWS _QRA0OL230 495287301       166                 167       168       169       170                 175       570                                                                                                                                             WINDOWS _QRA0OL24E 495287301       189                 190       191       192       193                 197       581                                                                                                                                             WINDOWS _QRA0OL262 495287301       213                 214       215       216       217                 220       592                                                                                                                                             WINDOWS _QRA0OL27G 496261618       231                 232       233       234       235                 239       601                                                                                                                                             COMMENT FONTINFO                                                                     262                                                                                                                                                                          
  3800. VERSION =  0.028
  3801. dataenvironment
  3802. dataenvironment
  3803. Datanavigation
  3804. Name = "Datanavigation"
  3805. formset
  3806. formset
  3807. Formset1
  3808. &AutoRelease = .T.
  3809. Name = "Formset1"
  3810. PROCEDURE Unload
  3811. * If this form is run from main.scx in controls.app,
  3812. * the hidden form object, main, is made visible when
  3813. * this form is unloaded
  3814. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  3815.     main.show
  3816. ENDIF
  3817. ENDPROC
  3818. mainb
  3819. Unload,
  3820. c:\vfp\samples\controls\objects\
  3821. 36309173.tmp
  3822. c:\vfp\samples\controls\objects\36309173.tmp
  3823. frmLeft
  3824. Formset1.
  3825. xScaleMode = 3
  3826. Caption = "Left Form"
  3827. Top = 36
  3828. Left = 12
  3829. Height = 136
  3830. Width = 301
  3831. Closable = .F.
  3832. Name = "frmLeft"
  3833. textbox
  3834. textbox
  3835. txtInput
  3836. Formset1.frmLeft.
  3837. Top = 13
  3838. Left = 54
  3839. FontBold = .F.
  3840. Value = User Input             
  3841. Height = 24
  3842. InputMask = "XXXXXXXXXXXXXXXXXXXXXXX"
  3843. Width = 193
  3844. Name = "txtInput"
  3845. checkbox
  3846. checkbox
  3847.     chkItalic
  3848. Formset1.frmLeft.
  3849. cCaption = "Italic"
  3850. Top = 54
  3851. Left = 67
  3852. Height = 15
  3853. Width = 90
  3854. Value = .F.
  3855. Name = "chkItalic"
  3856. EPROCEDURE Click
  3857. ThisForm.txtInput.FontItalic = This.Value
  3858. ENDPROC
  3859. THISFORM
  3860. TXTINPUT
  3861. FONTITALIC
  3862. VALUE
  3863. Click,
  3864. c:\vfp\samples\controls\objects\
  3865. 36309173.tmp
  3866. c:\vfp\samples\controls\objects\36309173.tmp
  3867. checkbox
  3868. checkbox
  3869. chkBold
  3870. Formset1.frmLeft.
  3871. `Caption = "Bold"
  3872. Top = 53
  3873. Left = 190
  3874. Height = 15
  3875. Width = 90
  3876. Value = .F.
  3877. Name = "chkBold"
  3878. EPROCEDURE Click
  3879. ThisForm.txtInput.FontBold = This.Value
  3880. ENDPROC
  3881. THISFORM
  3882. TXTINPUT
  3883. FONTBOLD
  3884. VALUE
  3885. Click,
  3886. c:\vfp\samples\controls\objects\
  3887. 36309173.tmp
  3888. c:\vfp\samples\controls\objects\36309173.tmp
  3889. commandbutton
  3890. commandbutton
  3891. cmdClear
  3892. Formset1.frmLeft.
  3893. WCaption = "\<Clear"
  3894. Top = 84
  3895. Left = 96
  3896. Height = 23
  3897. Width = 110
  3898. Name = "cmdClear"
  3899. PROCEDURE Click
  3900. ThisForm.txtInput.Value = ""
  3901. ThisForm.txtInput.FontBold = .F.
  3902. ThisForm.txtInput.FontItalic = .F.
  3903. ThisForm.chkItalic.Value = .F.
  3904. ThisForm.chkBold.Value = .F.
  3905. ENDPROC
  3906. THISFORM
  3907. TXTINPUT
  3908. VALUE
  3909. FONTBOLD
  3910. FONTITALIC    
  3911. CHKITALIC
  3912. CHKBOLD
  3913. Click,
  3914. c:\vfp\samples\controls\objects\
  3915. 36309173.tmp
  3916. c:\vfp\samples\controls\objects\36309173.tmp
  3917. frmRight
  3918. Formset1.
  3919. ScaleMode = 3
  3920. Caption = "Right Form"
  3921. Top = 11
  3922. Left = 339
  3923. Height = 235
  3924. Width = 231
  3925. BackColor = 192,192,192
  3926. Closable = .F.
  3927. Name = "frmRight"
  3928. commandbutton
  3929. commandbutton
  3930. cmdCaption1
  3931. Formset1.frmRight.
  3932. kCaption = "Change Left Form Caption"
  3933. Top = 17
  3934. Left = 15
  3935. Height = 23
  3936. Width = 200
  3937. Name = "cmdCaption1"
  3938. ^PROCEDURE Click
  3939. ThisFormSet.frmLeft.Caption = ThisFormSet.frmLeft.txtInput.Value
  3940. ENDPROC
  3941. THISFORMSET
  3942. FRMLEFT
  3943. CAPTION
  3944. TXTINPUT
  3945. VALUE
  3946. Click,
  3947. c:\vfp\samples\controls\objects\
  3948. 36309173.tmp
  3949. c:\vfp\samples\controls\objects\36309173.tmp
  3950. commandbutton
  3951. commandbutton
  3952. cmdCaption2
  3953. Formset1.frmRight.
  3954. }Caption = "Change This Form's Caption"
  3955. Top = 60
  3956. Left = 15
  3957. Height = 24
  3958. Width = 200
  3959. AutoSize = .T.
  3960. Name = "cmdCaption2"
  3961. SPROCEDURE Click
  3962. ThisForm.Caption = ThisFormSet.frmLeft.txtInput.Value
  3963. ENDPROC
  3964. THISFORM
  3965. CAPTION
  3966. THISFORMSET
  3967. FRMLEFT
  3968. TXTINPUT
  3969. VALUE
  3970. Click,
  3971. c:\vfp\samples\controls\objects\
  3972. 36309173.tmp
  3973. c:\vfp\samples\controls\objects\36309173.tmp
  3974. commandbutton
  3975. commandbutton
  3976. cmdChgBold
  3977. Formset1.frmRight.
  3978. fCaption = "Change Bold Setting"
  3979. Top = 103
  3980. Left = 15
  3981. Height = 23
  3982. Width = 200
  3983. Name = "cmdChgBold"
  3984. PROCEDURE Click
  3985. ThisFormSet.frmLeft.chkBold.Value = NOT ThisFormSet.frmLeft.chkBold.Value
  3986. ThisFormSet.frmLeft.chkBold.CLICK
  3987. ENDPROC
  3988. THISFORMSET
  3989. FRMLEFT
  3990. CHKBOLD
  3991. VALUE
  3992. CLICK
  3993. Click,
  3994. c:\vfp\samples\controls\objects\
  3995. 36309173.tmp
  3996. c:\vfp\samples\controls\objects\36309173.tmp
  3997. commandbutton
  3998. commandbutton
  3999. cmdQuit
  4000. Formset1.frmRight.
  4001. VCaption = "\<Quit"
  4002. Top = 188
  4003. Left = 15
  4004. Height = 23
  4005. Width = 200
  4006. Name = "cmdQuit"
  4007. 1PROCEDURE Click
  4008. release thisformset
  4009. ENDPROC
  4010. THISFORMSET
  4011. Click,
  4012. c:\vfp\samples\controls\objects\
  4013. 36309173.tmp
  4014. c:\vfp\samples\controls\objects\36309173.tmp
  4015. commandbutton
  4016. commandbutton
  4017. cmdHideShow
  4018. Formset1.frmRight.
  4019. bCaption = "Hide Left Form"
  4020. Top = 148
  4021. Left = 15
  4022. Height = 23
  4023. Width = 200
  4024. Name = "cmdHideShow"
  4025. PROCEDURE Click
  4026. #define SHOW_LOC "Show Left Form"
  4027. #define HIDE_LOC "Hide Left Form"
  4028. IF ThisFormSet.frmLeft.Visible
  4029.     ThisFormSet.frmLeft.Hide
  4030.     This.Caption = "Show Left Form"
  4031.     ThisFormSet.frmLeft.Show
  4032.     This.Caption = "Hide Left Form"
  4033. ENDIF
  4034. ENDPROC
  4035. Show Left Form
  4036. Hide Left Form
  4037. THISFORMSET
  4038. FRMLEFT
  4039. VISIBLE
  4040. CAPTION
  4041. Click,
  4042. c:\vfp\samples\controls\objects\
  4043. 36309173.tmp
  4044. c:\vfp\samples\controls\objects\36309173.tmp
  4045. DArial, 0, 10, 6, 16, 13, 16, 3, 0
  4046. Arial, 1, 10, 6, 16, 13, 15, 3, 0
  4047. VERSION =  0.028
  4048. dataenvironment
  4049. dataenvironment
  4050. Datanavigation
  4051. Name = "Datanavigation"
  4052. formset
  4053. formset
  4054. Formset1
  4055. &AutoRelease = .T.
  4056. Name = "Formset1"
  4057. PROCEDURE Unload
  4058. * If this form is run from main.scx in controls.app,
  4059. * the hidden form object, main, is made visible when
  4060. * this form is unloaded
  4061. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  4062.     main.show
  4063. ENDIF
  4064. ENDPROC
  4065. mainb
  4066. Unload,
  4067. c:\vfp\samples\controls\objects\
  4068. 80896044.tmp
  4069. c:\vfp\samples\controls\objects\80896044.tmp
  4070. frmLeft
  4071. Formset1
  4072. hScaleMode = 3
  4073. Top = 36
  4074. Left = 12
  4075. Height = 136
  4076. Width = 301
  4077. Caption = "Left Form"
  4078. Name = "frmLeft"
  4079. textbox
  4080. textbox
  4081. txtInput
  4082. Formset1.frmLeft
  4083. FontBold = .F.
  4084. Value = User Input             
  4085. Height = 24
  4086. InputMask = "XXXXXXXXXXXXXXXXXXXXXXX"
  4087. Left = 54
  4088. Top = 13
  4089. Width = 193
  4090. Name = "txtInput"
  4091. checkbox
  4092. checkbox
  4093.     chkItalic
  4094. Formset1.frmLeft
  4095. cTop = 54
  4096. Left = 67
  4097. Height = 15
  4098. Width = 90
  4099. Caption = "Italic"
  4100. Value = .F.
  4101. Name = "chkItalic"
  4102. EPROCEDURE Click
  4103. ThisForm.txtInput.FontItalic = This.Value
  4104. ENDPROC
  4105. THISFORM
  4106. TXTINPUT
  4107. FONTITALIC
  4108. VALUE
  4109. Click,
  4110. c:\vfp\samples\controls\objects\
  4111. 80896044.tmp
  4112. c:\vfp\samples\controls\objects\80896044.tmp
  4113. checkbox
  4114. checkbox
  4115. chkBold
  4116. Formset1.frmLeft
  4117. `Top = 53
  4118. Left = 190
  4119. Height = 15
  4120. Width = 90
  4121. Caption = "Bold"
  4122. Value = .F.
  4123. Name = "chkBold"
  4124. EPROCEDURE Click
  4125. ThisForm.txtInput.FontBold = This.Value
  4126. ENDPROC
  4127. THISFORM
  4128. TXTINPUT
  4129. FONTBOLD
  4130. VALUE
  4131. Click,
  4132. c:\vfp\samples\controls\objects\
  4133. 80896044.tmp
  4134. c:\vfp\samples\controls\objects\80896044.tmp
  4135. commandbutton
  4136. commandbutton
  4137. cmdClear
  4138. Formset1.frmLeft
  4139. WTop = 84
  4140. Left = 96
  4141. Height = 23
  4142. Width = 110
  4143. Caption = "\<Clear"
  4144. Name = "cmdClear"
  4145. PROCEDURE Click
  4146. ThisForm.txtInput.Value = ""
  4147. ThisForm.txtInput.FontBold = .F.
  4148. ThisForm.txtInput.FontItalic = .F.
  4149. ThisForm.chkItalic.Value = .F.
  4150. ThisForm.chkBold.Value = .F.
  4151. ENDPROC
  4152. THISFORM
  4153. TXTINPUT
  4154. VALUE
  4155. FONTBOLD
  4156. FONTITALIC    
  4157. CHKITALIC
  4158. CHKBOLD
  4159. Click,
  4160. c:\vfp\samples\controls\objects\
  4161. 80896044.tmp
  4162. c:\vfp\samples\controls\objects\80896044.tmp
  4163. frmRight
  4164. Formset1
  4165. ScaleMode = 3
  4166. Top = 11
  4167. Left = 339
  4168. Height = 235
  4169. Width = 231
  4170. BackColor = 192,192,192
  4171. Caption = "Right Form"
  4172. Name = "frmRight"
  4173. commandbutton
  4174. commandbutton
  4175. cmdCaption1
  4176. Formset1.frmRight
  4177. kTop = 17
  4178. Left = 15
  4179. Height = 23
  4180. Width = 200
  4181. Caption = "Change Left Form Caption"
  4182. Name = "cmdCaption1"
  4183. ^PROCEDURE Click
  4184. ThisFormSet.frmLeft.Caption = ThisFormSet.frmLeft.txtInput.Value
  4185. ENDPROC
  4186. THISFORMSET
  4187. FRMLEFT
  4188. CAPTION
  4189. TXTINPUT
  4190. VALUE
  4191. Click,
  4192. c:\vfp\samples\controls\objects\
  4193. 80896044.tmp
  4194. c:\vfp\samples\controls\objects\80896044.tmp
  4195. commandbutton
  4196. commandbutton
  4197. cmdCaption2
  4198. Formset1.frmRight
  4199. }Top = 60
  4200. Left = 15
  4201. Height = 24
  4202. Width = 200
  4203. AutoSize = .T.
  4204. Caption = "Change This Form's Caption"
  4205. Name = "cmdCaption2"
  4206. SPROCEDURE Click
  4207. ThisForm.Caption = ThisFormSet.frmLeft.txtInput.Value
  4208. ENDPROC
  4209. THISFORM
  4210. CAPTION
  4211. THISFORMSET
  4212. FRMLEFT
  4213. TXTINPUT
  4214. VALUE
  4215. Click,
  4216. c:\vfp\samples\controls\objects\
  4217. 80896044.tmp
  4218. c:\vfp\samples\controls\objects\80896044.tmp
  4219. commandbutton
  4220. commandbutton
  4221. cmdChgBold
  4222. Formset1.frmRight
  4223. fTop = 103
  4224. Left = 15
  4225. Height = 23
  4226. Width = 200
  4227. Caption = "Change Bold Setting"
  4228. Name = "cmdChgBold"
  4229. PROCEDURE Click
  4230. ThisFormSet.frmLeft.chkBold.Value = NOT ThisFormSet.frmLeft.chkBold.Value
  4231. ThisFormSet.frmLeft.chkBold.CLICK
  4232. ENDPROC
  4233. THISFORMSET
  4234. FRMLEFT
  4235. CHKBOLD
  4236. VALUE
  4237. CLICK
  4238. Click,
  4239. c:\vfp\samples\controls\objects\
  4240. 80896044.tmp
  4241. c:\vfp\samples\controls\objects\80896044.tmp
  4242. commandbutton
  4243. commandbutton
  4244. cmdQuit
  4245. Formset1.frmRight
  4246. VTop = 188
  4247. Left = 15
  4248. Height = 23
  4249. Width = 200
  4250. Caption = "\<Quit"
  4251. Name = "cmdQuit"
  4252. 1PROCEDURE Click
  4253. release thisformset
  4254. ENDPROC
  4255. THISFORMSET
  4256. Click,
  4257. c:\vfp\samples\controls\objects\
  4258. 80896044.tmp
  4259. c:\vfp\samples\controls\objects\80896044.tmp
  4260. commandbutton
  4261. commandbutton
  4262. cmdHideShow
  4263. Formset1.frmRight
  4264. bTop = 148
  4265. Left = 15
  4266. Height = 23
  4267. Width = 200
  4268. Caption = "Hide Left Form"
  4269. Name = "cmdHideShow"
  4270. PROCEDURE Click
  4271. #define SHOW_LOC "Show Left Form"
  4272. #define HIDE_LOC "Hide Left Form"
  4273. IF ThisFormSet.frmLeft.Visible
  4274.     ThisFormSet.frmLeft.Hide
  4275.     This.Caption = "Show Left Form"
  4276.     ThisFormSet.frmLeft.Show
  4277.     This.Caption = "Hide Left Form"
  4278. ENDIF
  4279. ENDPROC
  4280. Show Left Form
  4281. Hide Left Form
  4282. THISFORMSET
  4283. FRMLEFT
  4284. VISIBLE
  4285. CAPTION
  4286. Click,
  4287. c:\vfp\samples\controls\objects\
  4288. 80896044.tmp
  4289. c:\vfp\samples\controls\objects\80896044.tmp
  4290. DArial, 0, 10, 6, 16, 13, 16, 3, 0
  4291. Arial, 1, 10, 6, 16, 13, 15, 3, 0
  4292. mainb
  4293. Unload,
  4294. c:\vfp\samples\controls\objects\
  4295. objects.scx
  4296. c:\vfp\samples\controls\objects\objects.scx
  4297. THISFORM
  4298. TXTINPUT
  4299. FONTITALIC
  4300. VALUE
  4301. Click,
  4302. c:\vfp\samples\controls\objects\
  4303. objects.scx
  4304. c:\vfp\samples\controls\objects\objects.scx
  4305. THISFORM
  4306. TXTINPUT
  4307. FONTBOLD
  4308. VALUE
  4309. Click,
  4310. c:\vfp\samples\controls\objects\
  4311. objects.scx
  4312. c:\vfp\samples\controls\objects\objects.scx
  4313. THISFORM
  4314. TXTINPUT
  4315. VALUE
  4316. FONTBOLD
  4317. FONTITALIC    
  4318. CHKITALIC
  4319. CHKBOLD
  4320. Click,
  4321. c:\vfp\samples\controls\objects\
  4322. objects.scx
  4323. c:\vfp\samples\controls\objects\objects.scx
  4324. THISFORMSET
  4325. FRMLEFT
  4326. CAPTION
  4327. TXTINPUT
  4328. VALUE
  4329. Click,
  4330. c:\vfp\samples\controls\objects\
  4331. objects.scx
  4332. c:\vfp\samples\controls\objects\objects.scx
  4333. THISFORM
  4334. CAPTION
  4335. THISFORMSET
  4336. FRMLEFT
  4337. TXTINPUT
  4338. VALUE
  4339. Click,
  4340. c:\vfp\samples\controls\objects\
  4341. objects.scx
  4342. c:\vfp\samples\controls\objects\objects.scx
  4343. THISFORMSET
  4344. FRMLEFT
  4345. CHKBOLD
  4346. VALUE
  4347. CLICK
  4348. Click,
  4349. c:\vfp\samples\controls\objects\
  4350. objects.scx
  4351. c:\vfp\samples\controls\objects\objects.scx
  4352. THISFORMSET
  4353. Click,
  4354. c:\vfp\samples\controls\objects\
  4355. objects.scx
  4356. c:\vfp\samples\controls\objects\objects.scx
  4357. Show Left Form
  4358. Hide Left Form
  4359. THISFORMSET
  4360. FRMLEFT
  4361. VISIBLE
  4362. CAPTION
  4363. Click,
  4364. c:\vfp\samples\controls\objects\
  4365. objects.scx
  4366. c:\vfp\samples\controls\objects\objects.scx
  4367. PLATFORM
  4368. UNIQUEID
  4369. TIMESTAMP
  4370. CLASS
  4371. CLASSLOC
  4372. BASECLASS
  4373. OBJNAME
  4374. PARENT
  4375. PROPERTIES
  4376. PROTECTED
  4377. METHODS
  4378. OBJCODE
  4379. COMMENT
  4380. RESERVED1
  4381. RESERVED2
  4382. RESERVED3
  4383. RESERVED4
  4384. RESERVED5
  4385. RESERVED6
  4386. RESERVED7
  4387. RESERVED8
  4388. RESERVED9
  4389. RESERVED10
  4390.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTT15OKKU 493774041        17                  18        19                  20                                                                              31                                                                                           WINDOWS _QUL0HX24E 496785610        23                  24        25        26        27                                                                                                                                                                           WINDOWS _QTT15OKL0 496785610        32                  33        34                  35                  42       851                                                                                                                                             WINDOWS _QTT15OKLH 496785610        61                  62        63        64        65                                                                                                                                                                           WINDOWS _QTT15OKMI 496785610        79                  80        81        82        83                 108       861                                                                                                                                             WINDOWS _QTT15OKNY 492785795       141                 142       143       144       145                 166       883                                                                                                                                             WINDOWS _QTT15OKPA 492785795       199                 200       201       202       204                 226       905                                                                                                                                             WINDOWS _QTU0MMHDB 492395229       261                 262       263       264       265                                                                                                                                                                           WINDOWS _QTU0MMHDO 490834308       269                 270       271       272       273                                                                                                                                                                           WINDOWS _QTU0MMHE6 496785610       281                 282       283       284       285                 290       927                                                                                                                                             WINDOWS _QTU0MMHEO 492785796       312                 313       314       315       316                 320       942                                                                                                                                             WINDOWS _QTU0MMHF5 492785796       342                 343       344       345       346                 350       957                                                                                                                                             WINDOWS _QTU0MMHFH 496785610       378                 379       380       381       382                 386       975                                                                                                                                             WINDOWS _QTU0MMHFY 492785796       414                 415       416       417       418                 422       993                                                                                                                                             COMMENT FONTINFO                                                                     433                                                                                                                                                                          
  4391. VERSION =  0.028
  4392. dataenvironment
  4393. dataenvironment
  4394. Datanavigation
  4395. KLeft = 103
  4396. Top = 200
  4397. Width = 615
  4398. Height = 326
  4399. Name = "Datanavigation"
  4400. cursor
  4401. cursor
  4402. Cursor1
  4403. Datanavigation.
  4404. oLeft = 20
  4405. Top = 10
  4406. Width = 106
  4407. Height = 126
  4408. Alias = "pfsam2"
  4409. CursorSource = pfsam2.dbf
  4410. Name = "Cursor1"
  4411. frmpgfsam1
  4412. ScaleMode = 3
  4413. Top = 103
  4414. Left = 107
  4415. Height = 275
  4416. Width = 426
  4417. AutoCenter = .T.
  4418. BackColor = 192,192,192
  4419. Caption = "PageFrame Example - No Tabs"
  4420. DataSession = 2
  4421. DefButton = DefButton
  4422. Name = "frmpgfsam1"
  4423. PROCEDURE Unload
  4424. * If this form is run from main.scx in controls.app,
  4425. * the hidden form object, main, is made visible when
  4426. * this form is unloaded
  4427. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  4428.     main.show
  4429. ENDIF
  4430. ENDPROC
  4431. mainb
  4432. Unload,
  4433. j:\rodh\samples\controls\pgframe\
  4434. 03294785.tmp
  4435. j:\rodh\samples\controls\pgframe\03294785.tmp
  4436.     pageframe
  4437.     pageframe
  4438. pgfcolor
  4439. frmpgfsam1.
  4440. ErasePage = .T.
  4441. PageCount = 3
  4442. BorderWidth = 3
  4443. BorderColor = 128,0,0
  4444. Top = 80
  4445. Left = 11
  4446. Height = 142
  4447. Width = 398
  4448. SpecialEffect = 2
  4449. Tabs = .F.
  4450. TabIndex = 6
  4451. TabStop = .F.
  4452. Name = "pgfcolor"
  4453. Page1.Caption = "Page1"
  4454. Page1.BackColor = 255,0,0
  4455. Page1.Name = "pgone"
  4456. Page2.Caption = "Page2"
  4457. Page2.BackColor = 128,0,0
  4458. Page2.Name = "pgtwo"
  4459. Page3.Caption = "Page3"
  4460. Page3.BackColor = 255,128,128
  4461. Page3.Name = "pgthree"
  4462. optiongroup
  4463. optiongroup
  4464. opgpg1color
  4465. frmpgfsam1.pgfcolor.pgone
  4466. ButtonCount = 3
  4467. AutoSize = .F.
  4468. BackColor = 192,192,192
  4469. Caption = "Optiongroup1"
  4470. Height = 59
  4471. Left = 33
  4472. Top = 37
  4473. Width = 81
  4474. Name = "opgpg1color"
  4475. Option1.BackColor = 192,192,192
  4476. Option1.Caption = "Red"
  4477. Option1.Value = F
  4478. Option1.Height = 15
  4479. Option1.Left = 5
  4480. Option1.SpecialEffect = 0
  4481. Option1.Style = 0
  4482. Option1.Top = 5
  4483. Option1.Width = 71
  4484. Option1.DisabledForeColor = 192,192,192
  4485. Option1.DisabledBackColor = 255,255,255
  4486. Option1.Name = "optpg1red"
  4487. Option2.BackColor = 192,192,192
  4488. Option2.Caption = "Green"
  4489. Option2.Height = 15
  4490. Option2.Left = 5
  4491. Option2.Top = 22
  4492. Option2.Width = 71
  4493. Option2.Name = "optpg1green"
  4494. Option3.BackColor = 192,192,192
  4495. Option3.Caption = "Blue"
  4496. Option3.Height = 15
  4497. Option3.Left = 5
  4498. Option3.Top = 39
  4499. Option3.Width = 71
  4500. Option3.Name = "optpg1blue"
  4501. YPROCEDURE optpg1red.Click
  4502. thisform.pgfcolor.pgone.backcolor=RGB(255,0,0)
  4503. ENDPROC
  4504. PROCEDURE optpg1red.Init
  4505. thisform.pgfcolor.pgone.opgpg1color.optpg1red.value=1
  4506. ENDPROC
  4507. PROCEDURE optpg1green.Click
  4508. thisform.pgfcolor.pgone.backcolor=RGB(0,255,0)
  4509. ENDPROC
  4510. PROCEDURE optpg1blue.Click
  4511. thisform.pgfcolor.pgone.backcolor=RGB(0,0,255)
  4512. ENDPROC
  4513. THISFORM
  4514. PGFCOLOR
  4515. PGONE    
  4516. BACKCOLOR
  4517. THISFORM
  4518. PGFCOLOR
  4519. PGONE
  4520. OPGPG1COLOR    
  4521. OPTPG1RED
  4522. VALUE"
  4523. THISFORM
  4524. PGFCOLOR
  4525. PGONE    
  4526. BACKCOLOR"
  4527. THISFORM
  4528. PGFCOLOR
  4529. PGONE    
  4530. BACKCOLOR
  4531. optpg1red.Click,
  4532. optpg1red.Initx
  4533. optpg1green.Click
  4534. optpg1blue.Click!
  4535. j:\rodh\samples\controls\pgframe\
  4536. 03294785.tmp
  4537. j:\rodh\samples\controls\pgframe\03294785.tmp
  4538. optiongroup
  4539. optiongroup
  4540. opgpg2color
  4541. frmpgfsam1.pgfcolor.pgtwo
  4542. ButtonCount = 3
  4543. AutoSize = .F.
  4544. BackColor = 192,192,192
  4545. Caption = "Optiongroup1"
  4546. Height = 59
  4547. Left = 141
  4548. Top = 37
  4549. Width = 81
  4550. Name = "opgpg2color"
  4551. Option1.BackColor = 192,192,192
  4552. Option1.Caption = "Red"
  4553. Option1.Value = F
  4554. Option1.Height = 15
  4555. Option1.Left = 5
  4556. Option1.Top = 5
  4557. Option1.Width = 71
  4558. Option1.Name = "optpg2red"
  4559. Option2.BackColor = 192,192,192
  4560. Option2.Caption = "Green"
  4561. Option2.Height = 15
  4562. Option2.Left = 5
  4563. Option2.Top = 22
  4564. Option2.Width = 71
  4565. Option2.Name = "optpg2green"
  4566. Option3.BackColor = 192,192,192
  4567. Option3.Caption = "Blue"
  4568. Option3.Height = 15
  4569. Option3.Left = 5
  4570. Option3.Top = 39
  4571. Option3.Width = 71
  4572. Option3.Name = "optpg2blue"
  4573. _PROCEDURE optpg2red.Click
  4574. Thisform.pgfcolor.pgtwo.backcolor = RGB(128,0,0)
  4575. ENDPROC
  4576. PROCEDURE optpg2red.Init
  4577. Thisform.pgfcolor.pgtwo.opgpg2color.optpg2red.value=1
  4578. ENDPROC
  4579. PROCEDURE optpg2green.Click
  4580. Thisform.pgfcolor.pgtwo.backcolor = RGB(0,128,0)
  4581. ENDPROC
  4582. PROCEDURE optpg2blue.Click
  4583. Thisform.pgfcolor.pgtwo.backcolor = RGB(0,0,128)
  4584. ENDPROC
  4585. THISFORM
  4586. PGFCOLOR
  4587. PGTWO    
  4588. BACKCOLOR
  4589. THISFORM
  4590. PGFCOLOR
  4591. PGTWO
  4592. OPGPG2COLOR    
  4593. OPTPG2RED
  4594. VALUE"
  4595. THISFORM
  4596. PGFCOLOR
  4597. PGTWO    
  4598. BACKCOLOR"
  4599. THISFORM
  4600. PGFCOLOR
  4601. PGTWO    
  4602. BACKCOLOR
  4603. optpg2red.Click,
  4604. optpg2red.Initx
  4605. optpg2green.Click
  4606. optpg2blue.Click!
  4607. j:\rodh\samples\controls\pgframe\
  4608. 03294785.tmp
  4609. j:\rodh\samples\controls\pgframe\03294785.tmp
  4610. optiongroup
  4611. optiongroup
  4612. opgpg3color
  4613. frmpgfsam1.pgfcolor.pgthree.
  4614. ButtonCount = 3
  4615. AutoSize = .F.
  4616. BackColor = 192,192,192
  4617. Caption = "Optiongroup1"
  4618. Value = 0
  4619. Height = 59
  4620. Left = 261
  4621. Top = 37
  4622. Width = 81
  4623. Name = "opgpg3color"
  4624. Option1.BackColor = 192,192,192
  4625. Option1.Caption = "Red"
  4626. Option1.Value = F
  4627. Option1.Height = 15
  4628. Option1.Left = 5
  4629. Option1.Top = 5
  4630. Option1.Width = 71
  4631. Option1.Name = "optpg3red"
  4632. Option2.BackColor = 192,192,192
  4633. Option2.Caption = "Green"
  4634. Option2.Value = F
  4635. Option2.Height = 15
  4636. Option2.Left = 5
  4637. Option2.Top = 22
  4638. Option2.Width = 71
  4639. Option2.Name = "optpg3green"
  4640. Option3.BackColor = 192,192,192
  4641. Option3.Caption = "Blue"
  4642. Option3.Value = F
  4643. Option3.Height = 15
  4644. Option3.Left = 5
  4645. Option3.Top = 39
  4646. Option3.Width = 71
  4647. Option3.Name = "optpg3blue"
  4648. hPROCEDURE optpg3red.Click
  4649. thisform.pgfcolor.pgthree.backcolor=RGB(255,128,128)
  4650. ENDPROC
  4651. PROCEDURE optpg3red.Init
  4652. Thisform.pgfcolor.pgthree.opgpg3color.optpg3red.value=1
  4653. ENDPROC
  4654. PROCEDURE optpg3green.Click
  4655. thisform.pgfcolor.pgthree.backcolor=RGB(0,255,64)
  4656. ENDPROC
  4657. PROCEDURE optpg3blue.Click
  4658. thisform.pgfcolor.pgthree.backcolor=RGB(0,128,255)
  4659. ENDPROC
  4660. THISFORM
  4661. PGFCOLOR
  4662. PGTHREE    
  4663. BACKCOLOR
  4664. THISFORM
  4665. PGFCOLOR
  4666. PGTHREE
  4667. OPGPG3COLOR    
  4668. OPTPG3RED
  4669. VALUE"
  4670. THISFORM
  4671. PGFCOLOR
  4672. PGTHREE    
  4673. BACKCOLOR"
  4674. THISFORM
  4675. PGFCOLOR
  4676. PGTHREE    
  4677. BACKCOLOR
  4678. optpg3red.Click,
  4679. optpg3red.Initz
  4680. optpg3green.Click
  4681. optpg3blue.Click'
  4682. j:\rodh\samples\controls\pgframe\
  4683. 03294785.tmp
  4684. j:\rodh\samples\controls\pgframe\03294785.tmp
  4685. image
  4686. image
  4687. Imgfox
  4688. frmpgfsam1.
  4689. {Picture = (sys(2004)+'fox.bmp')
  4690. BackStyle = 1
  4691. Height = 63
  4692. Left = 30
  4693. Stretch = 2
  4694. Top = 9
  4695. Width = 74
  4696. Name = "Imgfox"
  4697. textbox
  4698. textbox
  4699. Txtpgnum
  4700. frmpgfsam1.
  4701. BackColor = 192,192,192
  4702. ControlSource = "pfsam2.text"
  4703. Enabled = .F.
  4704. Height = 61
  4705. Left = 144
  4706. ReadOnly = .T.
  4707. TabIndex = 0
  4708. Top = 12
  4709. Width = 241
  4710. DisabledForeColor = 0,0,0
  4711. DisabledBackColor = 255,255,255
  4712. Name = "Txtpgnum"
  4713. commandbutton
  4714. commandbutton
  4715. cmdtop
  4716. frmpgfsam1.
  4717. Top = 228
  4718. Left = 12
  4719. Height = 37
  4720. Width = 73
  4721. Caption = "1st Page"
  4722. Default = .F.
  4723. Enabled = .F.
  4724. TabIndex = 1
  4725. Name = "cmdtop"
  4726. PROCEDURE Click
  4727. Goto 1
  4728. thisform.txtpgnum.refresh
  4729. thisform.pgfcolor.pgone.zorder
  4730. thisform.cmdtop.enabled=.F.
  4731. thisform.cmdback.enabled=.F.
  4732. thisform.cmdbottom.enabled=.T.
  4733. thisform.cmdnext.enabled=.T.
  4734. ENDPROC
  4735. THISFORM
  4736. TXTPGNUM
  4737. REFRESH
  4738. PGFCOLOR
  4739. PGONE
  4740. ZORDER
  4741. CMDTOP
  4742. ENABLED
  4743. CMDBACK    
  4744. CMDBOTTOM
  4745. CMDNEXT
  4746. Click,
  4747. j:\rodh\samples\controls\pgframe\
  4748. 03294785.tmp
  4749. j:\rodh\samples\controls\pgframe\03294785.tmp
  4750. commandbutton
  4751. commandbutton
  4752.     cmdbottom
  4753. frmpgfsam1.
  4754. iTop = 228
  4755. Left = 264
  4756. Height = 37
  4757. Width = 73
  4758. Caption = "Last Page"
  4759. TabIndex = 4
  4760. Name = "cmdbottom"
  4761. PROCEDURE Click
  4762. Goto 3
  4763. thisform.txtpgnum.refresh
  4764. Thisform.pgfcolor.pgthree.zorder
  4765. Thisform.cmdbottom.enabled=.F.
  4766. Thisform.cmdnext.enabled=.F.
  4767. Thisform.cmdtop.enabled=.T.
  4768. Thisform.cmdback.enabled=.T.
  4769. ENDPROC
  4770. THISFORM
  4771. TXTPGNUM
  4772. REFRESH
  4773. PGFCOLOR
  4774. PGTHREE
  4775. ZORDER    
  4776. CMDBOTTOM
  4777. ENABLED
  4778. CMDNEXT
  4779. CMDTOP
  4780. CMDBACK
  4781. Click,
  4782. j:\rodh\samples\controls\pgframe\
  4783. 03294785.tmp
  4784. j:\rodh\samples\controls\pgframe\03294785.tmp
  4785. commandbutton
  4786. commandbutton
  4787. cmdnext
  4788. frmpgfsam1.
  4789. bTop = 228
  4790. Left = 180
  4791. Height = 37
  4792. Width = 73
  4793. Caption = "Next"
  4794. TabIndex = 3
  4795. Name = "cmdnext"
  4796. ;PROCEDURE Click
  4797. var1=thisform.pgfcolor.activepage
  4798. skip 1
  4799. thisform.txtpgnum.refresh
  4800. If var1 = 1
  4801.     thisform.pgfcolor.pgtwo.zorder
  4802.     thisform.cmdtop.enabled=.T.
  4803.     thisform.cmdback.enabled=.T.
  4804.     thisform.pgfcolor.pgthree.zorder
  4805.     thisform.cmdnext.enabled=.F.
  4806.     thisform.cmdbottom.enabled=.F.
  4807. endif
  4808. ENDPROC
  4809. THISFORM
  4810. PGFCOLOR
  4811. ACTIVEPAGE
  4812. TXTPGNUM
  4813. REFRESH
  4814. PGTWO
  4815. ZORDER
  4816. CMDTOP
  4817. ENABLED
  4818. CMDBACK
  4819. PGTHREE
  4820. CMDNEXT    
  4821. CMDBOTTOM
  4822. Click,
  4823. j:\rodh\samples\controls\pgframe\
  4824. 03294785.tmp
  4825. j:\rodh\samples\controls\pgframe\03294785.tmp
  4826. commandbutton
  4827. commandbutton
  4828. cmdback
  4829. frmpgfsam1.
  4830. pTop = 228
  4831. Left = 96
  4832. Height = 37
  4833. Width = 73
  4834. Caption = "Back"
  4835. Enabled = .F.
  4836. TabIndex = 2
  4837. Name = "cmdback"
  4838. :PROCEDURE Click
  4839. var1=thisform.pgfcolor.activepage
  4840. skip -1
  4841. thisform.txtpgnum.refresh
  4842. If var1 = 2
  4843.     thisform.pgfcolor.pgone.zorder
  4844.     thisform.cmdtop.enabled=.F.
  4845.     thisform.cmdback.enabled=.F.
  4846.     thisform.pgfcolor.pgtwo.zorder
  4847.     thisform.cmdbottom.enabled=.T.
  4848.     thisform.cmdnext.enabled=.T.
  4849. endif
  4850. ENDPROC
  4851. THISFORM
  4852. PGFCOLOR
  4853. ACTIVEPAGE
  4854. TXTPGNUM
  4855. REFRESH
  4856. PGONE
  4857. ZORDER
  4858. CMDTOP
  4859. ENABLED
  4860. CMDBACK
  4861. PGTWO    
  4862. CMDBOTTOM
  4863. CMDNEXT
  4864. Click,
  4865. j:\rodh\samples\controls\pgframe\
  4866. 03294785.tmp
  4867. j:\rodh\samples\controls\pgframe\03294785.tmp
  4868. commandbutton
  4869. commandbutton
  4870. cmdexit
  4871. frmpgfsam1.
  4872. qTop = 228
  4873. Left = 348
  4874. Height = 37
  4875. Width = 73
  4876. Caption = "Exit"
  4877. Default = .T.
  4878. TabIndex = 5
  4879. Name = "cmdexit"
  4880. ,PROCEDURE Click
  4881. RELEASE THISFORM
  4882. ENDPROC
  4883. THISFORM
  4884. Click,
  4885. j:\rodh\samples\controls\pgframe\
  4886. 03294785.tmp
  4887. j:\rodh\samples\controls\pgframe\03294785.tmp
  4888. "Arial, 1, 10, 6, 16, 13, 14, 3, 0
  4889. VERSION =  0.028
  4890. dataenvironment
  4891. dataenvironment
  4892. Datanavigation
  4893. KLeft = 103
  4894. Top = 200
  4895. Width = 615
  4896. Height = 326
  4897. Name = "Datanavigation"
  4898. cursor
  4899. cursor
  4900. Cursor1
  4901. Datanavigation
  4902. oLeft = 20
  4903. Top = 10
  4904. Width = 106
  4905. Height = 126
  4906. Alias = "pfsam2"
  4907. CursorSource = pfsam2.dbf
  4908. Name = "Cursor1"
  4909. frmpgfsam1
  4910. ScaleMode = 3
  4911. Top = 18
  4912. Left = 55
  4913. Height = 275
  4914. Width = 426
  4915. AutoCenter = .T.
  4916. BackColor = 192,192,192
  4917. Caption = "PageFrame Example - No Tabs"
  4918. DataSession = 2
  4919. DefButton = DefButton
  4920. Name = "frmpgfsam1"
  4921. PROCEDURE Unload
  4922. * If this form is run from main.scx in controls.app,
  4923. * the hidden form object, main, is made visible when
  4924. * this form is unloaded
  4925. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  4926.     main.show
  4927. ENDIF
  4928. ENDPROC
  4929. mainb
  4930. Unload,
  4931. c:\vfp\samples\controls\pgframe\
  4932. pfsam2.scx
  4933. c:\vfp\samples\controls\pgframe\pfsam2.scx
  4934.     pageframe
  4935.     pageframe
  4936. pgfcolor
  4937. frmpgfsam1
  4938. ErasePage = .T.
  4939. PageCount = 3
  4940. BorderWidth = 3
  4941. BorderColor = 128,0,0
  4942. Top = 80
  4943. Left = 11
  4944. Height = 141
  4945. Width = 398
  4946. SpecialEffect = 2
  4947. Tabs = .F.
  4948. TabIndex = 6
  4949. TabStop = .F.
  4950. Name = "pgfcolor"
  4951. Page1.Caption = "Page1"
  4952. Page1.BackColor = 255,0,0
  4953. Page1.Name = "pgone"
  4954. Page2.Caption = "Page2"
  4955. Page2.BackColor = 128,0,0
  4956. Page2.Name = "pgtwo"
  4957. Page3.Caption = "Page3"
  4958. Page3.BackColor = 255,128,128
  4959. Page3.Name = "pgthree"
  4960. optiongroup
  4961. optiongroup
  4962. opgpg1color
  4963. frmpgfsam1.pgfcolor.pgone
  4964. ButtonCount = 3
  4965. AutoSize = .F.
  4966. BackColor = 192,192,192
  4967. Caption = "Optiongroup1"
  4968. Height = 59
  4969. Left = 33
  4970. Top = 37
  4971. Width = 81
  4972. Name = "opgpg1color"
  4973. Option1.BackColor = 192,192,192
  4974. Option1.Caption = "Red"
  4975. Option1.Value = F
  4976. Option1.Height = 15
  4977. Option1.Left = 5
  4978. Option1.SpecialEffect = 0
  4979. Option1.Style = 0
  4980. Option1.Top = 5
  4981. Option1.Width = 71
  4982. Option1.DisabledForeColor = 192,192,192
  4983. Option1.DisabledBackColor = 255,255,255
  4984. Option1.Name = "optpg1red"
  4985. Option2.BackColor = 192,192,192
  4986. Option2.Caption = "Green"
  4987. Option2.Height = 15
  4988. Option2.Left = 5
  4989. Option2.Top = 22
  4990. Option2.Width = 71
  4991. Option2.Name = "optpg1green"
  4992. Option3.BackColor = 192,192,192
  4993. Option3.Caption = "Blue"
  4994. Option3.Height = 15
  4995. Option3.Left = 5
  4996. Option3.Top = 39
  4997. Option3.Width = 71
  4998. Option3.Name = "optpg1blue"
  4999. YPROCEDURE optpg1red.Click
  5000. thisform.pgfcolor.pgone.backcolor=RGB(255,0,0)
  5001. ENDPROC
  5002. PROCEDURE optpg1red.Init
  5003. thisform.pgfcolor.pgone.opgpg1color.optpg1red.value=1
  5004. ENDPROC
  5005. PROCEDURE optpg1green.Click
  5006. thisform.pgfcolor.pgone.backcolor=RGB(0,255,0)
  5007. ENDPROC
  5008. PROCEDURE optpg1blue.Click
  5009. thisform.pgfcolor.pgone.backcolor=RGB(0,0,255)
  5010. ENDPROC
  5011. THISFORM
  5012. PGFCOLOR
  5013. PGONE    
  5014. BACKCOLOR
  5015. THISFORM
  5016. PGFCOLOR
  5017. PGONE
  5018. OPGPG1COLOR    
  5019. OPTPG1RED
  5020. VALUE"
  5021. THISFORM
  5022. PGFCOLOR
  5023. PGONE    
  5024. BACKCOLOR"
  5025. THISFORM
  5026. PGFCOLOR
  5027. PGONE    
  5028. BACKCOLOR
  5029. optpg1red.Click,
  5030. optpg1red.Initx
  5031. optpg1green.Click
  5032. optpg1blue.Click!
  5033. c:\vfp\samples\controls\pgframe\
  5034. pfsam2.scx
  5035. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5036. optiongroup
  5037. optiongroup
  5038. opgpg2color
  5039. frmpgfsam1.pgfcolor.pgtwo
  5040. ButtonCount = 3
  5041. AutoSize = .F.
  5042. BackColor = 192,192,192
  5043. Caption = "Optiongroup1"
  5044. Height = 59
  5045. Left = 141
  5046. Top = 37
  5047. Width = 81
  5048. Name = "opgpg2color"
  5049. Option1.BackColor = 192,192,192
  5050. Option1.Caption = "Red"
  5051. Option1.Value = F
  5052. Option1.Height = 15
  5053. Option1.Left = 5
  5054. Option1.Top = 5
  5055. Option1.Width = 71
  5056. Option1.Name = "optpg2red"
  5057. Option2.BackColor = 192,192,192
  5058. Option2.Caption = "Green"
  5059. Option2.Height = 15
  5060. Option2.Left = 5
  5061. Option2.Top = 22
  5062. Option2.Width = 71
  5063. Option2.Name = "optpg2green"
  5064. Option3.BackColor = 192,192,192
  5065. Option3.Caption = "Blue"
  5066. Option3.Height = 15
  5067. Option3.Left = 5
  5068. Option3.Top = 39
  5069. Option3.Width = 71
  5070. Option3.Name = "optpg2blue"
  5071. _PROCEDURE optpg2red.Click
  5072. Thisform.pgfcolor.pgtwo.backcolor = RGB(128,0,0)
  5073. ENDPROC
  5074. PROCEDURE optpg2red.Init
  5075. Thisform.pgfcolor.pgtwo.opgpg2color.optpg2red.value=1
  5076. ENDPROC
  5077. PROCEDURE optpg2green.Click
  5078. Thisform.pgfcolor.pgtwo.backcolor = RGB(0,128,0)
  5079. ENDPROC
  5080. PROCEDURE optpg2blue.Click
  5081. Thisform.pgfcolor.pgtwo.backcolor = RGB(0,0,128)
  5082. ENDPROC
  5083. THISFORM
  5084. PGFCOLOR
  5085. PGTWO    
  5086. BACKCOLOR
  5087. THISFORM
  5088. PGFCOLOR
  5089. PGTWO
  5090. OPGPG2COLOR    
  5091. OPTPG2RED
  5092. VALUE"
  5093. THISFORM
  5094. PGFCOLOR
  5095. PGTWO    
  5096. BACKCOLOR"
  5097. THISFORM
  5098. PGFCOLOR
  5099. PGTWO    
  5100. BACKCOLOR
  5101. optpg2red.Click,
  5102. optpg2red.Initx
  5103. optpg2green.Click
  5104. optpg2blue.Click!
  5105. c:\vfp\samples\controls\pgframe\
  5106. pfsam2.scx
  5107. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5108. optiongroup
  5109. optiongroup
  5110. opgpg3color
  5111. frmpgfsam1.pgfcolor.pgthree
  5112. ButtonCount = 3
  5113. AutoSize = .F.
  5114. BackColor = 192,192,192
  5115. Caption = "Optiongroup1"
  5116. Value = 0
  5117. Height = 59
  5118. Left = 261
  5119. Top = 37
  5120. Width = 81
  5121. Name = "opgpg3color"
  5122. Option1.BackColor = 192,192,192
  5123. Option1.Caption = "Red"
  5124. Option1.Value = F
  5125. Option1.Height = 15
  5126. Option1.Left = 5
  5127. Option1.Top = 5
  5128. Option1.Width = 71
  5129. Option1.Name = "optpg3red"
  5130. Option2.BackColor = 192,192,192
  5131. Option2.Caption = "Green"
  5132. Option2.Value = F
  5133. Option2.Height = 15
  5134. Option2.Left = 5
  5135. Option2.Top = 22
  5136. Option2.Width = 71
  5137. Option2.Name = "optpg3green"
  5138. Option3.BackColor = 192,192,192
  5139. Option3.Caption = "Blue"
  5140. Option3.Value = F
  5141. Option3.Height = 15
  5142. Option3.Left = 5
  5143. Option3.Top = 39
  5144. Option3.Width = 71
  5145. Option3.Name = "optpg3blue"
  5146. hPROCEDURE optpg3red.Click
  5147. thisform.pgfcolor.pgthree.backcolor=RGB(255,128,128)
  5148. ENDPROC
  5149. PROCEDURE optpg3red.Init
  5150. Thisform.pgfcolor.pgthree.opgpg3color.optpg3red.value=1
  5151. ENDPROC
  5152. PROCEDURE optpg3green.Click
  5153. thisform.pgfcolor.pgthree.backcolor=RGB(0,255,64)
  5154. ENDPROC
  5155. PROCEDURE optpg3blue.Click
  5156. thisform.pgfcolor.pgthree.backcolor=RGB(0,128,255)
  5157. ENDPROC
  5158. THISFORM
  5159. PGFCOLOR
  5160. PGTHREE    
  5161. BACKCOLOR
  5162. THISFORM
  5163. PGFCOLOR
  5164. PGTHREE
  5165. OPGPG3COLOR    
  5166. OPTPG3RED
  5167. VALUE"
  5168. THISFORM
  5169. PGFCOLOR
  5170. PGTHREE    
  5171. BACKCOLOR"
  5172. THISFORM
  5173. PGFCOLOR
  5174. PGTHREE    
  5175. BACKCOLOR
  5176. optpg3red.Click,
  5177. optpg3red.Initz
  5178. optpg3green.Click
  5179. optpg3blue.Click'
  5180. c:\vfp\samples\controls\pgframe\
  5181. pfsam2.scx
  5182. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5183. image
  5184. image
  5185. Imgfox
  5186. frmpgfsam1
  5187. {Picture = (sys(2004)+'fox.bmp')
  5188. BackStyle = 1
  5189. Height = 63
  5190. Left = 30
  5191. Stretch = 2
  5192. Top = 9
  5193. Width = 74
  5194. Name = "Imgfox"
  5195. textbox
  5196. textbox
  5197. Txtpgnum
  5198. frmpgfsam1
  5199. BackColor = 192,192,192
  5200. ControlSource = "pfsam2.text"
  5201. Enabled = .F.
  5202. Height = 61
  5203. Left = 144
  5204. ReadOnly = .T.
  5205. TabIndex = 0
  5206. Top = 12
  5207. Width = 241
  5208. DisabledForeColor = 0,0,0
  5209. DisabledBackColor = 255,255,255
  5210. Name = "Txtpgnum"
  5211. commandbutton
  5212. commandbutton
  5213. cmdtop
  5214. frmpgfsam1
  5215. sTop = 228
  5216. Left = 12
  5217. Height = 37
  5218. Width = 73
  5219. Caption = "1st Page"
  5220. Default = .F.
  5221. TabIndex = 1
  5222. Name = "cmdtop"
  5223. PROCEDURE Click
  5224. Goto 1
  5225. thisform.txtpgnum.refresh
  5226. thisform.pgfcolor.pgone.zorder
  5227. thisform.cmdtop.enabled=.F.
  5228. thisform.cmdback.enabled=.F.
  5229. thisform.cmdbottom.enabled=.T.
  5230. thisform.cmdnext.enabled=.T.
  5231. ENDPROC
  5232. THISFORM
  5233. TXTPGNUM
  5234. REFRESH
  5235. PGFCOLOR
  5236. PGONE
  5237. ZORDER
  5238. CMDTOP
  5239. ENABLED
  5240. CMDBACK    
  5241. CMDBOTTOM
  5242. CMDNEXT
  5243. Click,
  5244. c:\vfp\samples\controls\pgframe\
  5245. pfsam2.scx
  5246. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5247. commandbutton
  5248. commandbutton
  5249.     cmdbottom
  5250. frmpgfsam1
  5251. iTop = 228
  5252. Left = 264
  5253. Height = 37
  5254. Width = 73
  5255. Caption = "Last Page"
  5256. TabIndex = 4
  5257. Name = "cmdbottom"
  5258. PROCEDURE Click
  5259. Goto 3
  5260. thisform.txtpgnum.refresh
  5261. Thisform.pgfcolor.pgthree.zorder
  5262. Thisform.cmdbottom.enabled=.F.
  5263. Thisform.cmdnext.enabled=.F.
  5264. Thisform.cmdtop.enabled=.T.
  5265. Thisform.cmdback.enabled=.T.
  5266. ENDPROC
  5267. THISFORM
  5268. TXTPGNUM
  5269. REFRESH
  5270. PGFCOLOR
  5271. PGTHREE
  5272. ZORDER    
  5273. CMDBOTTOM
  5274. ENABLED
  5275. CMDNEXT
  5276. CMDTOP
  5277. CMDBACK
  5278. Click,
  5279. c:\vfp\samples\controls\pgframe\
  5280. pfsam2.scx
  5281. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5282. commandbutton
  5283. commandbutton
  5284. cmdnext
  5285. frmpgfsam1
  5286. bTop = 228
  5287. Left = 180
  5288. Height = 37
  5289. Width = 73
  5290. Caption = "Next"
  5291. TabIndex = 3
  5292. Name = "cmdnext"
  5293. ;PROCEDURE Click
  5294. var1=thisform.pgfcolor.activepage
  5295. skip 1
  5296. thisform.txtpgnum.refresh
  5297. If var1 = 1
  5298.     thisform.pgfcolor.pgtwo.zorder
  5299.     thisform.cmdtop.enabled=.T.
  5300.     thisform.cmdback.enabled=.T.
  5301.     thisform.pgfcolor.pgthree.zorder
  5302.     thisform.cmdnext.enabled=.F.
  5303.     thisform.cmdbottom.enabled=.F.
  5304. endif
  5305. ENDPROC
  5306. THISFORM
  5307. PGFCOLOR
  5308. ACTIVEPAGE
  5309. TXTPGNUM
  5310. REFRESH
  5311. PGTWO
  5312. ZORDER
  5313. CMDTOP
  5314. ENABLED
  5315. CMDBACK
  5316. PGTHREE
  5317. CMDNEXT    
  5318. CMDBOTTOM
  5319. Click,
  5320. c:\vfp\samples\controls\pgframe\
  5321. pfsam2.scx
  5322. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5323. commandbutton
  5324. commandbutton
  5325. cmdback
  5326. frmpgfsam1
  5327. aTop = 228
  5328. Left = 96
  5329. Height = 37
  5330. Width = 73
  5331. Caption = "Back"
  5332. TabIndex = 2
  5333. Name = "cmdback"
  5334. :PROCEDURE Click
  5335. var1=thisform.pgfcolor.activepage
  5336. skip -1
  5337. thisform.txtpgnum.refresh
  5338. If var1 = 2
  5339.     thisform.pgfcolor.pgone.zorder
  5340.     thisform.cmdtop.enabled=.F.
  5341.     thisform.cmdback.enabled=.F.
  5342.     thisform.pgfcolor.pgtwo.zorder
  5343.     thisform.cmdbottom.enabled=.T.
  5344.     thisform.cmdnext.enabled=.T.
  5345. endif
  5346. ENDPROC
  5347. THISFORM
  5348. PGFCOLOR
  5349. ACTIVEPAGE
  5350. TXTPGNUM
  5351. REFRESH
  5352. PGONE
  5353. ZORDER
  5354. CMDTOP
  5355. ENABLED
  5356. CMDBACK
  5357. PGTWO    
  5358. CMDBOTTOM
  5359. CMDNEXT
  5360. Click,
  5361. c:\vfp\samples\controls\pgframe\
  5362. pfsam2.scx
  5363. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5364. commandbutton
  5365. commandbutton
  5366. cmdexit
  5367. frmpgfsam1
  5368. qTop = 228
  5369. Left = 348
  5370. Height = 37
  5371. Width = 73
  5372. Caption = "Exit"
  5373. Default = .T.
  5374. TabIndex = 5
  5375. Name = "cmdexit"
  5376. ,PROCEDURE Click
  5377. RELEASE THISFORM
  5378. ENDPROC
  5379. THISFORM
  5380. Click,
  5381. c:\vfp\samples\controls\pgframe\
  5382. pfsam2.scx
  5383. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5384. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  5385. mainb
  5386. Unload,
  5387. c:\vfp\samples\controls\pgframe\
  5388. pfsam2.scx
  5389. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5390. THISFORM
  5391. PGFCOLOR
  5392. PGONE    
  5393. BACKCOLOR
  5394. THISFORM
  5395. PGFCOLOR
  5396. PGONE
  5397. OPGPG1COLOR    
  5398. OPTPG1RED
  5399. VALUE"
  5400. THISFORM
  5401. PGFCOLOR
  5402. PGONE    
  5403. BACKCOLOR"
  5404. THISFORM
  5405. PGFCOLOR
  5406. PGONE    
  5407. BACKCOLOR
  5408. optpg1red.Click,
  5409. optpg1red.Initx
  5410. optpg1green.Click
  5411. optpg1blue.Click!
  5412. c:\vfp\samples\controls\pgframe\
  5413. pfsam2.scx
  5414. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5415. THISFORM
  5416. PGFCOLOR
  5417. PGTWO    
  5418. BACKCOLOR
  5419. THISFORM
  5420. PGFCOLOR
  5421. PGTWO
  5422. OPGPG2COLOR    
  5423. OPTPG2RED
  5424. VALUE"
  5425. THISFORM
  5426. PGFCOLOR
  5427. PGTWO    
  5428. BACKCOLOR"
  5429. THISFORM
  5430. PGFCOLOR
  5431. PGTWO    
  5432. BACKCOLOR
  5433. optpg2red.Click,
  5434. optpg2red.Initx
  5435. optpg2green.Click
  5436. optpg2blue.Click!
  5437. c:\vfp\samples\controls\pgframe\
  5438. pfsam2.scx
  5439. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5440. THISFORM
  5441. PGFCOLOR
  5442. PGTHREE    
  5443. BACKCOLOR
  5444. THISFORM
  5445. PGFCOLOR
  5446. PGTHREE
  5447. OPGPG3COLOR    
  5448. OPTPG3RED
  5449. VALUE"
  5450. THISFORM
  5451. PGFCOLOR
  5452. PGTHREE    
  5453. BACKCOLOR"
  5454. THISFORM
  5455. PGFCOLOR
  5456. PGTHREE    
  5457. BACKCOLOR
  5458. optpg3red.Click,
  5459. optpg3red.Initz
  5460. optpg3green.Click
  5461. optpg3blue.Click'
  5462. c:\vfp\samples\controls\pgframe\
  5463. pfsam2.scx
  5464. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5465. THISFORM
  5466. TXTPGNUM
  5467. REFRESH
  5468. PGFCOLOR
  5469. PGONE
  5470. ZORDER
  5471. CMDTOP
  5472. ENABLED
  5473. CMDBACK    
  5474. CMDBOTTOM
  5475. CMDNEXT
  5476. Click,
  5477. c:\vfp\samples\controls\pgframe\
  5478. pfsam2.scx
  5479. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5480. THISFORM
  5481. TXTPGNUM
  5482. REFRESH
  5483. PGFCOLOR
  5484. PGTHREE
  5485. ZORDER    
  5486. CMDBOTTOM
  5487. ENABLED
  5488. CMDNEXT
  5489. CMDTOP
  5490. CMDBACK
  5491. Click,
  5492. c:\vfp\samples\controls\pgframe\
  5493. pfsam2.scx
  5494. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5495. THISFORM
  5496. PGFCOLOR
  5497. ACTIVEPAGE
  5498. TXTPGNUM
  5499. REFRESH
  5500. PGTWO
  5501. ZORDER
  5502. CMDTOP
  5503. ENABLED
  5504. CMDBACK
  5505. PGTHREE
  5506. CMDNEXT    
  5507. CMDBOTTOM
  5508. Click,
  5509. c:\vfp\samples\controls\pgframe\
  5510. pfsam2.scx
  5511. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5512. THISFORM
  5513. PGFCOLOR
  5514. ACTIVEPAGE
  5515. TXTPGNUM
  5516. REFRESH
  5517. PGONE
  5518. ZORDER
  5519. CMDTOP
  5520. ENABLED
  5521. CMDBACK
  5522. PGTWO    
  5523. CMDBOTTOM
  5524. CMDNEXT
  5525. Click,
  5526. c:\vfp\samples\controls\pgframe\
  5527. pfsam2.scx
  5528. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5529. THISFORM
  5530. Click,
  5531. c:\vfp\samples\controls\pgframe\
  5532. pfsam2.scx
  5533. c:\vfp\samples\controls\pgframe\pfsam2.scx
  5534. PLATFORM
  5535. UNIQUEID
  5536. TIMESTAMP
  5537. CLASS
  5538. CLASSLOC
  5539. BASECLASS
  5540. OBJNAME
  5541. PARENT
  5542. PROPERTIES
  5543. PROTECTED
  5544. METHODS
  5545. OBJCODE
  5546. COMMENT
  5547. RESERVED1
  5548. RESERVED2
  5549. RESERVED3
  5550. RESERVED4
  5551. RESERVED5
  5552. RESERVED6
  5553. RESERVED7
  5554. RESERVED8
  5555. RESERVED9
  5556. RESERVED10
  5557.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTV119FVT 492001508        17                  18        19                  20                                                                              23                                                                                           WINDOWS _QTV119FW2 496261177        24                  25        26                  27                  33       236                                                          52                                                                                 WINDOWS _QTV119FXF 496261177        53                  54        55        56        57                  60       246                                                                                                                                             WINDOWS _QTV119FZ1 492001508       106                 107       108       109       110                 113       263                                                                                                                                             COMMENT FONTINFO                                                                     124                                                                                                                                                                          
  5558. VERSION =  0.028
  5559. dataenvironment
  5560. dataenvironment
  5561. Datanavigation
  5562. ILeft = 72
  5563. Top = 56
  5564. Width = 581
  5565. Height = 266
  5566. Name = "Datanavigation"
  5567. frmlauncher
  5568. ScaleMode = 3
  5569. Top = 196
  5570. Left = 262
  5571. Height = 88
  5572. Width = 117
  5573. AutoCenter = .T.
  5574. BackColor = 192,192,192
  5575. Caption = "Launcher"
  5576. MaxButton = .F.
  5577. MinButton = .F.
  5578. Name = "frmlauncher"
  5579. PROCEDURE Unload
  5580. * If this form is run from main.scx in controls.app,
  5581. * the hidden form object, main, is made visible when
  5582. * this form is unloaded
  5583. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  5584.     main.show
  5585. ENDIF
  5586. ENDPROC
  5587. mainb
  5588. Unload,
  5589. c:\vfp\samples\controls\objects\
  5590. 80069746.tmp
  5591. c:\vfp\samples\controls\objects\80069746.tmp
  5592. ^aforms[1,0] 
  5593. commandbutton
  5594. commandbutton
  5595.     cmdLaunch
  5596. frmlauncher.
  5597. [Top = 11
  5598. Left = 12
  5599. Height = 23
  5600. Width = 97
  5601. Caption = "Launch Form"
  5602. Name = "cmdLaunch"
  5603. PROCEDURE Click
  5604. #define INSTANCE_LOC "Instance "
  5605. nInstance = ALEN(THISFORM.aForms)
  5606. * Run the form and assign the object variable to the array element
  5607. * The Linked keyword indicates that all instances will be released when
  5608. * the array is released. Without 'LINKED', the multiple instance forms
  5609. * would persist after the array is released
  5610. DO FORM Multi NAME THISFORM.aForms[nInstance] LINKED
  5611. *Set the caption to reflect the instance number
  5612. THISFORM.aForms[nInstance].Caption = INSTANCE_LOC + ;
  5613.         ALLTRIM(STR(nInstance))
  5614. *Set the Top and Left Properties to Cascade the new Forms
  5615. THISFORM.aForms[nInstance].Top = THISFORM.aForms[nInstance].Top + nInstance
  5616. THISFORM.aForms[nInstance].Left = THISFORM.aForms[nInstance].Left + nInstance
  5617. THISFORM.aForms[nInstance].Visible = .T.
  5618. *Redimension the array so that more instances of the form can be launched        
  5619. DIMENSION THISFORM.aforms[nInstance + 1]
  5620. ENDPROC
  5621. MultiJ
  5622. Instance CC
  5623. NINSTANCE
  5624. THISFORM
  5625. AFORMS
  5626. MULTI
  5627. CAPTION
  5628. VISIBLE
  5629. Click,
  5630. c:\vfp\samples\controls\objects\
  5631. 80069746.tmp
  5632. c:\vfp\samples\controls\objects\80069746.tmp
  5633. commandbutton
  5634. commandbutton
  5635. cmdQuit
  5636. frmlauncher.
  5637. RTop = 48
  5638. Left = 12
  5639. Height = 23
  5640. Width = 97
  5641. Caption = "Quit"
  5642. Name = "cmdQuit"
  5643. .PROCEDURE Click
  5644. RELEASE THISFORM
  5645. ENDPROC
  5646. THISFORM
  5647. Click,
  5648. c:\vfp\samples\controls\objects\
  5649. 80069746.tmp
  5650. c:\vfp\samples\controls\objects\80069746.tmp
  5651. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  5652. VERSION =  0.028
  5653. dataenvironment
  5654. dataenvironment
  5655. Datanavigation
  5656. ILeft = 72
  5657. Top = 56
  5658. Width = 581
  5659. Height = 266
  5660. Name = "Datanavigation"
  5661. frmlauncher
  5662. ScaleMode = 3
  5663. Top = 256
  5664. Left = 342
  5665. Height = 88
  5666. Width = 117
  5667. AutoCenter = .T.
  5668. BackColor = 192,192,192
  5669. Caption = "Launcher"
  5670. MaxButton = .F.
  5671. MinButton = .F.
  5672. Name = "frmlauncher"
  5673. PROCEDURE Unload
  5674. * If this form is run from main.scx in controls.app,
  5675. * the hidden form object, main, is made visible when
  5676. * this form is unloaded
  5677. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  5678.     main.show
  5679. ENDIF
  5680. ENDPROC
  5681. ENDPROC
  5682. ENDPROC
  5683. ENDPROC
  5684. mainb
  5685. Unload,
  5686. c:\vfp\samples\controls\objects\
  5687. launch.scx
  5688. c:\vfp\samples\controls\objects\launch.scx
  5689. ^aforms[1,0] 
  5690. commandbutton
  5691. commandbutton
  5692.     cmdLaunch
  5693. frmlauncher
  5694. [Top = 11
  5695. Left = 12
  5696. Height = 23
  5697. Width = 97
  5698. Caption = "Launch Form"
  5699. Name = "cmdLaunch"
  5700. }PROCEDURE Click
  5701. nInstance = ALEN(THISFORM.aForms)
  5702. * Run the form and assign the object variable to the array element
  5703. * The Linked keyword indicates that all instances will be released when
  5704. * the array is released. Without 'LINKED', the multiple instance forms
  5705. * would persist after the array is released
  5706. DO FORM Multi NAME THISFORM.aForms[nInstance] LINKED
  5707. *Set the caption to reflect the instance number
  5708. THISFORM.aForms[nInstance].Caption = "Instance " + ;
  5709.         ALLTRIM(STR(nInstance))
  5710. *Set the Top and Left Properties to Cascade the new Forms
  5711. THISFORM.aForms[nInstance].Top = THISFORM.aForms[nInstance].Top + nInstance
  5712. THISFORM.aForms[nInstance].Left = THISFORM.aForms[nInstance].Left + nInstance
  5713. THISFORM.aForms[nInstance].Visible = .T.
  5714. *Redimension the array so that more instances of the form can be launched        
  5715. DIMENSION THISFORM.aforms[nInstance + 1]
  5716. ENDPROC
  5717. MultiJ
  5718. Instance CC
  5719. NINSTANCE
  5720. THISFORM
  5721. AFORMS
  5722. MULTI
  5723. CAPTION
  5724. VISIBLE
  5725. Click,
  5726. c:\vfp\samples\controls\objects\
  5727. launch.scx
  5728. c:\vfp\samples\controls\objects\launch.scx
  5729. commandbutton
  5730. commandbutton
  5731. cmdQuit
  5732. frmlauncher
  5733. RTop = 48
  5734. Left = 12
  5735. Height = 23
  5736. Width = 97
  5737. Caption = "Quit"
  5738. Name = "cmdQuit"
  5739. RPROCEDURE Click
  5740. RELEASE THISFORM
  5741. ENDPROC
  5742. ENDPROC
  5743. ENDPROC
  5744. ENDPROC
  5745. ENDPROC
  5746. THISFORM
  5747. Click,
  5748. c:\vfp\samples\controls\objects\
  5749. launch.scx
  5750. c:\vfp\samples\controls\objects\launch.scx
  5751. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  5752. mainb
  5753. Unload,
  5754. c:\vfp\samples\controls\objects\
  5755. launch.scx
  5756. c:\vfp\samples\controls\objects\launch.scx
  5757. MultiJ
  5758. Instance CC
  5759. NINSTANCE
  5760. THISFORM
  5761. AFORMS
  5762. MULTI
  5763. CAPTION
  5764. VISIBLE
  5765. Click,
  5766. c:\vfp\samples\controls\objects\
  5767. launch.scx
  5768. c:\vfp\samples\controls\objects\launch.scx
  5769. THISFORM
  5770. Click,
  5771. c:\vfp\samples\controls\objects\
  5772. launch.scx
  5773. c:\vfp\samples\controls\objects\launch.scx
  5774. PLATFORM
  5775. UNIQUEID
  5776. TIMESTAMP
  5777. CLASS
  5778. CLASSLOC
  5779. BASECLASS
  5780. OBJNAME
  5781. PARENT
  5782. PROPERTIES
  5783. PROTECTED
  5784. METHODS
  5785. OBJCODE
  5786. COMMENT
  5787. RESERVED1
  5788. RESERVED2
  5789. RESERVED3
  5790. RESERVED4
  5791. RESERVED5
  5792. RESERVED6
  5793. RESERVED7
  5794. RESERVED8
  5795. RESERVED9
  5796. RESERVED10
  5797.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QUK0UO435 495939165         9                  10        11                  12                                                                              14                                                                                           WINDOWS _QVZ0TOLYI 495939240        15                  16        17        18        19                                                                                                                                                                           WINDOWS _QTV11FNM7 495939240        22                  23        24                  25                                                                                                                                                                           WINDOWS _QTV11FNO0 495939064        29                  30        31        32        33                                                                                                                                                                           WINDOWS _QTV11FNPB 495939064        35                  36        37        38        39                                                                                                                                                                           WINDOWS _QUE0MEYLZ 495939240        42        43        44        45        46        47                                                          52                                                                                                               WINDOWS _QVP0UG35F 495284618        53                  54        55        56        57                  59        66                                                                                                                                             COMMENT FONTINFO           0                                                          60                                                                                                                                                                          
  5798. VERSION =  0.028
  5799. dataenvironment
  5800. dataenvironment
  5801. Dataenvironment
  5802. LLeft = 104
  5803. Top = 199
  5804. Width = 623
  5805. Height = 352
  5806. Name = "Dataenvironment"
  5807. cursor
  5808. cursor
  5809. cursor1
  5810. Dataenvironment
  5811. Left = 20
  5812. Top = 10
  5813. Width = 98
  5814. Height = 108
  5815. Alias = "employee"
  5816. Database = ..\..\data\testdata.dbc
  5817. CursorSource = "employee"
  5818. Name = "cursor1"
  5819. frmmulti
  5820. ScaleMode = 0
  5821. BufferMode = 0
  5822. Top =   1.00
  5823. Left =   2.00
  5824. Height =   6.63
  5825. Width =  54.67
  5826. BackColor = 192,192,192
  5827. Caption = "Multiple Instances"
  5828. Visible = .F.
  5829. DataSession = 2
  5830. Name = "frmmulti"
  5831. editbox
  5832. editbox
  5833.     last_name
  5834. frmmulti
  5835. xHeight =   1.50
  5836. Left =  28.00
  5837. Top =   1.50
  5838. Width =  24.17
  5839. ControlSource = "employee.last_name"
  5840. Name = "last_name"
  5841. editbox
  5842. editbox
  5843. first_name
  5844. frmmulti
  5845. zHeight =   1.50
  5846. Left =   2.00
  5847. Top =   1.50
  5848. Width =  24.17
  5849. ControlSource = "employee.first_name"
  5850. Name = "first_name"
  5851. ..\buttons.vcx
  5852.     container
  5853. frmmulti
  5854. ,Top =   4.00
  5855. Left =   6.67
  5856. Width =  30.17
  5857. Height =   1.63
  5858. Visible = .T.
  5859. skiptable = (Space(1))
  5860. Name = "Vcr1"
  5861. cmdTop.Top =   0.00
  5862. cmdTop.Left =   0.00
  5863. cmdPrior.Top =   0.00
  5864. cmdPrior.Left =   8.00
  5865. cmdNext.Top =   0.00
  5866. cmdNext.Left =  16.00
  5867. cmdBottom.Top =   0.00
  5868. cmdBottom.Left =  24.00
  5869. generic vcr buttons
  5870. commandbutton
  5871. commandbutton
  5872. command1
  5873. frmmulti
  5874. qTop =   4.00
  5875. Left =  38.50
  5876. Height =   1.50
  5877. Width =   6.83
  5878. AutoSize = .T.
  5879. Caption = "OK"
  5880. Name = "command1"
  5881. .PROCEDURE Click
  5882. RELEASE THISFORM
  5883. ENDPROC
  5884. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  5885. THISFORM
  5886. Click,
  5887. c:\vfp\samples\controls\objects\
  5888. multi.scx
  5889. c:\vfp\samples\controls\objects\multi.scx
  5890. THISFORM
  5891. Click,
  5892. c:\vfp\samples\controls\objects\
  5893. multi.scx
  5894. c:\vfp\samples\controls\objects\multi.scx
  5895. PLATFORM
  5896. UNIQUEID
  5897. TIMESTAMP
  5898. CLASS
  5899. CLASSLOC
  5900. BASECLASS
  5901. OBJNAME
  5902. PARENT
  5903. PROPERTIES
  5904. PROTECTED
  5905. METHODS
  5906. OBJCODE
  5907. COMMENT
  5908. RESERVED1
  5909. RESERVED2
  5910. RESERVED3
  5911. RESERVED4
  5912. RESERVED5
  5913. RESERVED6
  5914. RESERVED7
  5915. RESERVED8
  5916. RESERVED9
  5917. RESERVED10
  5918.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTY0S7T3Y 490957114        17                  18        19                  20                                                                              21                                                                                           WINDOWS _QTY0S7T47 506034810        22                  23        24                  25                  31       856                                                          87                                                                                 WINDOWS _QTY0S7TG1 506034754        92                  93        94        95        96                  99       881                                                                                                                                             WINDOWS _QVP0Q3BH3 506034754       110                 111       112       113       114                 123       890                                                                                                                                             WINDOWS _QVP0Q3BIH 506034754       179                 180       181       182       183                 193       923                                                                                                                                             WINDOWS _QVP0Q3BJV 506034754       243                 244       245       246       247                 251       953                                                                                                                                             WINDOWS _QVP0Q3BLJ 506034754       280                 281       282       283       284                 288       969                                                                                                                                             WINDOWS _QVP0Q3BN7 506034754       308                 309       310       311       312                 316       983                                                                                                                                             WINDOWS _QVP0Q3BO1 506034754       343                 344       345       346       347                 351       999                                                                                                                                             WINDOWS _QVP0Q3BOV 506034754       372                 373       374       375       376                 382      1013                                                                                                                                             WINDOWS _QVP0Q3BRD 506034754       403                 404       405       406       407                                                                                                                                                                           WINDOWS _QVP0Q3BT1 506034754       411                 412       413       414       415                                                                                                                                                                           WINDOWS _QVZ0ZZ7TW 506034754       419                 420       421       422       423                                                                                                                                                                           COMMENT FONTINFO                                                                     433                                                                                                                                                                          
  5919. VERSION =  0.028
  5920. dataenvironment
  5921. dataenvironment
  5922. Datanavigation
  5923. Name = "Datanavigation"
  5924. frmmover
  5925. ScaleMode = 3
  5926. Caption = "Mover List Boxes"
  5927. ShowTips = .T.
  5928. Top = 0
  5929. Left = 0
  5930. Height = 276
  5931. Width = 440
  5932. AutoCenter = .F.
  5933. BackColor = 192,192,192
  5934. Name = "frmmover"
  5935. PROCEDURE Unload
  5936. * If this form is run from main.scx in controls.app,
  5937. * the hidden form object, main, is made visible when
  5938. * this form is unloaded
  5939. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  5940.     main.show
  5941. ENDIF
  5942. ENDPROC
  5943. PROCEDURE Init
  5944. #define ONE_LOC "one"
  5945. #define TWO_LOC "two"
  5946. #define THREE_LOC "three"
  5947. #define FOUR_LOC "four"
  5948. #define FIVE_LOC "five"
  5949. #define SIX_LOC "six"
  5950. #define SEVEN_LOC "seven"
  5951. #define EIGHT_LOC "eight"
  5952. #define NINE_LOC "nine"
  5953. #define TEN_LOC "ten"
  5954. This.lstSource.AddItem (ONE_LOC)
  5955. This.lstSource.AddItem (TWO_LOC)
  5956. This.lstSource.AddItem(THREE_LOC)
  5957. This.lstSource.AddItem (FOUR_LOC)
  5958. This.lstSource.AddItem (FIVE_LOC)
  5959. This.lstSource.AddItem (SIX_LOC)
  5960. This.lstSource.AddItem (SEVEN_LOC)
  5961. This.lstSource.AddItem (EIGHT_LOC)
  5962. This.lstSource.AddItem (NINE_LOC)
  5963. This.lstSource.AddItem (TEN_LOC)
  5964. This.AutoCenter = .T.
  5965. This.CanDropIcon = (SYS(2004) + "samples\controls\dragmove.cur")
  5966. This.NoDropIcon = (SYS(2004) + "samples\controls\nodrop01.cur")
  5967. ENDPROC
  5968. mainb
  5969. SHOW`
  5970. three
  5971. seven
  5972. eight
  5973. samples\controls\dragmove.cur
  5974. samples\controls\nodrop01.cur
  5975. THIS    
  5976. LSTSOURCE
  5977. ADDITEM
  5978. AUTOCENTER
  5979. CANDROPICON
  5980. NODROPICON
  5981. Unload,
  5982. Initp
  5983. c:\vfp\samples\controls\lists\
  5984. 00000029.tmp
  5985. c:\vfp\samples\controls\lists\00000029.tmp
  5986. candropicon DragIcon to be displayed over valid drop targets.
  5987. nodropicon DragIcon to be displayed over invalid drop targets.
  5988. commandbutton
  5989. commandbutton
  5990. cmdOK
  5991. frmmover.
  5992. RCaption = "\<OK"
  5993. Top = 247
  5994. Left = 178
  5995. Height = 23
  5996. Width = 84
  5997. Name = "cmdOK"
  5998. .PROCEDURE Click
  5999. RELEASE THISFORM
  6000. ENDPROC
  6001. THISFORM
  6002. Click,
  6003. c:\vfp\samples\controls\lists\
  6004. 00000029.tmp
  6005. c:\vfp\samples\controls\lists\00000029.tmp
  6006. listbox
  6007. listbox
  6008.     lstSource
  6009. frmmover.
  6010. Top = 24
  6011. Left = 12
  6012. ColumnCount = 0
  6013. ColumnWidths = ""
  6014. RowSourceType = 0
  6015. RowSource = ""
  6016. ControlSource = ""
  6017. DragIcon = ..\..\..\misc\cursors\dragmove.cur
  6018. DragMode = 0
  6019. FirstElement = 1
  6020. Height = 132
  6021. MultiSelect = .T.
  6022. NumberOfElements = 0
  6023. Width = 169
  6024. Name = "lstSource"
  6025. PROCEDURE DragOver
  6026. Parameters oSource, nXCoord, nYCoord, nState
  6027. DO CASE
  6028.     CASE nState = 0  && Enter
  6029.         oSource.DragIcon = This.Parent.CanDropIcon
  6030.     CASE nState = 1  && Leave
  6031.         oSource.DragIcon = This.Parent.NoDropIcon
  6032. ENDCASE    
  6033. ENDPROC
  6034. PROCEDURE MouseDown
  6035. Parameters nButton, nShift, nXCoord, nYCoord
  6036. IF nButton = 2 && Right Mouse Button
  6037.     THIS.Drag
  6038. ENDIF
  6039. ENDPROC
  6040. PROCEDURE DragDrop
  6041. Parameters oSource, nXCoord, nYCoord
  6042. IF oSource.Name != THIS.Name
  6043.     THISFORM.cmdRemove.Click
  6044. ENDIF
  6045. FOR i = 1 TO This.Parent.lstSelected.ListCount
  6046.     This.Parent.lstSelected.Selected(i) = .F.
  6047. ENDFOR
  6048. ENDPROC
  6049. PROCEDURE DblClick
  6050. ThisForm.lstSelected.AddItem(This.List(This.ListIndex))
  6051. This.RemoveItem(This.ListIndex)
  6052. ThisForm.Refresh
  6053. ENDPROC
  6054. OSOURCE
  6055. NXCOORD
  6056. NYCOORD
  6057. NSTATE
  6058. DRAGICON
  6059. PARENT
  6060. CANDROPICON
  6061. NODROPICON5
  6062. NBUTTON
  6063. NSHIFT
  6064. NXCOORD
  6065. NYCOORD
  6066. DRAGx
  6067. OSOURCE
  6068. NXCOORD
  6069. NYCOORD
  6070. THISFORM    
  6071. CMDREMOVE
  6072. CLICK
  6073. PARENT
  6074. LSTSELECTED    
  6075. LISTCOUNT
  6076. SELECTED=
  6077. THISFORM
  6078. LSTSELECTED
  6079. ADDITEM
  6080. LIST    
  6081. LISTINDEX
  6082. REMOVEITEM
  6083. REFRESH
  6084. DragOver,
  6085. MouseDown
  6086. DragDropa
  6087. DblClickM
  6088. c:\vfp\samples\controls\lists\
  6089. 00000029.tmp
  6090. c:\vfp\samples\controls\lists\00000029.tmp
  6091. listbox
  6092. listbox
  6093. lstSelected
  6094. frmmover.
  6095. +Top = 24
  6096. Left = 252
  6097. ColumnCount = 0
  6098. ColumnWidths = ""
  6099. RowSourceType = 0
  6100. RowSource = ""
  6101. ControlSource = ""
  6102. DragIcon = ..\..\..\misc\cursors\dragmove.cur
  6103. DragMode = 0
  6104. FirstElement = 1
  6105. Height = 132
  6106. MoverBars = .T.
  6107. MultiSelect = .T.
  6108. NumberOfElements = 0
  6109. Width = 169
  6110. Name = "lstSelected"
  6111. PROCEDURE DragOver
  6112. Parameters oSource, nXCoord, nYCoord, nState
  6113. DO CASE
  6114.     CASE nState = 0  && Enter
  6115.         oSource.DragIcon = This.Parent.CanDropIcon
  6116.     CASE nState = 1  && Leave
  6117.         oSource.DragIcon = This.Parent.NoDropIcon
  6118. ENDCASE    
  6119. ENDPROC
  6120. PROCEDURE MouseDown
  6121. Parameters nButton, nShift, nXCoord, nYCoord
  6122. IF nButton = 2 && Right Mouse Button
  6123.     THIS.Drag
  6124. ENDIF
  6125. ENDPROC
  6126. PROCEDURE DragDrop
  6127. Parameters oSource, nXCoord, nYCoord
  6128. IF oSource.Name != THIS.Name
  6129.     ThisForm.cmdAdd.Click
  6130. ENDIF
  6131. ENDPROC
  6132. PROCEDURE DblClick
  6133. ThisForm.lstSource.AddItem(This.List(This.ListIndex))
  6134. This.RemoveItem(This.ListIndex)
  6135. ThisForm.Refresh
  6136. ENDPROC
  6137. OSOURCE
  6138. NXCOORD
  6139. NYCOORD
  6140. NSTATE
  6141. DRAGICON
  6142. PARENT
  6143. CANDROPICON
  6144. NODROPICON5
  6145. NBUTTON
  6146. NSHIFT
  6147. NXCOORD
  6148. NYCOORD
  6149. DRAG:
  6150. OSOURCE
  6151. NXCOORD
  6152. NYCOORD
  6153. THISFORM
  6154. CMDADD
  6155. CLICK=
  6156. THISFORM    
  6157. LSTSOURCE
  6158. ADDITEM
  6159. LIST    
  6160. LISTINDEX
  6161. REMOVEITEM
  6162. REFRESH
  6163. DragOver,
  6164. MouseDown
  6165. DragDropa
  6166. DblClick
  6167. c:\vfp\samples\controls\lists\
  6168. 00000029.tmp
  6169. c:\vfp\samples\controls\lists\00000029.tmp
  6170. commandbutton
  6171. commandbutton
  6172. cmdAdd
  6173. frmmover.
  6174. sCaption = ">"
  6175. Top = 26
  6176. Left = 198
  6177. Height = 25
  6178. Width = 37
  6179. ToolTipText = "Add Selected Items"
  6180. Name = "cmdAdd"
  6181. ePROCEDURE Click
  6182. * The ListCount value changes whenever the RemoveItem method is called
  6183. nCnt = 1
  6184. DO WHILE nCnt <= ThisForm.lstSource.ListCount
  6185.     IF ThisForm.lstSource.Selected(nCnt)
  6186.         ThisForm.lstSelected.AddItem(ThisForm.lstSource.List(nCnt))
  6187.         ThisForm.lstSource.RemoveItem(nCnt)
  6188.     ELSE
  6189.         nCnt = nCnt + 1
  6190.     ENDIF
  6191. ENDDO
  6192. ThisForm.Refresh
  6193. ENDPROC
  6194. THISFORM    
  6195. LSTSOURCE    
  6196. LISTCOUNT
  6197. SELECTED
  6198. LSTSELECTED
  6199. ADDITEM
  6200. REMOVEITEM
  6201. REFRESH
  6202. Click,
  6203. c:\vfp\samples\controls\lists\
  6204. 00000029.tmp
  6205. c:\vfp\samples\controls\lists\00000029.tmp
  6206. commandbutton
  6207. commandbutton
  6208.     cmdAddAll
  6209. frmmover.
  6210. rCaption = ">>"
  6211. Top = 55
  6212. Left = 198
  6213. Height = 25
  6214. Width = 37
  6215. ToolTipText = "Add All Items"
  6216. Name = "cmdAddAll"
  6217. PROCEDURE Click
  6218. DO WHILE ThisForm.lstSource.ListCount > 0
  6219.     ThisForm.lstSelected.AddItem(ThisForm.lstSource.List(1))
  6220.     ThisForm.lstSource.RemoveItem(1)
  6221. ENDDO
  6222. ThisForm.Refresh
  6223. ENDPROC
  6224. THISFORM    
  6225. LSTSOURCE    
  6226. LISTCOUNT
  6227. LSTSELECTED
  6228. ADDITEM
  6229. REMOVEITEM
  6230. REFRESH
  6231. Click,
  6232. c:\vfp\samples\controls\lists\
  6233. 00000029.tmp
  6234. c:\vfp\samples\controls\lists\00000029.tmp
  6235. commandbutton
  6236. commandbutton
  6237.     cmdRemove
  6238. frmmover.
  6239. yCaption = "<"
  6240. Top = 96
  6241. Left = 198
  6242. Height = 25
  6243. Width = 37
  6244. ToolTipText = "Remove Selected Items"
  6245. Name = "cmdRemove"
  6246. #PROCEDURE Click
  6247. nCnt = 1
  6248. DO WHILE nCnt <= ThisForm.lstSelected.ListCount
  6249.     IF ThisForm.lstSelected.Selected(nCnt)
  6250.         ThisForm.lstSource.AddItem(ThisForm.lstSelected.List(nCnt))
  6251.         ThisForm.lstSelected.RemoveItem(nCnt)
  6252.     ELSE
  6253.         nCnt = nCnt + 1
  6254.     ENDIF
  6255. ENDDO
  6256. ThisForm.Refresh
  6257. ENDPROC
  6258. THISFORM
  6259. LSTSELECTED    
  6260. LISTCOUNT
  6261. SELECTED    
  6262. LSTSOURCE
  6263. ADDITEM
  6264. REMOVEITEM
  6265. REFRESH
  6266. Click,
  6267. c:\vfp\samples\controls\lists\
  6268. 00000029.tmp
  6269. c:\vfp\samples\controls\lists\00000029.tmp
  6270. commandbutton
  6271. commandbutton
  6272. cmdRemoveAll
  6273. frmmover.
  6274. yCaption = "<<"
  6275. Top = 126
  6276. Left = 198
  6277. Height = 25
  6278. Width = 37
  6279. ToolTipText = "Remove All Items"
  6280. Name = "cmdRemoveAll"
  6281. PROCEDURE Click
  6282. DO WHILE ThisForm.lstSelected.ListCount > 0
  6283.     ThisForm.lstSource.AddItem(ThisForm.lstSelected.List(1))
  6284.     ThisForm.lstSelected.RemoveItem(1)
  6285. ENDDO
  6286. ThisForm.Refresh
  6287. ENDPROC
  6288. THISFORM
  6289. LSTSELECTED    
  6290. LISTCOUNT    
  6291. LSTSOURCE
  6292. ADDITEM
  6293. REMOVEITEM
  6294. REFRESH
  6295. Click,
  6296. c:\vfp\samples\controls\lists\
  6297. 00000029.tmp
  6298. c:\vfp\samples\controls\lists\00000029.tmp
  6299. commandbutton
  6300. commandbutton
  6301. cmdPrint
  6302. frmmover.
  6303. Caption = "Print to Screen"
  6304. Top = 161
  6305. Left = 290
  6306. Height = 21
  6307. Width = 87
  6308. FontBold = .F.
  6309. FontSize = 8
  6310. AutoSize = .T.
  6311. ToolTipText = "Print Items to the Screen"
  6312. Name = "cmdPrint"
  6313. PROCEDURE Click
  6314. #define HEADER_LOC    "Selected items:"
  6315. ACTIVATE SCREEN
  6316. ? HEADER_LOC
  6317. ? "---------------"
  6318. FOR nCnt = 1 to ThisForm.lstSelected.ListCount
  6319.     ? SPACE(5) + ThisForm.lstSelected.List(nCnt)
  6320. ENDFOR
  6321. ENDPROC
  6322. Selected items:
  6323. ---------------
  6324. THISFORM
  6325. LSTSELECTED    
  6326. LISTCOUNT
  6327. Click,
  6328. c:\vfp\samples\controls\lists\
  6329. 00000029.tmp
  6330. c:\vfp\samples\controls\lists\00000029.tmp
  6331. label
  6332. label
  6333. label1
  6334. frmmover.
  6335. vCaption = "Source List"
  6336. Top = 6
  6337. Left = 16
  6338. AutoSize = .T.
  6339. BackStyle = 0
  6340. Height = 16
  6341. Width = 71
  6342. Name = "label1"
  6343. label
  6344. label
  6345. label2
  6346. frmmover.
  6347. yCaption = "Selected List"
  6348. Top = 5
  6349. Left = 253
  6350. AutoSize = .T.
  6351. BackStyle = 0
  6352. Height = 16
  6353. Width = 82
  6354. Name = "label2"
  6355. label
  6356. label
  6357. label3
  6358. frmmover.
  6359. 'Caption = "Select or MultiSelect items in the lists. Use the command buttons or Right-Click+Drag to move items between the Lists. Double-clicking an item in a list also moves it to the other list."
  6360. Top = 188
  6361. Left = 16
  6362. BackStyle = 0
  6363. Height = 51
  6364. Width = 421
  6365. WordWrap = .T.
  6366. Name = "label3"
  6367. CArial, 1, 10, 6, 16, 13, 15, 3, 0
  6368. Arial, 0, 8, 5, 14, 11, 13, 3, 0
  6369. VERSION =  0.028
  6370. dataenvironment
  6371. dataenvironment
  6372. Datanavigation
  6373. Name = "Datanavigation"
  6374. frmmover
  6375. ScaleMode = 3
  6376. Caption = "Mover List Boxes"
  6377. ShowTips = .T.
  6378. Top = 0
  6379. Left = 0
  6380. Height = 276
  6381. Width = 440
  6382. AutoCenter = .F.
  6383. BackColor = 192,192,192
  6384. Name = "frmmover"
  6385. PROCEDURE Init
  6386. #define ONE_LOC "one"
  6387. #define TWO_LOC "two"
  6388. #define THREE_LOC "three"
  6389. #define FOUR_LOC "four"
  6390. #define FIVE_LOC "five"
  6391. #define SIX_LOC "six"
  6392. #define SEVEN_LOC "seven"
  6393. #define EIGHT_LOC "eight"
  6394. #define NINE_LOC "nine"
  6395. #define TEN_LOC "ten"
  6396. This.lstSource.AddItem (ONE_LOC)
  6397. This.lstSource.AddItem (TWO_LOC)
  6398. This.lstSource.AddItem(THREE_LOC)
  6399. This.lstSource.AddItem (FOUR_LOC)
  6400. This.lstSource.AddItem (FIVE_LOC)
  6401. This.lstSource.AddItem (SIX_LOC)
  6402. This.lstSource.AddItem (SEVEN_LOC)
  6403. This.lstSource.AddItem (EIGHT_LOC)
  6404. This.lstSource.AddItem (NINE_LOC)
  6405. This.lstSource.AddItem (TEN_LOC)
  6406. This.AutoCenter = .T.
  6407. This.CanDropIcon = (SYS(2004) + "samples\controls\dragmove.cur")
  6408. This.NoDropIcon = (SYS(2004) + "samples\controls\nodrop.cur")
  6409. ENDPROC
  6410. PROCEDURE Unload
  6411. * If this form is run from main.scx in controls.app,
  6412. * the hidden form object, main, is made visible when
  6413. * this form is unloaded
  6414. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  6415.     main.show
  6416. ENDIF
  6417. ENDPROC
  6418. three
  6419. seven
  6420. eight
  6421. samples\controls\dragmove.cur
  6422. samples\controls\nodrop.cur
  6423. THIS    
  6424. LSTSOURCE
  6425. ADDITEM
  6426. AUTOCENTER
  6427. CANDROPICON
  6428. NODROPICON4
  6429. mainb
  6430. Init,
  6431. Unload
  6432. c:\vfp\samples\controls\lists\
  6433. 00000026.tmp
  6434. c:\vfp\samples\controls\lists\00000026.tmp
  6435. candropicon DragIcon to be displayed over valid drop targets.
  6436. nodropicon DragIcon to be displayed over invalid drop targets.
  6437. commandbutton
  6438. commandbutton
  6439. cmdOK
  6440. frmmover
  6441. RCaption = "\<OK"
  6442. Top = 247
  6443. Left = 178
  6444. Height = 23
  6445. Width = 84
  6446. Name = "cmdOK"
  6447. .PROCEDURE Click
  6448. RELEASE THISFORM
  6449. ENDPROC
  6450. THISFORM
  6451. Click,
  6452. c:\vfp\samples\controls\lists\
  6453. 00000026.tmp
  6454. c:\vfp\samples\controls\lists\00000026.tmp
  6455. listbox
  6456. listbox
  6457.     lstSource
  6458. frmmover
  6459. Top = 24
  6460. Left = 12
  6461. ColumnCount = 0
  6462. ColumnWidths = ""
  6463. RowSourceType = 0
  6464. RowSource = ""
  6465. ControlSource = ""
  6466. DragIcon = ..\..\..\misc\cursors\dragmove.cur
  6467. DragMode = 0
  6468. FirstElement = 1
  6469. Height = 132
  6470. MultiSelect = .T.
  6471. NumberOfElements = 0
  6472. Width = 169
  6473. Name = "lstSource"
  6474. PROCEDURE DblClick
  6475. ThisForm.lstSelected.AddItem(This.List(This.ListIndex))
  6476. This.RemoveItem(This.ListIndex)
  6477. ThisForm.Refresh
  6478. ENDPROC
  6479. PROCEDURE DragDrop
  6480. Parameters oSource, nXCoord, nYCoord
  6481. IF oSource.Name != THIS.Name
  6482.     THISFORM.cmdRemove.Click
  6483. ENDIF
  6484. FOR i = 1 TO This.Parent.lstSelected.ListCount
  6485.     This.Parent.lstSelected.Selected(i) = .F.
  6486. ENDFOR
  6487. ENDPROC
  6488. PROCEDURE MouseDown
  6489. Parameters nButton, nShift, nXCoord, nYCoord
  6490. IF nButton = 2 && Right Mouse Button
  6491.     THIS.Drag
  6492. ENDIF
  6493. ENDPROC
  6494. PROCEDURE DragOver
  6495. Parameters oSource, nXCoord, nYCoord, nState
  6496. DO CASE
  6497.     CASE nState = 0  && Enter
  6498.         oSource.DragIcon = This.Parent.CanDropIcon
  6499.     CASE nState = 1  && Leave
  6500.         oSource.DragIcon = This.Parent.NoDropIcon
  6501. ENDCASE    
  6502. ENDPROC
  6503. THISFORM
  6504. LSTSELECTED
  6505. ADDITEM
  6506. LIST    
  6507. LISTINDEX
  6508. REMOVEITEM
  6509. REFRESHx
  6510. OSOURCE
  6511. NXCOORD
  6512. NYCOORD
  6513. THISFORM    
  6514. CMDREMOVE
  6515. CLICK
  6516. PARENT
  6517. LSTSELECTED    
  6518. LISTCOUNT
  6519. SELECTED5
  6520. NBUTTON
  6521. NSHIFT
  6522. NXCOORD
  6523. NYCOORD
  6524. DRAGu
  6525. OSOURCE
  6526. NXCOORD
  6527. NYCOORD
  6528. NSTATE
  6529. DRAGICON
  6530. PARENT
  6531. CANDROPICON
  6532. NODROPICON
  6533. DblClick,
  6534. DragDrop
  6535. MouseDown
  6536. DragOver
  6537. c:\vfp\samples\controls\lists\
  6538. 00000026.tmp
  6539. c:\vfp\samples\controls\lists\00000026.tmp
  6540. listbox
  6541. listbox
  6542. lstSelected
  6543. frmmover
  6544. +Top = 24
  6545. Left = 252
  6546. ColumnCount = 0
  6547. ColumnWidths = ""
  6548. RowSourceType = 0
  6549. RowSource = ""
  6550. ControlSource = ""
  6551. DragIcon = ..\..\..\misc\cursors\dragmove.cur
  6552. DragMode = 0
  6553. FirstElement = 1
  6554. Height = 132
  6555. MoverBars = .T.
  6556. MultiSelect = .T.
  6557. NumberOfElements = 0
  6558. Width = 169
  6559. Name = "lstSelected"
  6560. PROCEDURE DblClick
  6561. ThisForm.lstSource.AddItem(This.List(This.ListIndex))
  6562. This.RemoveItem(This.ListIndex)
  6563. ThisForm.Refresh
  6564. ENDPROC
  6565. PROCEDURE DragDrop
  6566. Parameters oSource, nXCoord, nYCoord
  6567. IF oSource.Name != THIS.Name
  6568.     ThisForm.cmdAdd.Click
  6569. ENDIF
  6570. ENDPROC
  6571. PROCEDURE MouseDown
  6572. Parameters nButton, nShift, nXCoord, nYCoord
  6573. IF nButton = 2 && Right Mouse Button
  6574.     THIS.Drag
  6575. ENDIF
  6576. ENDPROC
  6577. PROCEDURE DragOver
  6578. Parameters oSource, nXCoord, nYCoord, nState
  6579. DO CASE
  6580.     CASE nState = 0  && Enter
  6581.         oSource.DragIcon = This.Parent.CanDropIcon
  6582.     CASE nState = 1  && Leave
  6583.         oSource.DragIcon = This.Parent.NoDropIcon
  6584. ENDCASE    
  6585. ENDPROC
  6586. THISFORM    
  6587. LSTSOURCE
  6588. ADDITEM
  6589. LIST    
  6590. LISTINDEX
  6591. REMOVEITEM
  6592. REFRESH:
  6593. OSOURCE
  6594. NXCOORD
  6595. NYCOORD
  6596. THISFORM
  6597. CMDADD
  6598. CLICK5
  6599. NBUTTON
  6600. NSHIFT
  6601. NXCOORD
  6602. NYCOORD
  6603. DRAGu
  6604. OSOURCE
  6605. NXCOORD
  6606. NYCOORD
  6607. NSTATE
  6608. DRAGICON
  6609. PARENT
  6610. CANDROPICON
  6611. NODROPICON
  6612. DblClick,
  6613. DragDrop
  6614. MouseDown5
  6615. DragOver
  6616. c:\vfp\samples\controls\lists\
  6617. 00000026.tmp
  6618. c:\vfp\samples\controls\lists\00000026.tmp
  6619. commandbutton
  6620. commandbutton
  6621. cmdAdd
  6622. frmmover
  6623. sCaption = ">"
  6624. Top = 26
  6625. Left = 198
  6626. Height = 25
  6627. Width = 37
  6628. ToolTipText = "Add Selected Items"
  6629. Name = "cmdAdd"
  6630. ePROCEDURE Click
  6631. * The ListCount value changes whenever the RemoveItem method is called
  6632. nCnt = 1
  6633. DO WHILE nCnt <= ThisForm.lstSource.ListCount
  6634.     IF ThisForm.lstSource.Selected(nCnt)
  6635.         ThisForm.lstSelected.AddItem(ThisForm.lstSource.List(nCnt))
  6636.         ThisForm.lstSource.RemoveItem(nCnt)
  6637.     ELSE
  6638.         nCnt = nCnt + 1
  6639.     ENDIF
  6640. ENDDO
  6641. ThisForm.Refresh
  6642. ENDPROC
  6643. THISFORM    
  6644. LSTSOURCE    
  6645. LISTCOUNT
  6646. SELECTED
  6647. LSTSELECTED
  6648. ADDITEM
  6649. REMOVEITEM
  6650. REFRESH
  6651. Click,
  6652. c:\vfp\samples\controls\lists\
  6653. 00000026.tmp
  6654. c:\vfp\samples\controls\lists\00000026.tmp
  6655. commandbutton
  6656. commandbutton
  6657.     cmdAddAll
  6658. frmmover
  6659. rCaption = ">>"
  6660. Top = 55
  6661. Left = 198
  6662. Height = 25
  6663. Width = 37
  6664. ToolTipText = "Add All Items"
  6665. Name = "cmdAddAll"
  6666. PROCEDURE Click
  6667. DO WHILE ThisForm.lstSource.ListCount > 0
  6668.     ThisForm.lstSelected.AddItem(ThisForm.lstSource.List(1))
  6669.     ThisForm.lstSource.RemoveItem(1)
  6670. ENDDO
  6671. ThisForm.Refresh
  6672. ENDPROC
  6673. THISFORM    
  6674. LSTSOURCE    
  6675. LISTCOUNT
  6676. LSTSELECTED
  6677. ADDITEM
  6678. REMOVEITEM
  6679. REFRESH
  6680. Click,
  6681. c:\vfp\samples\controls\lists\
  6682. 00000026.tmp
  6683. c:\vfp\samples\controls\lists\00000026.tmp
  6684. commandbutton
  6685. commandbutton
  6686.     cmdRemove
  6687. frmmover
  6688. yCaption = "<"
  6689. Top = 96
  6690. Left = 198
  6691. Height = 25
  6692. Width = 37
  6693. ToolTipText = "Remove Selected Items"
  6694. Name = "cmdRemove"
  6695. #PROCEDURE Click
  6696. nCnt = 1
  6697. DO WHILE nCnt <= ThisForm.lstSelected.ListCount
  6698.     IF ThisForm.lstSelected.Selected(nCnt)
  6699.         ThisForm.lstSource.AddItem(ThisForm.lstSelected.List(nCnt))
  6700.         ThisForm.lstSelected.RemoveItem(nCnt)
  6701.     ELSE
  6702.         nCnt = nCnt + 1
  6703.     ENDIF
  6704. ENDDO
  6705. ThisForm.Refresh
  6706. ENDPROC
  6707. THISFORM
  6708. LSTSELECTED    
  6709. LISTCOUNT
  6710. SELECTED    
  6711. LSTSOURCE
  6712. ADDITEM
  6713. REMOVEITEM
  6714. REFRESH
  6715. Click,
  6716. c:\vfp\samples\controls\lists\
  6717. 00000026.tmp
  6718. c:\vfp\samples\controls\lists\00000026.tmp
  6719. commandbutton
  6720. commandbutton
  6721. cmdRemoveAll
  6722. frmmover
  6723. yCaption = "<<"
  6724. Top = 126
  6725. Left = 198
  6726. Height = 25
  6727. Width = 37
  6728. ToolTipText = "Remove All Items"
  6729. Name = "cmdRemoveAll"
  6730. PROCEDURE Click
  6731. DO WHILE ThisForm.lstSelected.ListCount > 0
  6732.     ThisForm.lstSource.AddItem(ThisForm.lstSelected.List(1))
  6733.     ThisForm.lstSelected.RemoveItem(1)
  6734. ENDDO
  6735. ThisForm.Refresh
  6736. ENDPROC
  6737. THISFORM
  6738. LSTSELECTED    
  6739. LISTCOUNT    
  6740. LSTSOURCE
  6741. ADDITEM
  6742. REMOVEITEM
  6743. REFRESH
  6744. Click,
  6745. c:\vfp\samples\controls\lists\
  6746. 00000026.tmp
  6747. c:\vfp\samples\controls\lists\00000026.tmp
  6748. commandbutton
  6749. commandbutton
  6750. cmdPrint
  6751. frmmover
  6752. Caption = "Print to Screen"
  6753. Top = 161
  6754. Left = 290
  6755. Height = 21
  6756. Width = 87
  6757. FontBold = .F.
  6758. FontSize = 8
  6759. AutoSize = .T.
  6760. ToolTipText = "Print Items to the Screen"
  6761. Name = "cmdPrint"
  6762. PROCEDURE Click
  6763. #define HEADER_LOC    "Selected items:"
  6764. ACTIVATE SCREEN
  6765. ? HEADER_LOC
  6766. ? "---------------"
  6767. FOR nCnt = 1 to ThisForm.lstSelected.ListCount
  6768.     ? SPACE(5) + ThisForm.lstSelected.List(nCnt)
  6769. ENDFOR
  6770. ENDPROC
  6771. Selected items:
  6772. ---------------
  6773. THISFORM
  6774. LSTSELECTED    
  6775. LISTCOUNT
  6776. Click,
  6777. c:\vfp\samples\controls\lists\
  6778. 00000026.tmp
  6779. c:\vfp\samples\controls\lists\00000026.tmp
  6780. label
  6781. label
  6782. label1
  6783. frmmover
  6784. vCaption = "Source List"
  6785. Top = 6
  6786. Left = 16
  6787. AutoSize = .T.
  6788. BackStyle = 0
  6789. Height = 16
  6790. Width = 71
  6791. Name = "label1"
  6792. label
  6793. label
  6794. label2
  6795. frmmover
  6796. yCaption = "Selected List"
  6797. Top = 5
  6798. Left = 253
  6799. AutoSize = .T.
  6800. BackStyle = 0
  6801. Height = 16
  6802. Width = 82
  6803. Name = "label2"
  6804. label
  6805. label
  6806. label3
  6807. frmmover
  6808. 'Caption = "Select or MultiSelect items in the lists. Use the command buttons or Right-Click+Drag to move items between the Lists. Double-clicking an item in a list also moves it to the other list."
  6809. Top = 188
  6810. Left = 16
  6811. BackStyle = 0
  6812. Height = 51
  6813. Width = 421
  6814. WordWrap = .T.
  6815. Name = "label3"
  6816. CArial, 1, 10, 6, 16, 13, 15, 3, 0
  6817. Arial, 0, 8, 5, 14, 11, 13, 3, 0
  6818. mainb
  6819. SHOW`
  6820. three
  6821. seven
  6822. eight
  6823. samples\controls\dragmove.cur
  6824. samples\controls\nodrop01.cur
  6825. THIS    
  6826. LSTSOURCE
  6827. ADDITEM
  6828. AUTOCENTER
  6829. CANDROPICON
  6830. NODROPICON
  6831. Unload,
  6832. Initp
  6833. c:\vfp\samples\controls\lists\
  6834. lmover.scx
  6835. c:\vfp\samples\controls\lists\lmover.scx
  6836. THISFORM
  6837. Click,
  6838. c:\vfp\samples\controls\lists\
  6839. lmover.scx
  6840. c:\vfp\samples\controls\lists\lmover.scx
  6841. OSOURCE
  6842. NXCOORD
  6843. NYCOORD
  6844. NSTATE
  6845. DRAGICON
  6846. PARENT
  6847. CANDROPICON
  6848. NODROPICON5
  6849. NBUTTON
  6850. NSHIFT
  6851. NXCOORD
  6852. NYCOORD
  6853. DRAGx
  6854. OSOURCE
  6855. NXCOORD
  6856. NYCOORD
  6857. THISFORM    
  6858. CMDREMOVE
  6859. CLICK
  6860. PARENT
  6861. LSTSELECTED    
  6862. LISTCOUNT
  6863. SELECTED=
  6864. THISFORM
  6865. LSTSELECTED
  6866. ADDITEM
  6867. LIST    
  6868. LISTINDEX
  6869. REMOVEITEM
  6870. REFRESH
  6871. DragOver,
  6872. MouseDown
  6873. DragDropa
  6874. DblClickM
  6875. c:\vfp\samples\controls\lists\
  6876. lmover.scx
  6877. c:\vfp\samples\controls\lists\lmover.scx
  6878. OSOURCE
  6879. NXCOORD
  6880. NYCOORD
  6881. NSTATE
  6882. DRAGICON
  6883. PARENT
  6884. CANDROPICON
  6885. NODROPICON5
  6886. NBUTTON
  6887. NSHIFT
  6888. NXCOORD
  6889. NYCOORD
  6890. DRAG:
  6891. OSOURCE
  6892. NXCOORD
  6893. NYCOORD
  6894. THISFORM
  6895. CMDADD
  6896. CLICK=
  6897. THISFORM    
  6898. LSTSOURCE
  6899. ADDITEM
  6900. LIST    
  6901. LISTINDEX
  6902. REMOVEITEM
  6903. REFRESH
  6904. DragOver,
  6905. MouseDown
  6906. DragDropa
  6907. DblClick
  6908. c:\vfp\samples\controls\lists\
  6909. lmover.scx
  6910. c:\vfp\samples\controls\lists\lmover.scx
  6911. THISFORM    
  6912. LSTSOURCE    
  6913. LISTCOUNT
  6914. SELECTED
  6915. LSTSELECTED
  6916. ADDITEM
  6917. REMOVEITEM
  6918. REFRESH
  6919. Click,
  6920. c:\vfp\samples\controls\lists\
  6921. lmover.scx
  6922. c:\vfp\samples\controls\lists\lmover.scx
  6923. THISFORM    
  6924. LSTSOURCE    
  6925. LISTCOUNT
  6926. LSTSELECTED
  6927. ADDITEM
  6928. REMOVEITEM
  6929. REFRESH
  6930. Click,
  6931. c:\vfp\samples\controls\lists\
  6932. lmover.scx
  6933. c:\vfp\samples\controls\lists\lmover.scx
  6934. THISFORM
  6935. LSTSELECTED    
  6936. LISTCOUNT
  6937. SELECTED    
  6938. LSTSOURCE
  6939. ADDITEM
  6940. REMOVEITEM
  6941. REFRESH
  6942. Click,
  6943. c:\vfp\samples\controls\lists\
  6944. lmover.scx
  6945. c:\vfp\samples\controls\lists\lmover.scx
  6946. THISFORM
  6947. LSTSELECTED    
  6948. LISTCOUNT    
  6949. LSTSOURCE
  6950. ADDITEM
  6951. REMOVEITEM
  6952. REFRESH
  6953. Click,
  6954. c:\vfp\samples\controls\lists\
  6955. lmover.scx
  6956. c:\vfp\samples\controls\lists\lmover.scx
  6957. Selected items:
  6958. ---------------
  6959. THISFORM
  6960. LSTSELECTED    
  6961. LISTCOUNT
  6962. Click,
  6963. c:\vfp\samples\controls\lists\
  6964. lmover.scx
  6965. c:\vfp\samples\controls\lists\lmover.scx
  6966. PLATFORM
  6967. UNIQUEID
  6968. TIMESTAMP
  6969. CLASS
  6970. CLASSLOC
  6971. BASECLASS
  6972. OBJNAME
  6973. PARENT
  6974. PROPERTIES
  6975. PROTECTED
  6976. METHODS
  6977. OBJCODE
  6978. COMMENT
  6979. RESERVED1
  6980. RESERVED2
  6981. RESERVED3
  6982. RESERVED4
  6983. RESERVED5
  6984. RESERVED6
  6985. RESERVED7
  6986. RESERVED8
  6987. RESERVED9
  6988. RESERVED10
  6989.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTR0PPD0D 493773701        17                  18        19                  20                                                                              32                                                                                           WINDOWS _QV40QQ3ZK 496277658        23                  24        25        26        27                                                                                                                                                                           WINDOWS _QTR0MZ7TX 495937768        33                  34        35                  36                  38     13560                                                                                                                                             WINDOWS _QT80U9H3R 495937768       169                 170       171       172       173                 182     13627                                                                                                                                             WINDOWS _QTY0Y6TTN 492469963       568                 569       570       571       572                                                                                                                                                                           WINDOWS _QTY0Y6TU1 495937768       575                 576       577       578       579                 584     13815                                                                                                                                             WINDOWS _QTY0Y6TVV 495937768       605                 606       607       608       609                                                                                                                                                                           WINDOWS _QTY0Y6TW9 495937768       614                 615       616       617       618                 621     13830                                                                                                                                             WINDOWS _QTZ0LRULK 495937768      1037                1038      1039      1040      1041                1045     14039                                                                                                                                             WINDOWS _QW414WC1O 496277659      1399      1400      1401      1402      1403      1404                                                                                                                                                                           WINDOWS _QTZ0LK81O 495937769      1406                1407      1408      1409      1410                                                                                                                                                                           WINDOWS _QTZ0LK87D 492142312      1415                1416      1417      1418      1419                                                                                                                                                                           WINDOWS _QTZ0LIGZU 496277659      1422                1423      1424      1425      1426                1431     14216                                                                                                                                             WINDOWS _QTZ0LIH6Q 496277659      1828                1829      1830      1831      1832                1839     14411                                                                                                                                             WINDOWS _QTG0KB4NX 496277660      2745                2746      2747      2748      2750                2754     14861                                                                                                                                             WINDOWS _QTU0ZKI8G 496277660      3170                3171      3172      3173      3175                3178     15070                                                                                                                                             WINDOWS _QTZ0LKA5W 495937769      3615                3616      3617      3618      3620                3625     15289                                                                                                                                             WINDOWS _QTZ0LRWAF 495937769      4139                4140      4141      4142      4144                4148     15546                                                                                                                                             WINDOWS FONTINFO   495937769      4439                4440      4441      4442      4443                4455     15693                                                                                                                                             WINDOWS _QUG0Y4I6M 495937769      4862                4863      4864      4865      4867                4869     15897                                                                                                                                             WINDOWS _QUG0Y4I9Y 495937770      5049                5050      5051      5052      5054                5056     15989                                                                                                                                             WINDOWS _QTZ0LRWVE 495937770      5236                5237      5238      5239      5240                5261     16081                                                                                                                                             COMMENT FONTINFO                                                                    6790                                                                                                                                                                          
  6990. VERSION =  0.028
  6991. dataenvironment
  6992. dataenvironment
  6993. Datanavigation
  6994. KLeft = 133
  6995. Top = 200
  6996. Width = 581
  6997. Height = 300
  6998. Name = "Datanavigation"
  6999. cursor
  7000. cursor
  7001. Cursor1
  7002. Datanavigation.
  7003. Left = 20
  7004. Top = 10
  7005. Width = 98
  7006. Height = 108
  7007. Alias = "customer"
  7008. Database = ..\..\data\testdata.dbc
  7009. CursorSource = "customer"
  7010. Name = "Cursor1"
  7011. formset
  7012. formset
  7013. Formset1
  7014. &AutoRelease = .T.
  7015. Name = "Formset1"
  7016. 'PROCEDURE Activate
  7017. DO CASE
  7018. CASE Noutput = 1
  7019.     ? "Formset1.Activate"
  7020. CASE Noutput = 2
  7021.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Activate" + ;
  7022.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7023. CASE Noutput = 3
  7024.     Wait Window "Formset1.Activate" Nowait
  7025. ENDCASE
  7026. IF LDone
  7027.     Release ThisFormSet
  7028. ENDIF
  7029. ENDPROC
  7030. PROCEDURE Deactivate
  7031. DO CASE
  7032. CASE Noutput = 1
  7033.     Activate Screen
  7034.     ? "Formset1.Deactivate"
  7035. CASE Noutput = 2
  7036.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Deactivate" + ;
  7037.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7038. CASE Noutput = 3
  7039.     Wait Window "Formset1.Deactivate" Nowait
  7040. ENDCASE
  7041. ENDPROC
  7042. PROCEDURE Destroy
  7043. DO CASE
  7044. CASE Noutput = 1
  7045.     Activate Screen
  7046.     ? "Formset1.Destroy"
  7047. CASE Noutput = 2
  7048.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Destroy" + ;
  7049.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7050. CASE Noutput = 3
  7051.     Wait Window "Formset1.Destroy" Nowait
  7052. ENDCASE
  7053. ENDPROC
  7054. PROCEDURE Init
  7055. DO CASE
  7056. CASE Noutput = 1
  7057.     Activate Screen
  7058.     ? "Formset1.Init"
  7059. CASE Noutput = 2
  7060.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Init" + ;
  7061.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7062. CASE Noutput = 3
  7063.     Wait Window "Formset1.Init" Nowait
  7064. ENDCASE
  7065. ENDPROC
  7066. PROCEDURE Error
  7067. Parameters nError, cMethod, nLine
  7068. WAIT WINDOW "ERROR " + ALLTRIM(STR(nError))
  7069. ENDPROC
  7070. PROCEDURE Load
  7071. DO Toolbar
  7072. Public Noutput
  7073. Noutput = 1
  7074. DO CASE
  7075. CASE Noutput = 1
  7076.     Activate Screen
  7077.     ? "Formset1.Load"
  7078. CASE Noutput = 2
  7079.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Load" + ;
  7080.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7081. CASE Noutput = 3
  7082.     Wait Window "Formset1.Load" Nowait
  7083. ENDCASE
  7084. ENDPROC
  7085. PROCEDURE Unload
  7086. DO CASE
  7087. CASE Noutput = 1
  7088.     Activate Screen
  7089.     ? "Formset1.Unload"
  7090. CASE Noutput = 2
  7091.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Unload" + ;
  7092.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7093. CASE Noutput = 3
  7094.     Wait Window "Formset1.Unload" Nowait
  7095. ENDCASE
  7096. * If this form is run from main.scx in controls.app,
  7097. * the hidden form object, main, is made visible when
  7098. * this form is unloaded
  7099. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  7100.     main.show
  7101. ENDIF
  7102. ENDPROC
  7103. Formset1.Activate
  7104. Formset1.ActivateC
  7105. Formset1.Activate
  7106. NOUTPUT
  7107. THISFORMSET
  7108. EVENTWIN
  7109. EDIT1
  7110. VALUE
  7111. LDONE
  7112. Formset1.Deactivate
  7113. Formset1.DeactivateC
  7114. Formset1.Deactivate
  7115. NOUTPUT
  7116. THISFORMSET
  7117. EVENTWIN
  7118. EDIT1
  7119. VALUE
  7120. Formset1.Destroy
  7121. Formset1.DestroyC
  7122. Formset1.Destroy
  7123. NOUTPUT
  7124. THISFORMSET
  7125. EVENTWIN
  7126. EDIT1
  7127. VALUE
  7128. Formset1.Init
  7129. Formset1.InitC
  7130. Formset1.Init
  7131. NOUTPUT
  7132. THISFORMSET
  7133. EVENTWIN
  7134. EDIT1
  7135. VALUE*
  7136. ERROR CC
  7137. NERROR
  7138. CMETHOD
  7139. NLINE
  7140. Formset1.Load
  7141. Formset1.LoadC
  7142. Formset1.Load
  7143. TOOLBAR
  7144. NOUTPUT
  7145. THISFORMSET
  7146. EVENTWIN
  7147. EDIT1
  7148. VALUE
  7149. Formset1.Unload
  7150. Formset1.UnloadC
  7151. Formset1.Unload
  7152. mainb
  7153. NOUTPUT
  7154. THISFORMSET
  7155. EVENTWIN
  7156. EDIT1
  7157. VALUE
  7158. Activate,
  7159. Deactivate7
  7160. Destroy.
  7161. Error
  7162. LoadG
  7163. UnloadP
  7164. c:\vfp\samples\controls\events\
  7165. 09056567.tmp
  7166. c:\vfp\samples\controls\events\09056567.tmp
  7167. form1
  7168. Formset1.
  7169. ScaleMode = 3
  7170. Top = 24
  7171. Left = 234
  7172. Height = 186
  7173. Width = 119
  7174. BackColor = 192,192,192
  7175. BorderStyle = 3
  7176. Caption = "Form1"
  7177. Closable = .F.
  7178. ControlBox = .F.
  7179. HalfHeightCaption = .F.
  7180. MaxButton = .F.
  7181. MinButton = .F.
  7182. Movable = .T.
  7183. WindowState = 0
  7184. Name = "form1"
  7185. iPROCEDURE Activate
  7186. DO CASE
  7187. CASE Noutput = 1
  7188.     Activate Screen
  7189.     ? "Formset1.Form1.Activate"
  7190. CASE Noutput = 2
  7191.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Activate" + ;
  7192.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7193. CASE Noutput = 3
  7194.     Wait Window "Formset1.Form1.Activate" Nowait
  7195. ENDCASE
  7196. ENDPROC
  7197. PROCEDURE Click
  7198. DO CASE
  7199. CASE Noutput = 1
  7200.     Activate Screen
  7201.     ? "Formset1.Form1.Click"
  7202. CASE Noutput = 2
  7203.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Click" + ;
  7204.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7205. CASE Noutput = 3
  7206.     Wait Window "Formset1.Form1.Click" Nowait
  7207. ENDCASE
  7208. ENDPROC
  7209. PROCEDURE DblClick
  7210. DO CASE
  7211. CASE Noutput = 1
  7212.     Activate Screen
  7213.     ? "Formset1.Form1.DblClick"
  7214. CASE Noutput = 2
  7215.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.DblClick" + ;
  7216.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7217. CASE Noutput = 3
  7218.     Wait Window "Formset1.Form1.DblClick" Nowait
  7219. ENDCASE
  7220. ENDPROC
  7221. PROCEDURE Deactivate
  7222. DO CASE
  7223. CASE Noutput = 1
  7224.     Activate Screen
  7225.     ? "Formset1.Form1.Deactivate"
  7226. CASE Noutput = 2
  7227.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Deactivate" + ;
  7228.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7229. CASE Noutput = 3
  7230.     Wait Window "Formset1.Form1.Deactivate" Nowait
  7231. ENDCASE
  7232. ENDPROC
  7233. PROCEDURE Destroy
  7234. DO CASE
  7235. CASE Noutput = 1
  7236.     Activate Screen
  7237.     ? "Formset1.Form1.Destroy"
  7238. CASE Noutput = 2
  7239.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Destroy" + ;
  7240.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7241. CASE Noutput = 3
  7242.     Wait Window "Formset1.Form1.Destroy" Nowait
  7243. ENDCASE
  7244. ENDPROC
  7245. PROCEDURE DragDrop
  7246. Parameters cSource, nXCoord, nYCoord
  7247. CParamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7248. DO CASE
  7249. CASE Noutput = 1
  7250.     Activate Screen
  7251.     ? "Formset1.Form1.DragDrop "+CParamstr
  7252. CASE Noutput = 2
  7253.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.DragDrop "+CParamstr + ;
  7254.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7255. CASE Noutput = 3
  7256.     Wait Window "Formset1.Form1.DragDrop "+CParamstr Nowait
  7257. ENDCASE
  7258. ENDPROC
  7259. PROCEDURE DragOver
  7260. Parameters cSource, nXCoord, nYCoord, nState
  7261. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  7262. DO CASE
  7263. CASE Noutput = 1
  7264.     Activate Screen
  7265.     ? "Formset1.Form1.DragOver "+CParamstr
  7266. CASE Noutput = 2
  7267.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.DragOver "+CParamstr + ;
  7268.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7269. CASE Noutput = 3
  7270.     Wait Window "Formset1.Form1.DragOver "+CParamstr Nowait
  7271. ENDCASE
  7272. ENDPROC
  7273. PROCEDURE GotFocus
  7274. DO CASE
  7275. CASE Noutput = 1
  7276.     Activate Screen
  7277.     ? "Formset1.Form1.GotFocus"
  7278. CASE Noutput = 2
  7279.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.GotFocus" + ;
  7280.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7281. CASE Noutput = 3
  7282.     Wait Window "Formset1.Form1.GotFocus" Nowait
  7283. ENDCASE
  7284. ENDPROC
  7285. PROCEDURE KeyPress
  7286. Parameters nKeyCode, nShiftAltCtrl
  7287. Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  7288. DO CASE
  7289. CASE Noutput = 1
  7290.     Activate Screen
  7291.     ? "Formset1.Form1.KeyPress "+Cparamstr
  7292. CASE Noutput = 2
  7293.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.KeyPress "+Cparamstr + ;
  7294.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7295. CASE Noutput = 3
  7296.     Wait Window "Formset1.Form1.KeyPress "+Cparamstr Nowait
  7297. ENDCASE
  7298. ENDPROC
  7299. PROCEDURE Load
  7300. Public Noutput,oFormSet
  7301. oFormSet = ThisFormSet
  7302. *IF USED('customer')
  7303. *    SELECT customer
  7304. *ELSE
  7305. *    SELECT 0
  7306. *    USE customer alias customer
  7307. *ENDIF
  7308. DO CASE
  7309. CASE Noutput = 1
  7310.     Activate Screen
  7311.     ? "Formset1.Form1.Load"
  7312. CASE Noutput = 2
  7313.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Load" + ;
  7314.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7315. CASE Noutput = 3
  7316.     Wait Window "Formset1.Form1.Load" Nowait
  7317. ENDCASE
  7318. ENDPROC
  7319. PROCEDURE LostFocus
  7320. DO CASE
  7321. CASE Noutput = 1
  7322.     Activate Screen
  7323.     ? "Formset1.Form1.LostFocus"
  7324. CASE Noutput = 2
  7325.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.LostFocus" + ;
  7326.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7327. CASE Noutput = 3
  7328.     Wait Window "Formset1.Form1.LostFocus" Nowait
  7329. ENDCASE
  7330. ENDPROC
  7331. PROCEDURE MouseDown
  7332. Parameters nButton, nShift, nXCoord, nYCoord
  7333. IF lTrackMouse
  7334.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7335.     DO CASE
  7336.     CASE Noutput = 1
  7337.         Activate Screen
  7338.         ? "Formset1.Form1.MouseDown "+Cparamstr
  7339.     CASE Noutput = 2
  7340.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.MouseDown "+Cparamstr + ;
  7341.         chr(13) + ThisFormSet.EventWin.Edit1.Value
  7342.     CASE Noutput = 3
  7343.         Wait Window "Formset1.Form1.MouseDown "+Cparamstr Nowait
  7344.     ENDCASE
  7345. ENDIF
  7346. ENDPROC
  7347. PROCEDURE MouseMove
  7348. Parameters nButton, nShift, nXCoord, nYCoord
  7349. IF lTrackMouse
  7350.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7351.     DO CASE
  7352.     CASE Noutput = 1
  7353.         Activate Screen
  7354.         ? "Formset1.Form1.MouseMove "+Cparamstr
  7355.     CASE Noutput = 2
  7356.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.MouseMove "+Cparamstr + ;
  7357.         chr(13) + ThisFormSet.EventWin.Edit1.Value
  7358.     CASE Noutput = 3
  7359.         Wait Window "Formset1.Form1.MouseMove "+Cparamstr Nowait
  7360.     ENDCASE
  7361. ENDIF
  7362. ENDPROC
  7363. PROCEDURE MouseUp
  7364. Parameters nButton, nShift, nXCoord, nYCoord
  7365. IF lTrackMouse
  7366.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7367.     DO CASE
  7368.     CASE Noutput = 1
  7369.         Activate Screen
  7370.         ? "Formset1.Form1.MouseUp "+Cparamstr
  7371.     CASE Noutput = 2
  7372.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.MouseUp "+Cparamstr + ;
  7373.         chr(13) + ThisFormSet.EventWin.Edit1.Value
  7374.     CASE Noutput = 3
  7375.         Wait Window "Formset1.Form1.MouseUp "+Cparamstr Nowait
  7376.     ENDCASE
  7377. ENDIF
  7378. ENDPROC
  7379. PROCEDURE Paint
  7380. *DO CASE
  7381. *CASE Noutput = 1
  7382. *    Activate Screen
  7383. *    ? "Formset1.Form1.Paint"
  7384. *CASE Noutput = 2
  7385. *    ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Paint" + ;
  7386. *    chr(13) + ThisFormSet.EventWin.Edit1.Value
  7387. *CASE Noutput = 3
  7388. *    Wait Window "Formset1.Form1.Paint" Nowait
  7389. *ENDCASE
  7390. ENDPROC
  7391. PROCEDURE Resize
  7392. DO CASE
  7393. CASE Noutput = 1
  7394.     Activate Screen
  7395.     ? "Formset1.Form1.Resize"
  7396. CASE Noutput = 2
  7397.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Resize" + ;
  7398.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7399. CASE Noutput = 3
  7400.     Wait Window "Formset1.Form1.Resize" Nowait
  7401. ENDCASE
  7402. ENDPROC
  7403. PROCEDURE Unload
  7404. DO CASE
  7405. CASE Noutput = 1
  7406.     Activate Screen
  7407.     ? "Formset1.Form1.Unload"
  7408. CASE Noutput = 2
  7409.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Unload" + ;
  7410.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7411. CASE Noutput = 3
  7412.     Wait Window "Formset1.Form1.Unload" Nowait
  7413. ENDCASE
  7414. RELEASE EventTool
  7415. ENDPROC
  7416. Formset1.Form1.Activate
  7417. Formset1.Form1.ActivateC
  7418. Formset1.Form1.Activate
  7419. NOUTPUT
  7420. THISFORMSET
  7421. EVENTWIN
  7422. EDIT1
  7423. VALUE
  7424. Formset1.Form1.Click
  7425. Formset1.Form1.ClickC
  7426. Formset1.Form1.Click
  7427. NOUTPUT
  7428. THISFORMSET
  7429. EVENTWIN
  7430. EDIT1
  7431. VALUE
  7432. Formset1.Form1.DblClick
  7433. Formset1.Form1.DblClickC
  7434. Formset1.Form1.DblClick
  7435. NOUTPUT
  7436. THISFORMSET
  7437. EVENTWIN
  7438. EDIT1
  7439. VALUE
  7440. Formset1.Form1.Deactivate
  7441. Formset1.Form1.DeactivateC
  7442. Formset1.Form1.Deactivate
  7443. NOUTPUT
  7444. THISFORMSET
  7445. EVENTWIN
  7446. EDIT1
  7447. VALUE
  7448. Formset1.Form1.Destroy
  7449. Formset1.Form1.DestroyC
  7450. Formset1.Form1.Destroy
  7451. NOUTPUT
  7452. THISFORMSET
  7453. EVENTWIN
  7454. EDIT1
  7455. VALUE
  7456. Formset1.Form1.DragDrop 
  7457. Formset1.Form1.DragDrop 
  7458. Formset1.Form1.DragDrop 
  7459. CSOURCE
  7460. NXCOORD
  7461. NYCOORD    
  7462. CPARAMSTR
  7463. NOUTPUT
  7464. THISFORMSET
  7465. EVENTWIN
  7466. EDIT1
  7467. VALUE/
  7468. Formset1.Form1.DragOver 
  7469. Formset1.Form1.DragOver 
  7470. Formset1.Form1.DragOver 
  7471. CSOURCE
  7472. NXCOORD
  7473. NYCOORD
  7474. NSTATE    
  7475. CPARAMSTR
  7476. NOUTPUT
  7477. THISFORMSET
  7478. EVENTWIN
  7479. EDIT1
  7480. VALUE
  7481. Formset1.Form1.GotFocus
  7482. Formset1.Form1.GotFocusC
  7483. Formset1.Form1.GotFocus
  7484. NOUTPUT
  7485. THISFORMSET
  7486. EVENTWIN
  7487. EDIT1
  7488. VALUE
  7489. Formset1.Form1.KeyPress 
  7490. Formset1.Form1.KeyPress 
  7491. Formset1.Form1.KeyPress 
  7492. NKEYCODE
  7493. NSHIFTALTCTRL    
  7494. CPARAMSTR
  7495. NOUTPUT
  7496. THISFORMSET
  7497. EVENTWIN
  7498. EDIT1
  7499. VALUE
  7500. Formset1.Form1.Load
  7501. Formset1.Form1.LoadC
  7502. Formset1.Form1.Load
  7503. NOUTPUT
  7504. OFORMSET
  7505. THISFORMSET
  7506. EVENTWIN
  7507. EDIT1
  7508. VALUE
  7509. Formset1.Form1.LostFocus
  7510. Formset1.Form1.LostFocusC
  7511. Formset1.Form1.LostFocus
  7512. NOUTPUT
  7513. THISFORMSET
  7514. EVENTWIN
  7515. EDIT1
  7516. VALUED
  7517. Formset1.Form1.MouseDown 
  7518. Formset1.Form1.MouseDown 
  7519. Formset1.Form1.MouseDown 
  7520. NBUTTON
  7521. NSHIFT
  7522. NXCOORD
  7523. NYCOORD
  7524. LTRACKMOUSE    
  7525. CPARAMSTR
  7526. NOUTPUT
  7527. THISFORMSET
  7528. EVENTWIN
  7529. EDIT1
  7530. VALUED
  7531. Formset1.Form1.MouseMove 
  7532. Formset1.Form1.MouseMove 
  7533. Formset1.Form1.MouseMove 
  7534. NBUTTON
  7535. NSHIFT
  7536. NXCOORD
  7537. NYCOORD
  7538. LTRACKMOUSE    
  7539. CPARAMSTR
  7540. NOUTPUT
  7541. THISFORMSET
  7542. EVENTWIN
  7543. EDIT1
  7544. VALUE>
  7545. Formset1.Form1.MouseUp 
  7546. Formset1.Form1.MouseUp 
  7547. Formset1.Form1.MouseUp 
  7548. NBUTTON
  7549. NSHIFT
  7550. NXCOORD
  7551. NYCOORD
  7552. LTRACKMOUSE    
  7553. CPARAMSTR
  7554. NOUTPUT
  7555. THISFORMSET
  7556. EVENTWIN
  7557. EDIT1
  7558. VALUE
  7559. Formset1.Form1.Resize
  7560. Formset1.Form1.ResizeC
  7561. Formset1.Form1.Resize
  7562. NOUTPUT
  7563. THISFORMSET
  7564. EVENTWIN
  7565. EDIT1
  7566. VALUE
  7567. Formset1.Form1.Unload
  7568. Formset1.Form1.UnloadC
  7569. Formset1.Form1.Unload
  7570. NOUTPUT
  7571. THISFORMSET
  7572. EVENTWIN
  7573. EDIT1
  7574. VALUE    
  7575. EVENTTOOL
  7576. Activate,
  7577. Click/
  7578. DblClick)
  7579. Deactivate,
  7580. Destroy5
  7581. DragDrop5
  7582. DragOver
  7583. GotFocusF
  7584. KeyPressI    
  7585. LostFocus
  7586. MouseDown
  7587. MouseMove}
  7588. MouseUp.
  7589. Paint
  7590. Resize
  7591. Unload
  7592. c:\vfp\samples\controls\events\
  7593. 09056567.tmp
  7594. c:\vfp\samples\controls\events\09056567.tmp
  7595. shape
  7596. shape
  7597. Shape1
  7598. Formset1.form1.
  7599. @Height = 42
  7600. Left = 11
  7601. Top = 138
  7602. Width = 93
  7603. Name = "Shape1"
  7604. image
  7605. image
  7606. FoxIcon
  7607. Formset1.form1.
  7608. Picture = ..\..\..\fox.bmp
  7609. DragIcon = fox.cur
  7610. DragMode = 1
  7611. Height = 26
  7612. Left = 75
  7613. Top = 147
  7614. Width = 25
  7615. Name = "FoxIcon"
  7616. PROCEDURE MouseDown
  7617. Parameters nButton, nShift, nXCoord, nYCoord
  7618. This.Drag(1)
  7619. ENDPROC
  7620. PROCEDURE MouseUp
  7621. Parameters nButton, nShift, nXCoord, nYCoord
  7622. This.Drag(2)
  7623. ENDPROC
  7624. NBUTTON
  7625. NSHIFT
  7626. NXCOORD
  7627. NYCOORD
  7628. DRAG&
  7629. NBUTTON
  7630. NSHIFT
  7631. NXCOORD
  7632. NYCOORD
  7633. DRAG    
  7634. MouseDown,
  7635. MouseUp
  7636. c:\vfp\samples\controls\events\
  7637. 09056567.tmp
  7638. c:\vfp\samples\controls\events\09056567.tmp
  7639. label
  7640. label
  7641. Label2
  7642. Formset1.form1.
  7643. BackColor = 255,255,255
  7644. Caption = "Drag this icon    ->"
  7645. Height = 33
  7646. Left = 15
  7647. Top = 142
  7648. Width = 57
  7649. WordWrap = .T.
  7650. Name = "Label2"
  7651. spinner
  7652. spinner
  7653. Spinner1
  7654. Formset1.form1.
  7655. @Height = 25
  7656. Left = 43
  7657. Top = 3
  7658. Width = 42
  7659. Name = "Spinner1"
  7660. PROCEDURE Click
  7661. DO CASE
  7662. CASE Noutput = 1
  7663.     Activate Screen
  7664.     ? "Formset1.Form1.Spinner1.Click"
  7665. CASE Noutput = 2
  7666.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.Click" + ;
  7667.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7668. CASE Noutput = 3
  7669.     Wait Window "Formset1.Form1.Spinner1.Click" Nowait
  7670. ENDCASE
  7671. ENDPROC
  7672. PROCEDURE DblClick
  7673. DO CASE
  7674. CASE Noutput = 1
  7675.     Activate Screen
  7676.     ? "Formset1.Form1.Spinner1.DblClick"
  7677. CASE Noutput = 2
  7678.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DblClick" + ;
  7679.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7680. CASE Noutput = 3
  7681.     Wait Window "Formset1.Form1.Spinner1.DblClick" Nowait
  7682. ENDCASE
  7683. ENDPROC
  7684. PROCEDURE DownClick
  7685. DO CASE
  7686. CASE Noutput = 1
  7687.     Activate Screen
  7688.     ? "Formset1.Form1.Spinner1.DownClick"
  7689. CASE Noutput = 2
  7690.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DownClick" + ;
  7691.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7692. CASE Noutput = 3
  7693.     Wait Window "Formset1.Form1.Spinner1.DownClick" Nowait
  7694. ENDCASE
  7695. ENDPROC
  7696. PROCEDURE DragDrop
  7697. Parameters cSource, nXCoord, nYCoord
  7698. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7699. DO CASE
  7700. CASE Noutput = 1
  7701.     Activate Screen
  7702.     ? "Formset1.Form1.Spinner1.DragDrop"+Cparamstr
  7703. CASE Noutput = 2
  7704.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DragDrop"+Cparamstr + ;
  7705.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  7706. CASE Noutput = 3
  7707.     Wait Window "Formset1.Form1.Spinner1.DragDrop"+Cparamstr Nowait
  7708. ENDCASE
  7709. ENDPROC
  7710. PROCEDURE DragOver
  7711. Parameters cSource, nXCoord, nYCoord, nState
  7712. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  7713. DO CASE
  7714. CASE Noutput = 1
  7715.     Activate Screen
  7716.     ? "Formset1.Form1.Spinner1.DragOver"+Cparamstr
  7717. CASE Noutput = 2
  7718.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DragOver"+Cparamstr + ;
  7719.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  7720. CASE Noutput = 3
  7721.     Wait Window "Formset1.Form1.Spinner1.DragOver"+Cparamstr Nowait
  7722. ENDCASE
  7723. ENDPROC
  7724. PROCEDURE GotFocus
  7725. DO CASE
  7726. CASE Noutput = 1
  7727.     Activate Screen
  7728.     ? "Formset1.Form1.Spinner1.GotFocus"
  7729. CASE Noutput = 2
  7730.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.GotFocus" + ;
  7731.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7732. CASE Noutput = 3
  7733.     Wait Window "Formset1.Form1.Spinner1.GotFocus" Nowait
  7734. ENDCASE
  7735. ENDPROC
  7736. PROCEDURE InteractiveChange
  7737. DO CASE
  7738. CASE Noutput = 1
  7739.     Activate Screen
  7740.     ? "Formset1.Form1.Spinner1.InteractiveChange"
  7741. CASE Noutput = 2
  7742.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.InteractiveChange" + ;
  7743.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7744. CASE Noutput = 3
  7745.     Wait Window "Formset1.Form1.Spinner1.InteractiveChange" Nowait
  7746. ENDCASE
  7747. ENDPROC
  7748. PROCEDURE KeyPress
  7749. Parameters nKeyCode, nShiftAltCtrl
  7750. IF lTrackMouse
  7751.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  7752.     DO CASE
  7753.     CASE Noutput = 1
  7754.         Activate Screen
  7755.         ? "Formset1.Form1.Spinner1.KeyPress"+Cparamstr
  7756.     CASE Noutput = 2
  7757.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.KeyPress"+Cparamstr + ;
  7758.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  7759.     CASE Noutput = 3
  7760.         Wait Window "Formset1.Form1.Spinner1.KeyPress"+Cparamstr Nowait
  7761.     ENDCASE
  7762. ENDIF
  7763. ENDPROC
  7764. PROCEDURE LostFocus
  7765. DO CASE
  7766. CASE Noutput = 1
  7767.     Activate Screen
  7768.     ? "Formset1.Form1.Spinner1.LostFocus"
  7769. CASE Noutput = 2
  7770.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.LostFocus" + ;
  7771.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7772. CASE Noutput = 3
  7773.     Wait Window "Formset1.Form1.Spinner1.LostFocus" Nowait
  7774. ENDCASE
  7775. ENDPROC
  7776. PROCEDURE MouseDown
  7777. Parameters nButton, nShift, nXCoord, nYCoord
  7778. IF lTrackMouse
  7779.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7780.     DO CASE
  7781.     CASE Noutput = 1
  7782.         Activate Screen
  7783.         ? "Formset1.Form1.Spinner1.MouseDown"+Cparamstr
  7784.     CASE Noutput = 2
  7785.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.MouseDown"+Cparamstr + ;
  7786.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  7787.     CASE Noutput = 3
  7788.         Wait Window "Formset1.Form1.Spinner1.MouseDown"+Cparamstr Nowait
  7789.     ENDCASE
  7790. ENDIF
  7791. ENDPROC
  7792. PROCEDURE MouseMove
  7793. Parameters nButton, nShift, nXCoord, nYCoord
  7794. IF lTrackMouse
  7795.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7796.     DO CASE
  7797.     CASE Noutput = 1
  7798.         Activate Screen
  7799.         ? "Formset1.Form1.Spinner1.MouseMove"+Cparamstr
  7800.     CASE Noutput = 2
  7801.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.MouseMove"+Cparamstr + ;
  7802.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  7803.     CASE Noutput = 3
  7804.         Wait Window "Formset1.Form1.Spinner1.MouseMove"+Cparamstr Nowait
  7805.     ENDCASE
  7806. ENDIF
  7807. ENDPROC
  7808. PROCEDURE MouseUp
  7809. Parameters nButton, nShift, nXCoord, nYCoord
  7810. IF lTrackMouse
  7811.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  7812.     DO CASE
  7813.     CASE Noutput = 1
  7814.         Activate Screen
  7815.         ? "Formset1.Form1.Spinner1.MouseUp"+Cparamstr
  7816.     CASE Noutput = 2
  7817.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.MouseUp"+Cparamstr + ;
  7818.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  7819.     CASE Noutput = 3
  7820.         Wait Window "Formset1.Form1.Spinner1.MouseUp"+Cparamstr Nowait
  7821.     ENDCASE
  7822. ENDIF
  7823. ENDPROC
  7824. PROCEDURE RightClick
  7825. DO CASE
  7826. CASE Noutput = 1
  7827.     Activate Screen
  7828.     ? "Formset1.Form1.Spinner1.RightClick"
  7829. CASE Noutput = 2
  7830.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.RightClick" + ;
  7831.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7832. CASE Noutput = 3
  7833.     Wait Window "Formset1.Form1.Spinner1.RightClick" Nowait
  7834. ENDCASE
  7835. ENDPROC
  7836. PROCEDURE UpClick
  7837. DO CASE
  7838. CASE Noutput = 1
  7839.     Activate Screen
  7840.     ? "Formset1.Form1.Spinner1.UpClick"
  7841. CASE Noutput = 2
  7842.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.UpClick" + ;
  7843.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7844. CASE Noutput = 3
  7845.     Wait Window "Formset1.Form1.Spinner1.UpClick" Nowait
  7846. ENDCASE
  7847. ENDPROC
  7848. PROCEDURE Init
  7849. DO CASE
  7850. CASE Noutput = 1
  7851.     Activate Screen
  7852.     ? "Formset1.Form1.Spinner1.Init"
  7853. CASE Noutput = 2
  7854.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.Init" + ;
  7855.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7856. CASE Noutput = 3
  7857.     Wait Window "Formset1.Form1.Spinner1.Init" Nowait
  7858. ENDCASE
  7859. ENDPROC
  7860. PROCEDURE When
  7861. DO CASE
  7862. CASE Noutput = 1
  7863.     Activate Screen
  7864.     ? "Formset1.Form1.Spinner1.When"
  7865. CASE Noutput = 2
  7866.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.When" + ;
  7867.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7868. CASE Noutput = 3
  7869.     Wait Window "Formset1.Form1.Spinner1.When" Nowait
  7870. ENDCASE
  7871. ENDPROC
  7872. PROCEDURE Valid
  7873. DO CASE
  7874. CASE Noutput = 1
  7875.     Activate Screen
  7876.     ? "Formset1.Form1.Spinner1.Valid"
  7877. CASE Noutput = 2
  7878.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.Valid" + ;
  7879.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  7880. CASE Noutput = 3
  7881.     Wait Window "Formset1.Form1.Spinner1.Valid" Nowait
  7882. ENDCASE
  7883. ENDPROC
  7884. Formset1.Form1.Spinner1.Click
  7885. Formset1.Form1.Spinner1.ClickC
  7886. Formset1.Form1.Spinner1.Click
  7887. NOUTPUT
  7888. THISFORMSET
  7889. EVENTWIN
  7890. EDIT1
  7891. VALUE
  7892. Formset1.Form1.Spinner1.DblClick
  7893. Formset1.Form1.Spinner1.DblClickC
  7894. Formset1.Form1.Spinner1.DblClick
  7895. NOUTPUT
  7896. THISFORMSET
  7897. EVENTWIN
  7898. EDIT1
  7899. VALUE
  7900. Formset1.Form1.Spinner1.DownClick
  7901. Formset1.Form1.Spinner1.DownClickC
  7902. Formset1.Form1.Spinner1.DownClick
  7903. NOUTPUT
  7904. THISFORMSET
  7905. EVENTWIN
  7906. EDIT1
  7907. VALUE6
  7908. Formset1.Form1.Spinner1.DragDrop
  7909. Formset1.Form1.Spinner1.DragDrop
  7910. Formset1.Form1.Spinner1.DragDrop
  7911. CSOURCE
  7912. NXCOORD
  7913. NYCOORD    
  7914. CPARAMSTR
  7915. NOUTPUT
  7916. THISFORMSET
  7917. EVENTWIN
  7918. EDIT1
  7919. VALUEG
  7920. Formset1.Form1.Spinner1.DragOver
  7921. Formset1.Form1.Spinner1.DragOver
  7922. Formset1.Form1.Spinner1.DragOver
  7923. CSOURCE
  7924. NXCOORD
  7925. NYCOORD
  7926. NSTATE    
  7927. CPARAMSTR
  7928. NOUTPUT
  7929. THISFORMSET
  7930. EVENTWIN
  7931. EDIT1
  7932. VALUE
  7933. Formset1.Form1.Spinner1.GotFocus
  7934. Formset1.Form1.Spinner1.GotFocusC
  7935. Formset1.Form1.Spinner1.GotFocus
  7936. NOUTPUT
  7937. THISFORMSET
  7938. EVENTWIN
  7939. EDIT1
  7940. VALUE
  7941. Formset1.Form1.Spinner1.InteractiveChange
  7942. Formset1.Form1.Spinner1.InteractiveChangeC
  7943. Formset1.Form1.Spinner1.InteractiveChange
  7944. NOUTPUT
  7945. THISFORMSET
  7946. EVENTWIN
  7947. EDIT1
  7948. VALUE7
  7949. Formset1.Form1.Spinner1.KeyPress
  7950. Formset1.Form1.Spinner1.KeyPress
  7951. Formset1.Form1.Spinner1.KeyPress
  7952. NKEYCODE
  7953. NSHIFTALTCTRL
  7954. LTRACKMOUSE    
  7955. CPARAMSTR
  7956. NOUTPUT
  7957. THISFORMSET
  7958. EVENTWIN
  7959. EDIT1
  7960. VALUE
  7961. Formset1.Form1.Spinner1.LostFocus
  7962. Formset1.Form1.Spinner1.LostFocusC
  7963. Formset1.Form1.Spinner1.LostFocus
  7964. NOUTPUT
  7965. THISFORMSET
  7966. EVENTWIN
  7967. EDIT1
  7968. VALUE\
  7969. Formset1.Form1.Spinner1.MouseDown
  7970. Formset1.Form1.Spinner1.MouseDown
  7971. Formset1.Form1.Spinner1.MouseDown
  7972. NBUTTON
  7973. NSHIFT
  7974. NXCOORD
  7975. NYCOORD
  7976. LTRACKMOUSE    
  7977. CPARAMSTR
  7978. NOUTPUT
  7979. THISFORMSET
  7980. EVENTWIN
  7981. EDIT1
  7982. VALUE\
  7983. Formset1.Form1.Spinner1.MouseMove
  7984. Formset1.Form1.Spinner1.MouseMove
  7985. Formset1.Form1.Spinner1.MouseMove
  7986. NBUTTON
  7987. NSHIFT
  7988. NXCOORD
  7989. NYCOORD
  7990. LTRACKMOUSE    
  7991. CPARAMSTR
  7992. NOUTPUT
  7993. THISFORMSET
  7994. EVENTWIN
  7995. EDIT1
  7996. VALUEV
  7997. Formset1.Form1.Spinner1.MouseUp
  7998. Formset1.Form1.Spinner1.MouseUp
  7999. Formset1.Form1.Spinner1.MouseUp
  8000. NBUTTON
  8001. NSHIFT
  8002. NXCOORD
  8003. NYCOORD
  8004. LTRACKMOUSE    
  8005. CPARAMSTR
  8006. NOUTPUT
  8007. THISFORMSET
  8008. EVENTWIN
  8009. EDIT1
  8010. VALUE
  8011. Formset1.Form1.Spinner1.RightClick
  8012. Formset1.Form1.Spinner1.RightClickC
  8013. Formset1.Form1.Spinner1.RightClick
  8014. NOUTPUT
  8015. THISFORMSET
  8016. EVENTWIN
  8017. EDIT1
  8018. VALUE
  8019. Formset1.Form1.Spinner1.UpClick
  8020. Formset1.Form1.Spinner1.UpClickC
  8021. Formset1.Form1.Spinner1.UpClick
  8022. NOUTPUT
  8023. THISFORMSET
  8024. EVENTWIN
  8025. EDIT1
  8026. VALUE
  8027. Formset1.Form1.Spinner1.Init
  8028. Formset1.Form1.Spinner1.InitC
  8029. Formset1.Form1.Spinner1.Init
  8030. NOUTPUT
  8031. THISFORMSET
  8032. EVENTWIN
  8033. EDIT1
  8034. VALUE
  8035. Formset1.Form1.Spinner1.When
  8036. Formset1.Form1.Spinner1.WhenC
  8037. Formset1.Form1.Spinner1.When
  8038. NOUTPUT
  8039. THISFORMSET
  8040. EVENTWIN
  8041. EDIT1
  8042. VALUE
  8043. Formset1.Form1.Spinner1.Valid
  8044. Formset1.Form1.Spinner1.ValidC
  8045. Formset1.Form1.Spinner1.Valid
  8046. NOUTPUT
  8047. THISFORMSET
  8048. EVENTWIN
  8049. EDIT1
  8050. VALUE
  8051. Click,
  8052. DblClickA
  8053. DownClick_
  8054. DragDrop
  8055. DragOver
  8056. GotFocus
  8057. InteractiveChange
  8058. KeyPress
  8059. LostFocus
  8060. MouseDown
  8061. MouseMove
  8062. MouseUpe
  8063. RightClick(
  8064. UpClickL
  8065. Initg
  8066. Wheny
  8067. Valid
  8068. c:\vfp\samples\controls\events\
  8069. 09056567.tmp
  8070. c:\vfp\samples\controls\events\09056567.tmp
  8071. commandbutton
  8072. commandbutton
  8073. Command1
  8074. Formset1.form1.
  8075. ^Top = 110
  8076. Left = 1
  8077. Height = 25
  8078. Width = 117
  8079. Caption = "Command Button"
  8080. Name = "Command1"
  8081. PROCEDURE Click
  8082. DO CASE
  8083. CASE Noutput = 1
  8084.     Activate Screen
  8085.     ? "Formset1.Form1.Command1.Click"
  8086. CASE Noutput = 2
  8087.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Click" + ;
  8088.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8089. CASE Noutput = 3
  8090.     Wait Window "Formset1.Form1.Command1.Click" Nowait
  8091. ENDCASE
  8092. ENDPROC
  8093. PROCEDURE DragDrop
  8094. Parameters cSource, nXCoord, nYCoord
  8095. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8096. DO CASE
  8097. CASE Noutput = 1
  8098.     Activate Screen
  8099.     ? "Formset1.Form1.Command1.DragDrop"+Cparamstr
  8100. CASE Noutput = 2
  8101.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.DragDrop"+Cparamstr + ;
  8102.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8103. CASE Noutput = 3
  8104.     Wait Window "Formset1.Form1.Command1.DragDrop"+Cparamstr Nowait
  8105. ENDCASE
  8106. ENDPROC
  8107. PROCEDURE DragOver
  8108. Parameters cSource, nXCoord, nYCoord, nState
  8109. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  8110. DO CASE
  8111. CASE Noutput = 1
  8112.     Activate Screen
  8113.     ? "Formset1.Form1.Command1.DragOver"+Cparamstr
  8114. CASE Noutput = 2
  8115.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.DragOver"+Cparamstr + ;
  8116.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8117. CASE Noutput = 3
  8118.     Wait Window "Formset1.Form1.Command1.DragOver"+Cparamstr Nowait
  8119. ENDCASE
  8120. ENDPROC
  8121. PROCEDURE GotFocus
  8122. DO CASE
  8123. CASE Noutput = 1
  8124.     Activate Screen
  8125.     ? "Formset1.Form1.Command1.GotFocus"
  8126. CASE Noutput = 2
  8127.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.GotFocus" + ;
  8128.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8129. CASE Noutput = 3
  8130.     Wait Window "Formset1.Form1.Command1.GotFocus" Nowait
  8131. ENDCASE
  8132. ENDPROC
  8133. PROCEDURE KeyPress
  8134. Parameters nKeyCode, nShiftAltCtrl
  8135. IF lTrackMouse
  8136.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  8137.     DO CASE
  8138.     CASE Noutput = 1
  8139.         Activate Screen
  8140.         ? "Formset1.Form1.Command1.KeyPress"+Cparamstr
  8141.     CASE Noutput = 2
  8142.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.KeyPress"+Cparamstr + ;
  8143.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8144.     CASE Noutput = 3
  8145.         Wait Window "Formset1.Form1.Command1.KeyPress"+Cparamstr Nowait
  8146.     ENDCASE
  8147. ENDIF
  8148. ENDPROC
  8149. PROCEDURE LostFocus
  8150. DO CASE
  8151. CASE Noutput = 1
  8152.     Activate Screen
  8153.     ? "Formset1.Form1.Command1.LostFocus"
  8154. CASE Noutput = 2
  8155.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.LostFocus" + ;
  8156.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8157. CASE Noutput = 3
  8158.     Wait Window "Formset1.Form1.Command1.LostFocus" Nowait
  8159. ENDCASE
  8160. ENDPROC
  8161. PROCEDURE MouseDown
  8162. Parameters nButton, nShift, nXCoord, nYCoord
  8163. IF lTrackMouse
  8164.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8165.     DO CASE
  8166.     CASE Noutput = 1
  8167.         Activate Screen
  8168.         ? "Formset1.Form1.Command1.MouseDown"+Cparamstr
  8169.     CASE Noutput = 2
  8170.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.MouseDown"+Cparamstr + ;
  8171.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8172.     CASE Noutput = 3
  8173.         Wait Window "Formset1.Form1.Command1.MouseDown"+Cparamstr Nowait
  8174.     ENDCASE
  8175. ENDIF
  8176. ENDPROC
  8177. PROCEDURE MouseMove
  8178. Parameters nButton, nShift, nXCoord, nYCoord
  8179. IF lTrackMouse
  8180.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8181.     DO CASE
  8182.     CASE Noutput = 1
  8183.         Activate Screen
  8184.         ? "Formset1.Form1.Command1.MouseMove"+Cparamstr
  8185.     CASE Noutput = 2
  8186.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.MouseMove"+Cparamstr + ;
  8187.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8188.     CASE Noutput = 3
  8189.         Wait Window "Formset1.Form1.Command1.MouseMove"+Cparamstr Nowait
  8190.     ENDCASE
  8191. ENDIF
  8192. ENDPROC
  8193. PROCEDURE MouseUp
  8194. Parameters nButton, nShift, nXCoord, nYCoord
  8195. IF lTrackMouse
  8196.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8197.     DO CASE
  8198.     CASE Noutput = 1
  8199.         Activate Screen
  8200.         ? "Formset1.Form1.Command1.MouseUp"+Cparamstr
  8201.     CASE Noutput = 2
  8202.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.MouseUp"+Cparamstr + ;
  8203.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8204.     CASE Noutput = 3
  8205.         Wait Window "Formset1.Form1.Command1.MouseUp"+Cparamstr Nowait
  8206.     ENDCASE
  8207. ENDIF
  8208. ENDPROC
  8209. PROCEDURE RightClick
  8210. DO CASE
  8211. CASE Noutput = 1
  8212.     Activate Screen
  8213.     ? "Formset1.Form1.Command1.RightClick"
  8214. CASE Noutput = 2
  8215.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.RightClick" + ;
  8216.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8217. CASE Noutput = 3
  8218.     Wait Window "Formset1.Form1.Command1.RightClick" Nowait
  8219. ENDCASE
  8220. ENDPROC
  8221. PROCEDURE Destroy
  8222. DO CASE
  8223. CASE Noutput = 1
  8224.     Activate Screen
  8225.     ? "Formset1.Form1.Command1.Destroy"
  8226. CASE Noutput = 2
  8227.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Destroy" + ;
  8228.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8229. CASE Noutput = 3
  8230.     Wait Window "Formset1.Form1.Command1.Destroy" Nowait
  8231. ENDCASE
  8232. ENDPROC
  8233. PROCEDURE Init
  8234. DO CASE
  8235. CASE Noutput = 1
  8236.     Activate Screen
  8237.     ? "Formset1.Form1.Command1.Init"
  8238. CASE Noutput = 2
  8239.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Init" + ;
  8240.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8241. CASE Noutput = 3
  8242.     Wait Window "Formset1.Form1.Command1.Init" Nowait
  8243. ENDCASE
  8244. ENDPROC
  8245. PROCEDURE When
  8246. DO CASE
  8247. CASE Noutput = 1
  8248.     Activate Screen
  8249.     ? "Formset1.Form1.Command1.When"
  8250. CASE Noutput = 2
  8251.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.When" + ;
  8252.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8253. CASE Noutput = 3
  8254.     Wait Window "Formset1.Form1.Command1.When" Nowait
  8255. ENDCASE
  8256. ENDPROC
  8257. PROCEDURE Valid
  8258. DO CASE
  8259. CASE Noutput = 1
  8260.     Activate Screen
  8261.     ? "Formset1.Form1.Command1.Valid"
  8262. CASE Noutput = 2
  8263.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Valid" + ;
  8264.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8265. CASE Noutput = 3
  8266.     Wait Window "Formset1.Form1.Command1.Valid" Nowait
  8267. ENDCASE
  8268. ENDPROC
  8269. Formset1.Form1.Command1.Click
  8270. Formset1.Form1.Command1.ClickC
  8271. Formset1.Form1.Command1.Click
  8272. NOUTPUT
  8273. THISFORMSET
  8274. EVENTWIN
  8275. EDIT1
  8276. VALUE6
  8277. Formset1.Form1.Command1.DragDrop
  8278. Formset1.Form1.Command1.DragDrop
  8279. Formset1.Form1.Command1.DragDrop
  8280. CSOURCE
  8281. NXCOORD
  8282. NYCOORD    
  8283. CPARAMSTR
  8284. NOUTPUT
  8285. THISFORMSET
  8286. EVENTWIN
  8287. EDIT1
  8288. VALUEG
  8289. Formset1.Form1.Command1.DragOver
  8290. Formset1.Form1.Command1.DragOver
  8291. Formset1.Form1.Command1.DragOver
  8292. CSOURCE
  8293. NXCOORD
  8294. NYCOORD
  8295. NSTATE    
  8296. CPARAMSTR
  8297. NOUTPUT
  8298. THISFORMSET
  8299. EVENTWIN
  8300. EDIT1
  8301. VALUE
  8302. Formset1.Form1.Command1.GotFocus
  8303. Formset1.Form1.Command1.GotFocusC
  8304. Formset1.Form1.Command1.GotFocus
  8305. NOUTPUT
  8306. THISFORMSET
  8307. EVENTWIN
  8308. EDIT1
  8309. VALUE7
  8310. Formset1.Form1.Command1.KeyPress
  8311. Formset1.Form1.Command1.KeyPress
  8312. Formset1.Form1.Command1.KeyPress
  8313. NKEYCODE
  8314. NSHIFTALTCTRL
  8315. LTRACKMOUSE    
  8316. CPARAMSTR
  8317. NOUTPUT
  8318. THISFORMSET
  8319. EVENTWIN
  8320. EDIT1
  8321. VALUE
  8322. Formset1.Form1.Command1.LostFocus
  8323. Formset1.Form1.Command1.LostFocusC
  8324. Formset1.Form1.Command1.LostFocus
  8325. NOUTPUT
  8326. THISFORMSET
  8327. EVENTWIN
  8328. EDIT1
  8329. VALUE\
  8330. Formset1.Form1.Command1.MouseDown
  8331. Formset1.Form1.Command1.MouseDown
  8332. Formset1.Form1.Command1.MouseDown
  8333. NBUTTON
  8334. NSHIFT
  8335. NXCOORD
  8336. NYCOORD
  8337. LTRACKMOUSE    
  8338. CPARAMSTR
  8339. NOUTPUT
  8340. THISFORMSET
  8341. EVENTWIN
  8342. EDIT1
  8343. VALUE\
  8344. Formset1.Form1.Command1.MouseMove
  8345. Formset1.Form1.Command1.MouseMove
  8346. Formset1.Form1.Command1.MouseMove
  8347. NBUTTON
  8348. NSHIFT
  8349. NXCOORD
  8350. NYCOORD
  8351. LTRACKMOUSE    
  8352. CPARAMSTR
  8353. NOUTPUT
  8354. THISFORMSET
  8355. EVENTWIN
  8356. EDIT1
  8357. VALUEV
  8358. Formset1.Form1.Command1.MouseUp
  8359. Formset1.Form1.Command1.MouseUp
  8360. Formset1.Form1.Command1.MouseUp
  8361. NBUTTON
  8362. NSHIFT
  8363. NXCOORD
  8364. NYCOORD
  8365. LTRACKMOUSE    
  8366. CPARAMSTR
  8367. NOUTPUT
  8368. THISFORMSET
  8369. EVENTWIN
  8370. EDIT1
  8371. VALUE
  8372. Formset1.Form1.Command1.RightClick
  8373. Formset1.Form1.Command1.RightClickC
  8374. Formset1.Form1.Command1.RightClick
  8375. NOUTPUT
  8376. THISFORMSET
  8377. EVENTWIN
  8378. EDIT1
  8379. VALUE
  8380. Formset1.Form1.Command1.Destroy
  8381. Formset1.Form1.Command1.DestroyC
  8382. Formset1.Form1.Command1.Destroy
  8383. NOUTPUT
  8384. THISFORMSET
  8385. EVENTWIN
  8386. EDIT1
  8387. VALUE
  8388. Formset1.Form1.Command1.Init
  8389. Formset1.Form1.Command1.InitC
  8390. Formset1.Form1.Command1.Init
  8391. NOUTPUT
  8392. THISFORMSET
  8393. EVENTWIN
  8394. EDIT1
  8395. VALUE
  8396. Formset1.Form1.Command1.When
  8397. Formset1.Form1.Command1.WhenC
  8398. Formset1.Form1.Command1.When
  8399. NOUTPUT
  8400. THISFORMSET
  8401. EVENTWIN
  8402. EDIT1
  8403. VALUE
  8404. Formset1.Form1.Command1.Valid
  8405. Formset1.Form1.Command1.ValidC
  8406. Formset1.Form1.Command1.Valid
  8407. NOUTPUT
  8408. THISFORMSET
  8409. EVENTWIN
  8410. EDIT1
  8411. VALUE
  8412. Click,
  8413. DragDropA
  8414. DragOver
  8415. GotFocus
  8416. KeyPress
  8417. LostFocus:
  8418. MouseDown[
  8419. MouseMove$
  8420. MouseUp
  8421. RightClick
  8422. Destroy
  8423. Valid
  8424. c:\vfp\samples\controls\events\
  8425. 09056567.tmp
  8426. c:\vfp\samples\controls\events\09056567.tmp
  8427. shaper
  8428. ..\samples.vcx
  8429.     container
  8430. Shaper1
  8431. Formset1.form1.
  8432. 'Top = 33
  8433. Left = 14
  8434. Name = "Shaper1"
  8435. eventwin
  8436. Formset1.
  8437. ScaleMode = 3
  8438. Top = 236
  8439. Left = 234
  8440. Height = 144
  8441. Width = 388
  8442. Caption = "Event Window"
  8443. Closable = .F.
  8444. Visible = .F.
  8445. Name = "eventwin"
  8446. editbox
  8447. editbox
  8448. Edit1
  8449. Formset1.eventwin.
  8450. WBackColor = 255,255,255
  8451. Height = 144
  8452. Left = 0
  8453. Top = 0
  8454. Width = 389
  8455. Name = "Edit1"
  8456. form2
  8457. Formset1.
  8458. ScaleMode = 3
  8459. Top = 24
  8460. Left = 363
  8461. Height = 186
  8462. Width = 259
  8463. BackColor = 192,192,192
  8464. Caption = "Form2"
  8465. WindowState = 0
  8466. Name = "form2"
  8467. PROCEDURE Activate
  8468. DO CASE
  8469. CASE Noutput = 1
  8470.     Activate Screen
  8471.     ? "Formset1.Form2.Activate"
  8472. CASE Noutput = 2
  8473.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Activate" + ;
  8474.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8475. CASE Noutput = 3
  8476.     Wait Window "Formset1.Form2.Activate" Nowait
  8477. ENDCASE
  8478. ENDPROC
  8479. PROCEDURE Click
  8480. DO CASE
  8481. CASE Noutput = 1
  8482.     Activate Screen
  8483.     ? "Formset1.Form2.Click"
  8484. CASE Noutput = 2
  8485.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Click" + ;
  8486.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8487. CASE Noutput = 3
  8488.     Wait Window "Formset1.Form2.Click" Nowait
  8489. ENDCASE
  8490. ENDPROC
  8491. PROCEDURE DblClick
  8492. DO CASE
  8493. CASE Noutput = 1
  8494.     Activate Screen
  8495.     ? "Formset1.Form2.DblClick"
  8496. CASE Noutput = 2
  8497.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.DblClick" + ;
  8498.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8499. CASE Noutput = 3
  8500.     Wait Window "Formset1.Form2.DblClick" Nowait
  8501. ENDCASE
  8502. ENDPROC
  8503. PROCEDURE Deactivate
  8504. DO CASE
  8505. CASE Noutput = 1
  8506.     Activate Screen
  8507.     ? "Formset1.Form2.Deactivate"
  8508. CASE Noutput = 2
  8509.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Deactivate" + ;
  8510.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8511. CASE Noutput = 3
  8512.     Wait Window "Formset1.Form2.Deactivate" Nowait
  8513. ENDCASE
  8514. ENDPROC
  8515. PROCEDURE Destroy
  8516. DO CASE
  8517. CASE Noutput = 1
  8518.     Activate Screen
  8519.     ? "Formset1.Form2.Destroy"
  8520. CASE Noutput = 2
  8521.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Destroy" + ;
  8522.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8523. CASE Noutput = 3
  8524.     Wait Window "Formset1.Form2.Destroy" Nowait
  8525. ENDCASE
  8526. ENDPROC
  8527. PROCEDURE DragDrop
  8528. Parameters cSource, nXCoord, nYCoord
  8529. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8530. DO CASE
  8531. CASE Noutput = 1
  8532.     Activate Screen
  8533.     ? "Formset1.Form2.DragDrop"+Cparamstr
  8534. CASE Noutput = 2
  8535.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.DragDrop"+Cparamstr + ;
  8536.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8537. CASE Noutput = 3
  8538.     Wait Window "Formset1.Form2.DragDrop"+Cparamstr Nowait
  8539. ENDCASE
  8540. ENDPROC
  8541. PROCEDURE DragOver
  8542. Parameters cSource, nXCoord, nYCoord, nState
  8543. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  8544. DO CASE
  8545. CASE Noutput = 1
  8546.     Activate Screen
  8547.     ? "Formset1.Form2.DragOver"+Cparamstr
  8548. CASE Noutput = 2
  8549.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.DragOver"+Cparamstr + ;
  8550.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8551. CASE Noutput = 3
  8552.     Wait Window "Formset1.Form2.DragOver"+Cparamstr Nowait
  8553. ENDCASE
  8554. ENDPROC
  8555. PROCEDURE GotFocus
  8556. DO CASE
  8557. CASE Noutput = 1
  8558.     Activate Screen
  8559.     ? "Formset1.Form2.GotFocus"
  8560. CASE Noutput = 2
  8561.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.GotFocus" + ;
  8562.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8563. CASE Noutput = 3
  8564.     Wait Window "Formset1.Form2.GotFocus" Nowait
  8565. ENDCASE
  8566. ENDPROC
  8567. PROCEDURE Init
  8568. DO CASE
  8569. CASE Noutput = 1
  8570.     Activate Screen
  8571.     ? "Formset1.Form2.Init"
  8572. CASE Noutput = 2
  8573.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Init" + ;
  8574.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8575. CASE Noutput = 3
  8576.     Wait Window "Formset1.Form2.Init" Nowait
  8577. ENDCASE
  8578. ENDPROC
  8579. PROCEDURE KeyPress
  8580. Parameters nKeyCode, nShiftAltCtrl
  8581. IF lTrackMouse
  8582.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  8583.     DO CASE
  8584.     CASE Noutput = 1
  8585.         Activate Screen
  8586.         ? "Formset1.Form2.KeyPress"+Cparamstr
  8587.     CASE Noutput = 2
  8588.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.KeyPress"+Cparamstr + ;
  8589.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8590.     CASE Noutput = 3
  8591.         Wait Window "Formset1.Form2.KeyPress"+Cparamstr Nowait
  8592.     ENDCASE
  8593. ENDIF
  8594. ENDPROC
  8595. PROCEDURE Load
  8596. DO CASE
  8597. CASE Noutput = 1
  8598.     Activate Screen
  8599.     ? "Formset1.Form2.Load"
  8600. CASE Noutput = 2
  8601.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Load" + ;
  8602.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8603. CASE Noutput = 3
  8604.     Wait Window "Formset1.Form2.Load" Nowait
  8605. ENDCASE
  8606. ENDPROC
  8607. PROCEDURE LostFocus
  8608. DO CASE
  8609. CASE Noutput = 1
  8610.     Activate Screen
  8611.     ? "Formset1.Form2.LostFocus"
  8612. CASE Noutput = 2
  8613.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.LostFocus" + ;
  8614.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8615. CASE Noutput = 3
  8616.     Wait Window "Formset1.Form2.LostFocus" Nowait
  8617. ENDCASE
  8618. ENDPROC
  8619. PROCEDURE MouseDown
  8620. Parameters nButton, nShift, nXCoord, nYCoord
  8621. IF lTrackMouse
  8622.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8623.     DO CASE
  8624.     CASE Noutput = 1
  8625.         Activate Screen
  8626.         ? "Formset1.Form2.MouseDown"+Cparamstr
  8627.     CASE Noutput = 2
  8628.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.MouseDown"+Cparamstr + ;
  8629.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8630.     CASE Noutput = 3
  8631.         Wait Window "Formset1.Form2.MouseDown"+Cparamstr Nowait
  8632.     ENDCASE
  8633. ENDIF
  8634. ENDPROC
  8635. PROCEDURE MouseMove
  8636. Parameters nButton, nShift, nXCoord, nYCoord
  8637. IF lTrackMouse
  8638.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8639.     DO CASE
  8640.     CASE Noutput = 1
  8641.         Activate Screen
  8642.         ? "Formset1.Form2.MouseMove"+Cparamstr
  8643.     CASE Noutput = 2
  8644.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.MouseMove"+Cparamstr + ;
  8645.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8646.     CASE Noutput = 3
  8647.         Wait Window "Formset1.Form2.MouseMove"+Cparamstr Nowait
  8648.     ENDCASE
  8649. ENDIF
  8650. ENDPROC
  8651. PROCEDURE MouseUp
  8652. Parameters nButton, nShift, nXCoord, nYCoord
  8653. IF lTrackMouse
  8654.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8655.     DO CASE
  8656.     CASE Noutput = 1
  8657.         Activate Screen
  8658.         ? "Formset1.Form2.MouseUp"+Cparamstr
  8659.     CASE Noutput = 2
  8660.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.MouseUp"+Cparamstr + ;
  8661.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8662.     CASE Noutput = 3
  8663.         Wait Window "Formset1.Form2.MouseUp"+Cparamstr Nowait
  8664.     ENDCASE
  8665. ENDIF
  8666. ENDPROC
  8667. PROCEDURE Paint
  8668. *DO CASE
  8669. *CASE Noutput = 1
  8670. *    Activate Screen
  8671. *    ? "Formset1.Form2.Paint"
  8672. *CASE Noutput = 2
  8673. *    ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Paint" + ;
  8674. *    chr(13) + ThisFormSet.EventWin.Edit1.Value
  8675. *CASE Noutput = 3
  8676. *    Wait Window "Formset1.Form2.Paint" Nowait
  8677. *ENDCASE
  8678. ENDPROC
  8679. PROCEDURE Resize
  8680. DO CASE
  8681. CASE Noutput = 1
  8682.     Activate Screen
  8683.     ? "Formset1.Form2.Resize"
  8684. CASE Noutput = 2
  8685.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Resize" + ;
  8686.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8687. CASE Noutput = 3
  8688.     Wait Window "Formset1.Form2.Resize" Nowait
  8689. ENDCASE
  8690. ENDPROC
  8691. PROCEDURE Unload
  8692. DO CASE
  8693. CASE Noutput = 1
  8694.     Activate Screen
  8695.     ? "Formset1.Form2.Unload"
  8696. CASE Noutput = 2
  8697.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Unload" + ;
  8698.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8699. CASE Noutput = 3
  8700.     Wait Window "Formset1.Form2.Unload" Nowait
  8701. ENDCASE
  8702. ENDPROC
  8703. Formset1.Form2.Activate
  8704. Formset1.Form2.ActivateC
  8705. Formset1.Form2.Activate
  8706. NOUTPUT
  8707. THISFORMSET
  8708. EVENTWIN
  8709. EDIT1
  8710. VALUE
  8711. Formset1.Form2.Click
  8712. Formset1.Form2.ClickC
  8713. Formset1.Form2.Click
  8714. NOUTPUT
  8715. THISFORMSET
  8716. EVENTWIN
  8717. EDIT1
  8718. VALUE
  8719. Formset1.Form2.DblClick
  8720. Formset1.Form2.DblClickC
  8721. Formset1.Form2.DblClick
  8722. NOUTPUT
  8723. THISFORMSET
  8724. EVENTWIN
  8725. EDIT1
  8726. VALUE
  8727. Formset1.Form2.Deactivate
  8728. Formset1.Form2.DeactivateC
  8729. Formset1.Form2.Deactivate
  8730. NOUTPUT
  8731. THISFORMSET
  8732. EVENTWIN
  8733. EDIT1
  8734. VALUE
  8735. Formset1.Form2.Destroy
  8736. Formset1.Form2.DestroyC
  8737. Formset1.Form2.Destroy
  8738. NOUTPUT
  8739. THISFORMSET
  8740. EVENTWIN
  8741. EDIT1
  8742. VALUE
  8743. Formset1.Form2.DragDrop
  8744. Formset1.Form2.DragDrop
  8745. Formset1.Form2.DragDrop
  8746. CSOURCE
  8747. NXCOORD
  8748. NYCOORD    
  8749. CPARAMSTR
  8750. NOUTPUT
  8751. THISFORMSET
  8752. EVENTWIN
  8753. EDIT1
  8754. VALUE,
  8755. Formset1.Form2.DragOver
  8756. Formset1.Form2.DragOver
  8757. Formset1.Form2.DragOver
  8758. CSOURCE
  8759. NXCOORD
  8760. NYCOORD
  8761. NSTATE    
  8762. CPARAMSTR
  8763. NOUTPUT
  8764. THISFORMSET
  8765. EVENTWIN
  8766. EDIT1
  8767. VALUE
  8768. Formset1.Form2.GotFocus
  8769. Formset1.Form2.GotFocusC
  8770. Formset1.Form2.GotFocus
  8771. NOUTPUT
  8772. THISFORMSET
  8773. EVENTWIN
  8774. EDIT1
  8775. VALUE
  8776. Formset1.Form2.Init
  8777. Formset1.Form2.InitC
  8778. Formset1.Form2.Init
  8779. NOUTPUT
  8780. THISFORMSET
  8781. EVENTWIN
  8782. EDIT1
  8783. VALUE
  8784. Formset1.Form2.KeyPress
  8785. Formset1.Form2.KeyPress
  8786. Formset1.Form2.KeyPress
  8787. NKEYCODE
  8788. NSHIFTALTCTRL
  8789. LTRACKMOUSE    
  8790. CPARAMSTR
  8791. NOUTPUT
  8792. THISFORMSET
  8793. EVENTWIN
  8794. EDIT1
  8795. VALUE
  8796. Formset1.Form2.Load
  8797. Formset1.Form2.LoadC
  8798. Formset1.Form2.Load
  8799. NOUTPUT
  8800. THISFORMSET
  8801. EVENTWIN
  8802. EDIT1
  8803. VALUE
  8804. Formset1.Form2.LostFocus
  8805. Formset1.Form2.LostFocusC
  8806. Formset1.Form2.LostFocus
  8807. NOUTPUT
  8808. THISFORMSET
  8809. EVENTWIN
  8810. EDIT1
  8811. VALUEA
  8812. Formset1.Form2.MouseDown
  8813. Formset1.Form2.MouseDown
  8814. Formset1.Form2.MouseDown
  8815. NBUTTON
  8816. NSHIFT
  8817. NXCOORD
  8818. NYCOORD
  8819. LTRACKMOUSE    
  8820. CPARAMSTR
  8821. NOUTPUT
  8822. THISFORMSET
  8823. EVENTWIN
  8824. EDIT1
  8825. VALUEA
  8826. Formset1.Form2.MouseMove
  8827. Formset1.Form2.MouseMove
  8828. Formset1.Form2.MouseMove
  8829. NBUTTON
  8830. NSHIFT
  8831. NXCOORD
  8832. NYCOORD
  8833. LTRACKMOUSE    
  8834. CPARAMSTR
  8835. NOUTPUT
  8836. THISFORMSET
  8837. EVENTWIN
  8838. EDIT1
  8839. VALUE;
  8840. Formset1.Form2.MouseUp
  8841. Formset1.Form2.MouseUp
  8842. Formset1.Form2.MouseUp
  8843. NBUTTON
  8844. NSHIFT
  8845. NXCOORD
  8846. NYCOORD
  8847. LTRACKMOUSE    
  8848. CPARAMSTR
  8849. NOUTPUT
  8850. THISFORMSET
  8851. EVENTWIN
  8852. EDIT1
  8853. VALUE
  8854. Formset1.Form2.Resize
  8855. Formset1.Form2.ResizeC
  8856. Formset1.Form2.Resize
  8857. NOUTPUT
  8858. THISFORMSET
  8859. EVENTWIN
  8860. EDIT1
  8861. VALUE
  8862. Formset1.Form2.Unload
  8863. Formset1.Form2.UnloadC
  8864. Formset1.Form2.Unload
  8865. NOUTPUT
  8866. THISFORMSET
  8867. EVENTWIN
  8868. EDIT1
  8869. VALUE
  8870. Activate,
  8871. Click/
  8872. DblClick)
  8873. Deactivate,
  8874. Destroy5
  8875. DragDrop5
  8876. DragOver
  8877. GotFocus@
  8878. InitC    
  8879. KeyPress:
  8880. LostFocus
  8881. MouseDown
  8882. MouseMoved
  8883. MouseUp
  8884. Paint
  8885. Resize
  8886. Unload
  8887. c:\vfp\samples\controls\events\
  8888. 09056567.tmp
  8889. c:\vfp\samples\controls\events\09056567.tmp
  8890.     pageframe
  8891.     pageframe
  8892. Pageframe1
  8893. Formset1.form2.
  8894. ErasePage = .T.
  8895. PageCount = 2
  8896. Top = 3
  8897. Left = 7
  8898. Height = 87
  8899. Width = 245
  8900. Name = "Pageframe1"
  8901. Page1.Caption = "Page1"
  8902. Page1.Name = "Page1"
  8903. Page2.Caption = "Page2"
  8904. Page2.Name = "Page2"
  8905. PROCEDURE Init
  8906. DO CASE
  8907. CASE Noutput = 1
  8908.     Activate Screen
  8909.     ? "Formset1.Form2.PageFrame1.Init"
  8910. CASE Noutput = 2
  8911.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Init" + ;
  8912.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8913. CASE Noutput = 3
  8914.     Wait Window "Formset1.Form2.PageFrame1.Init" Nowait
  8915. ENDCASE
  8916. ENDPROC
  8917. PROCEDURE Destroy
  8918. DO CASE
  8919. CASE Noutput = 1
  8920.     Activate Screen
  8921.     ? "Formset1.Form2.PageFrame1.Destroy"
  8922. CASE Noutput = 2
  8923.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Destroy" + ;
  8924.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8925. CASE Noutput = 3
  8926.     Wait Window "Formset1.Form2.PageFrame1.Destroy" Nowait
  8927. ENDCASE
  8928. ENDPROC
  8929. PROCEDURE Click
  8930. DO CASE
  8931. CASE Noutput = 1
  8932.     Activate Screen
  8933.     ? "Formset1.Form2.PageFrame1.Click"
  8934. CASE Noutput = 2
  8935.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Click" + ;
  8936.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8937. CASE Noutput = 3
  8938.     Wait Window "Formset1.Form2.PageFrame1.Click" Nowait
  8939. ENDCASE
  8940. ENDPROC
  8941. PROCEDURE DblClick
  8942. DO CASE
  8943. CASE Noutput = 1
  8944.     Activate Screen
  8945.     ? "Formset1.Form2.PageFrame1.DblClick"
  8946. CASE Noutput = 2
  8947.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.DblClick" + ;
  8948.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  8949. CASE Noutput = 3
  8950.     Wait Window "Formset1.Form2.PageFrame1.DblClick" Nowait
  8951. ENDCASE
  8952. ENDPROC
  8953. PROCEDURE DragDrop
  8954. Parameters cSource, nXCoord, nYCoord
  8955. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8956. DO CASE
  8957. CASE Noutput = 1
  8958.     Activate Screen
  8959.     ? "Formset1.Form2.PageFrame1.DragDrop"+Cparamstr
  8960. CASE Noutput = 2
  8961.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.DragDrop"+Cparamstr + ;
  8962.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8963. CASE Noutput = 3
  8964.     Wait Window "Formset1.Form2.PageFrame1.DragDrop"+Cparamstr Nowait
  8965. ENDCASE
  8966. ENDPROC
  8967. PROCEDURE DragOver
  8968. Parameters cSource, nXCoord, nYCoord, nState
  8969. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  8970. DO CASE
  8971. CASE Noutput = 1
  8972.     Activate Screen
  8973.     ? "Formset1.Form2.PageFrame1.DragOver"+Cparamstr
  8974. CASE Noutput = 2
  8975.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.DragOver"+Cparamstr + ;
  8976.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8977. CASE Noutput = 3
  8978.     Wait Window "Formset1.Form2.PageFrame1.DragOver"+Cparamstr Nowait
  8979. ENDCASE
  8980. ENDPROC
  8981. PROCEDURE MouseDown
  8982. Parameters nButton, nShift, nXCoord, nYCoord
  8983. IF lTrackMouse
  8984.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  8985.     DO CASE
  8986.     CASE Noutput = 1
  8987.         Activate Screen
  8988.         ? "Formset1.Form2.PageFrame1.MouseDown"+Cparamstr
  8989.     CASE Noutput = 2
  8990.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.MouseDown"+Cparamstr + ;
  8991.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  8992.     CASE Noutput = 3
  8993.         Wait Window "Formset1.Form2.PageFrame1.MouseDown"+Cparamstr Nowait
  8994.     ENDCASE
  8995. ENDIF
  8996. ENDPROC
  8997. PROCEDURE MouseMove
  8998. Parameters nButton, nShift, nXCoord, nYCoord
  8999. IF lTrackMouse
  9000.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9001.     DO CASE
  9002.     CASE Noutput = 1
  9003.         Activate Screen
  9004.         ? "Formset1.Form2.PageFrame1.MouseMove"+Cparamstr
  9005.     CASE Noutput = 2
  9006.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.MouseMove"+Cparamstr + ;
  9007.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9008.     CASE Noutput = 3
  9009.         Wait Window "Formset1.Form2.PageFrame1.MouseMove"+Cparamstr Nowait
  9010.     ENDCASE
  9011. ENDIF
  9012. ENDPROC
  9013. PROCEDURE MouseUp
  9014. Parameters nButton, nShift, nXCoord, nYCoord
  9015. IF lTrackMouse
  9016.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9017.     DO CASE
  9018.     CASE Noutput = 1
  9019.         Activate Screen
  9020.         ? "Formset1.Form2.PageFrame1.MouseUp"+Cparamstr
  9021.     CASE Noutput = 2
  9022.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.MouseUp"+Cparamstr + ;
  9023.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9024.     CASE Noutput = 3
  9025.         Wait Window "Formset1.Form2.PageFrame1.MouseUp"+Cparamstr Nowait
  9026.     ENDCASE
  9027. ENDIF
  9028. ENDPROC
  9029. PROCEDURE RightClick
  9030. DO CASE
  9031. CASE Noutput = 1
  9032.     Activate Screen
  9033.     ? "Formset1.Form2.PageFrame1.RightClick"
  9034. CASE Noutput = 2
  9035.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.RightClick" + ;
  9036.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9037. CASE Noutput = 3
  9038.     Wait Window "Formset1.Form2.PageFrame1.RightClick" Nowait
  9039. ENDCASE
  9040. ENDPROC
  9041. PROCEDURE Page1.Activate
  9042. DO CASE
  9043. CASE Noutput = 1
  9044.     Activate Screen
  9045.     ? "Formset1.Form2.PageFrame1.Page1.Activate"
  9046. CASE Noutput = 2
  9047.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Activate" + ;
  9048.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9049. CASE Noutput = 3
  9050.     Wait Window "Formset1.Form2.PageFrame1.Page1.Activate" Nowait
  9051. ENDCASE
  9052. ENDPROC
  9053. PROCEDURE Page1.Deactivate
  9054. DO CASE
  9055. CASE Noutput = 1
  9056.     Activate Screen
  9057.     ? "Formset1.Form2.PageFrame1.Page1.Deactivate"
  9058. CASE Noutput = 2
  9059.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Deactivate" + ;
  9060.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9061. CASE Noutput = 3
  9062.     Wait Window "Formset1.Form2.PageFrame1.Page1.Deactivate" Nowait
  9063. ENDCASE
  9064. ENDPROC
  9065. PROCEDURE Page1.Destroy
  9066. DO CASE
  9067. CASE Noutput = 1
  9068.     Activate Screen
  9069.     ? "Formset1.Form2.PageFrame1.Page1.Destroy"
  9070. CASE Noutput = 2
  9071.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Destroy" + ;
  9072.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9073. CASE Noutput = 3
  9074.     Wait Window "Formset1.Form2.PageFrame1.Page1.Destroy" Nowait
  9075. ENDCASE
  9076. ENDPROC
  9077. PROCEDURE Page1.Init
  9078. DO CASE
  9079. CASE Noutput = 1
  9080.     Activate Screen
  9081.     ? "Formset1.Form2.PageFrame1.Page1.Init"
  9082. CASE Noutput = 2
  9083.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Init" + ;
  9084.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9085. CASE Noutput = 3
  9086.     Wait Window "Formset1.Form2.PageFrame1.Page1.Init" Nowait
  9087. ENDCASE
  9088. ENDPROC
  9089. PROCEDURE Page1.Click
  9090. DO CASE
  9091. CASE Noutput = 1
  9092.     Activate Screen
  9093.     ? "Formset1.Form2.PageFrame1.Page1.Click"
  9094. CASE Noutput = 2
  9095.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Click" + ;
  9096.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9097. CASE Noutput = 3
  9098.     Wait Window "Formset1.Form2.PageFrame1.Page1.Click" Nowait
  9099. ENDCASE
  9100. ENDPROC
  9101. PROCEDURE Page1.DblClick
  9102. DO CASE
  9103. CASE Noutput = 1
  9104.     Activate Screen
  9105.     ? "Formset1.Form2.PageFrame1.Page1.DblClick"
  9106. CASE Noutput = 2
  9107.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.DblClick" + ;
  9108.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9109. CASE Noutput = 3
  9110.     Wait Window "Formset1.Form2.PageFrame1.Page1.DblClick" Nowait
  9111. ENDCASE
  9112. ENDPROC
  9113. PROCEDURE Page1.DragDrop
  9114. Parameters cSource, nXCoord, nYCoord
  9115. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9116. DO CASE
  9117. CASE Noutput = 1
  9118.     Activate Screen
  9119.     ? "Formset1.Form2.PageFrame1.Page1.DragDrop"+Cparamstr
  9120. CASE Noutput = 2
  9121.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.DragDrop"+Cparamstr + ;
  9122.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9123. CASE Noutput = 3
  9124.     Wait Window "Formset1.Form2.PageFrame1.Page1.DragDrop"+Cparamstr Nowait
  9125. ENDCASE
  9126. ENDPROC
  9127. PROCEDURE Page1.DragOver
  9128. Parameters cSource, nXCoord, nYCoord, nState
  9129. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  9130. DO CASE
  9131. CASE Noutput = 1
  9132.     Activate Screen
  9133.     ? "Formset1.Form2.PageFrame1.Page1.DragOver"+Cparamstr
  9134. CASE Noutput = 2
  9135.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.DragOver"+Cparamstr + ;
  9136.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9137. CASE Noutput = 3
  9138.     Wait Window "Formset1.Form2.PageFrame1.Page1.DragOver"+Cparamstr Nowait
  9139. ENDCASE
  9140. ENDPROC
  9141. PROCEDURE Page1.MouseDown
  9142. Parameters nButton, nShift, nXCoord, nYCoord
  9143. IF lTrackMouse
  9144.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9145.     DO CASE
  9146.     CASE Noutput = 1
  9147.         Activate Screen
  9148.         ? "Formset1.Form2.PageFrame1.Page1.MouseDown"+Cparamstr
  9149.     CASE Noutput = 2
  9150.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.MouseDown"+Cparamstr + ;
  9151.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9152.     CASE Noutput = 3
  9153.         Wait Window "Formset1.Form2.PageFrame1.Page1.MouseDown"+Cparamstr Nowait
  9154.     ENDCASE
  9155. ENDIF
  9156. ENDPROC
  9157. PROCEDURE Page1.MouseMove
  9158. Parameters nButton, nShift, nXCoord, nYCoord
  9159. IF lTrackMouse
  9160.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9161.     DO CASE
  9162.     CASE Noutput = 1
  9163.         Activate Screen
  9164.         ? "Formset1.Form2.PageFrame1.Page1.MouseMove"+Cparamstr
  9165.     CASE Noutput = 2
  9166.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.MouseMove"+Cparamstr + ;
  9167.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9168.     CASE Noutput = 3
  9169.         Wait Window "Formset1.Form2.PageFrame1.Page1.MouseMove"+Cparamstr Nowait
  9170.     ENDCASE
  9171. ENDIF
  9172. ENDPROC
  9173. PROCEDURE Page1.MouseUp
  9174. Parameters nButton, nShift, nXCoord, nYCoord
  9175. IF lTrackMouse
  9176.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9177.     DO CASE
  9178.     CASE Noutput = 1
  9179.         Activate Screen
  9180.         ? "Formset1.Form2.PageFrame1.Page1.MouseUp"+Cparamstr
  9181.     CASE Noutput = 2
  9182.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.MouseUp"+Cparamstr + ;
  9183.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9184.     CASE Noutput = 3
  9185.         Wait Window "Formset1.Form2.PageFrame1.Page1.MouseUp"+Cparamstr Nowait
  9186.     ENDCASE
  9187. ENDIF
  9188. ENDPROC
  9189. PROCEDURE Page1.RightClick
  9190. DO CASE
  9191. CASE Noutput = 1
  9192.     Activate Screen
  9193.     ? "Formset1.Form2.PageFrame1.Page1.RightClick"
  9194. CASE Noutput = 2
  9195.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.RightClick" + ;
  9196.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9197. CASE Noutput = 3
  9198.     Wait Window "Formset1.Form2.PageFrame1.Page1.RightClick" Nowait
  9199. ENDCASE
  9200. ENDPROC
  9201. PROCEDURE Page2.Activate
  9202. DO CASE
  9203. CASE Noutput = 1
  9204.     Activate Screen
  9205.     ? "Formset1.Form2.PageFrame1.Page2.Activate"
  9206. CASE Noutput = 2
  9207.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Activate" + ;
  9208.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9209. CASE Noutput = 3
  9210.     Wait Window "Formset1.Form2.PageFrame1.Page2.Activate" Nowait
  9211. ENDCASE
  9212. ENDPROC
  9213. PROCEDURE Page2.Deactivate
  9214. DO CASE
  9215. CASE Noutput = 1
  9216.     Activate Screen
  9217.     ? "Formset1.Form2.PageFrame1.Page2.Deactivate"
  9218. CASE Noutput = 2
  9219.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Deactivate" + ;
  9220.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9221. CASE Noutput = 3
  9222.     Wait Window "Formset1.Form2.PageFrame1.Page2.Deactivate" Nowait
  9223. ENDCASE
  9224. ENDPROC
  9225. PROCEDURE Page2.Destroy
  9226. DO CASE
  9227. CASE Noutput = 1
  9228.     Activate Screen
  9229.     ? "Formset1.Form2.PageFrame1.Page2.Destroy"
  9230. CASE Noutput = 2
  9231.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Destroy" + ;
  9232.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9233. CASE Noutput = 3
  9234.     Wait Window "Formset1.Form2.PageFrame1.Page2.Destroy" Nowait
  9235. ENDCASE
  9236. ENDPROC
  9237. PROCEDURE Page2.Init
  9238. DO CASE
  9239. CASE Noutput = 1
  9240.     Activate Screen
  9241.     ? "Formset1.Form2.PageFrame1.Page2.Init"
  9242. CASE Noutput = 2
  9243.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Init" + ;
  9244.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9245. CASE Noutput = 3
  9246.     Wait Window "Formset1.Form2.PageFrame1.Page2.Init" Nowait
  9247. ENDCASE
  9248. ENDPROC
  9249. PROCEDURE Page2.Click
  9250. DO CASE
  9251. CASE Noutput = 1
  9252.     Activate Screen
  9253.     ? "Formset1.Form2.PageFrame1.Page2.Click"
  9254. CASE Noutput = 2
  9255.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Click" + ;
  9256.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9257. CASE Noutput = 3
  9258.     Wait Window "Formset1.Form2.PageFrame1.Page2.Click" Nowait
  9259. ENDCASE
  9260. ENDPROC
  9261. PROCEDURE Page2.DblClick
  9262. DO CASE
  9263. CASE Noutput = 1
  9264.     Activate Screen
  9265.     ? "Formset1.Form2.PageFrame1.Page2.DblClick"
  9266. CASE Noutput = 2
  9267.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.DblClick" + ;
  9268.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9269. CASE Noutput = 3
  9270.     Wait Window "Formset1.Form2.PageFrame1.Page2.DblClick" Nowait
  9271. ENDCASE
  9272. ENDPROC
  9273. PROCEDURE Page2.DragDrop
  9274. Parameters cSource, nXCoord, nYCoord
  9275. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9276. DO CASE
  9277. CASE Noutput = 1
  9278.     Activate Screen
  9279.     ? "Formset1.Form2.PageFrame1.Page2.DragDrop"+Cparamstr
  9280. CASE Noutput = 2
  9281.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.DragDrop"+Cparamstr + ;
  9282.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9283. CASE Noutput = 3
  9284.     Wait Window "Formset1.Form2.PageFrame1.Page2.DragDrop"+Cparamstr Nowait
  9285. ENDCASE
  9286. ENDPROC
  9287. PROCEDURE Page2.DragOver
  9288. Parameters cSource, nXCoord, nYCoord, nState
  9289. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  9290. DO CASE
  9291. CASE Noutput = 1
  9292.     Activate Screen
  9293.     ? "Formset1.Form2.PageFrame1.Page2.DragOver"+Cparamstr
  9294. CASE Noutput = 2
  9295.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.DragOver"+Cparamstr + ;
  9296.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9297. CASE Noutput = 3
  9298.     Wait Window "Formset1.Form2.PageFrame1.Page2.DragOver"+Cparamstr Nowait
  9299. ENDCASE
  9300. ENDPROC
  9301. PROCEDURE Page2.MouseDown
  9302. Parameters nButton, nShift, nXCoord, nYCoord
  9303. IF lTrackMouse
  9304.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9305.     DO CASE
  9306.     CASE Noutput = 1
  9307.         Activate Screen
  9308.         ? "Formset1.Form2.PageFrame1.Page2.MouseDown"+Cparamstr
  9309.     CASE Noutput = 2
  9310.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.MouseDown"+Cparamstr + ;
  9311.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9312.     CASE Noutput = 3
  9313.         Wait Window "Formset1.Form2.PageFrame1.Page2.MouseDown"+Cparamstr Nowait
  9314.     ENDCASE
  9315. ENDIF
  9316. ENDPROC
  9317. PROCEDURE Page2.MouseMove
  9318. Parameters nButton, nShift, nXCoord, nYCoord
  9319. IF lTrackMouse
  9320.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9321.     DO CASE
  9322.     CASE Noutput = 1
  9323.         Activate Screen
  9324.         ? "Formset1.Form2.PageFrame1.Page2.MouseMove"+Cparamstr
  9325.     CASE Noutput = 2
  9326.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.MouseMove"+Cparamstr + ;
  9327.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9328.     CASE Noutput = 3
  9329.         Wait Window "Formset1.Form2.PageFrame1.Page2.MouseMove"+Cparamstr Nowait
  9330.     ENDCASE
  9331. ENDIF
  9332. ENDPROC
  9333. PROCEDURE Page2.MouseUp
  9334. Parameters nButton, nShift, nXCoord, nYCoord
  9335. IF lTrackMouse
  9336.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9337.     DO CASE
  9338.     CASE Noutput = 1
  9339.         Activate Screen
  9340.         ? "Formset1.Form2.PageFrame1.Page2.MouseUp"+Cparamstr
  9341.     CASE Noutput = 2
  9342.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.MouseUp"+Cparamstr + ;
  9343.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9344.     CASE Noutput = 3
  9345.         Wait Window "Formset1.Form2.PageFrame1.Page2.MouseUp"+Cparamstr Nowait
  9346.     ENDCASE
  9347. ENDIF
  9348. ENDPROC
  9349. PROCEDURE Page2.RightClick
  9350. DO CASE
  9351. CASE Noutput = 1
  9352.     Activate Screen
  9353.     ? "Formset1.Form2.PageFrame1.Page2.RightClick"
  9354. CASE Noutput = 2
  9355.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.RightClick" + ;
  9356.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9357. CASE Noutput = 3
  9358.     Wait Window "Formset1.Form2.PageFrame1.Page2.RightClick" Nowait
  9359. ENDCASE
  9360. ENDPROC
  9361. Formset1.Form2.PageFrame1.Init
  9362. Formset1.Form2.PageFrame1.InitC
  9363. Formset1.Form2.PageFrame1.Init
  9364. NOUTPUT
  9365. THISFORMSET
  9366. EVENTWIN
  9367. EDIT1
  9368. VALUE
  9369. Formset1.Form2.PageFrame1.Destroy
  9370. Formset1.Form2.PageFrame1.DestroyC
  9371. Formset1.Form2.PageFrame1.Destroy
  9372. NOUTPUT
  9373. THISFORMSET
  9374. EVENTWIN
  9375. EDIT1
  9376. VALUE
  9377. Formset1.Form2.PageFrame1.Click
  9378. Formset1.Form2.PageFrame1.ClickC
  9379. Formset1.Form2.PageFrame1.Click
  9380. NOUTPUT
  9381. THISFORMSET
  9382. EVENTWIN
  9383. EDIT1
  9384. VALUE
  9385. Formset1.Form2.PageFrame1.DblClick
  9386. Formset1.Form2.PageFrame1.DblClickC
  9387. Formset1.Form2.PageFrame1.DblClick
  9388. NOUTPUT
  9389. THISFORMSET
  9390. EVENTWIN
  9391. EDIT1
  9392. VALUE<
  9393. Formset1.Form2.PageFrame1.DragDrop
  9394. Formset1.Form2.PageFrame1.DragDrop
  9395. Formset1.Form2.PageFrame1.DragDrop
  9396. CSOURCE
  9397. NXCOORD
  9398. NYCOORD    
  9399. CPARAMSTR
  9400. NOUTPUT
  9401. THISFORMSET
  9402. EVENTWIN
  9403. EDIT1
  9404. VALUEM
  9405. Formset1.Form2.PageFrame1.DragOver
  9406. Formset1.Form2.PageFrame1.DragOver
  9407. Formset1.Form2.PageFrame1.DragOver
  9408. CSOURCE
  9409. NXCOORD
  9410. NYCOORD
  9411. NSTATE    
  9412. CPARAMSTR
  9413. NOUTPUT
  9414. THISFORMSET
  9415. EVENTWIN
  9416. EDIT1
  9417. VALUEb
  9418. Formset1.Form2.PageFrame1.MouseDown
  9419. Formset1.Form2.PageFrame1.MouseDown
  9420. Formset1.Form2.PageFrame1.MouseDown
  9421. NBUTTON
  9422. NSHIFT
  9423. NXCOORD
  9424. NYCOORD
  9425. LTRACKMOUSE    
  9426. CPARAMSTR
  9427. NOUTPUT
  9428. THISFORMSET
  9429. EVENTWIN
  9430. EDIT1
  9431. VALUEb
  9432. Formset1.Form2.PageFrame1.MouseMove
  9433. Formset1.Form2.PageFrame1.MouseMove
  9434. Formset1.Form2.PageFrame1.MouseMove
  9435. NBUTTON
  9436. NSHIFT
  9437. NXCOORD
  9438. NYCOORD
  9439. LTRACKMOUSE    
  9440. CPARAMSTR
  9441. NOUTPUT
  9442. THISFORMSET
  9443. EVENTWIN
  9444. EDIT1
  9445. VALUE\
  9446. Formset1.Form2.PageFrame1.MouseUp
  9447. Formset1.Form2.PageFrame1.MouseUp
  9448. Formset1.Form2.PageFrame1.MouseUp
  9449. NBUTTON
  9450. NSHIFT
  9451. NXCOORD
  9452. NYCOORD
  9453. LTRACKMOUSE    
  9454. CPARAMSTR
  9455. NOUTPUT
  9456. THISFORMSET
  9457. EVENTWIN
  9458. EDIT1
  9459. VALUE
  9460. Formset1.Form2.PageFrame1.RightClick
  9461. Formset1.Form2.PageFrame1.RightClickC
  9462. Formset1.Form2.PageFrame1.RightClick
  9463. NOUTPUT
  9464. THISFORMSET
  9465. EVENTWIN
  9466. EDIT1
  9467. VALUE
  9468. Formset1.Form2.PageFrame1.Page1.Activate
  9469. Formset1.Form2.PageFrame1.Page1.ActivateC
  9470. Formset1.Form2.PageFrame1.Page1.Activate
  9471. NOUTPUT
  9472. THISFORMSET
  9473. EVENTWIN
  9474. EDIT1
  9475. VALUE
  9476. Formset1.Form2.PageFrame1.Page1.Deactivate
  9477. Formset1.Form2.PageFrame1.Page1.DeactivateC
  9478. Formset1.Form2.PageFrame1.Page1.Deactivate
  9479. NOUTPUT
  9480. THISFORMSET
  9481. EVENTWIN
  9482. EDIT1
  9483. VALUE
  9484. Formset1.Form2.PageFrame1.Page1.Destroy
  9485. Formset1.Form2.PageFrame1.Page1.DestroyC
  9486. Formset1.Form2.PageFrame1.Page1.Destroy
  9487. NOUTPUT
  9488. THISFORMSET
  9489. EVENTWIN
  9490. EDIT1
  9491. VALUE
  9492. Formset1.Form2.PageFrame1.Page1.Init
  9493. Formset1.Form2.PageFrame1.Page1.InitC
  9494. Formset1.Form2.PageFrame1.Page1.Init
  9495. NOUTPUT
  9496. THISFORMSET
  9497. EVENTWIN
  9498. EDIT1
  9499. VALUE
  9500. Formset1.Form2.PageFrame1.Page1.Click
  9501. Formset1.Form2.PageFrame1.Page1.ClickC
  9502. Formset1.Form2.PageFrame1.Page1.Click
  9503. NOUTPUT
  9504. THISFORMSET
  9505. EVENTWIN
  9506. EDIT1
  9507. VALUE
  9508. Formset1.Form2.PageFrame1.Page1.DblClick
  9509. Formset1.Form2.PageFrame1.Page1.DblClickC
  9510. Formset1.Form2.PageFrame1.Page1.DblClick
  9511. NOUTPUT
  9512. THISFORMSET
  9513. EVENTWIN
  9514. EDIT1
  9515. VALUEN
  9516. Formset1.Form2.PageFrame1.Page1.DragDrop
  9517. Formset1.Form2.PageFrame1.Page1.DragDrop
  9518. Formset1.Form2.PageFrame1.Page1.DragDrop
  9519. CSOURCE
  9520. NXCOORD
  9521. NYCOORD    
  9522. CPARAMSTR
  9523. NOUTPUT
  9524. THISFORMSET
  9525. EVENTWIN
  9526. EDIT1
  9527. VALUE_
  9528. Formset1.Form2.PageFrame1.Page1.DragOver
  9529. Formset1.Form2.PageFrame1.Page1.DragOver
  9530. Formset1.Form2.PageFrame1.Page1.DragOver
  9531. CSOURCE
  9532. NXCOORD
  9533. NYCOORD
  9534. NSTATE    
  9535. CPARAMSTR
  9536. NOUTPUT
  9537. THISFORMSET
  9538. EVENTWIN
  9539. EDIT1
  9540. VALUEt
  9541. Formset1.Form2.PageFrame1.Page1.MouseDown
  9542. Formset1.Form2.PageFrame1.Page1.MouseDown
  9543. Formset1.Form2.PageFrame1.Page1.MouseDown
  9544. NBUTTON
  9545. NSHIFT
  9546. NXCOORD
  9547. NYCOORD
  9548. LTRACKMOUSE    
  9549. CPARAMSTR
  9550. NOUTPUT
  9551. THISFORMSET
  9552. EVENTWIN
  9553. EDIT1
  9554. VALUEt
  9555. Formset1.Form2.PageFrame1.Page1.MouseMove
  9556. Formset1.Form2.PageFrame1.Page1.MouseMove
  9557. Formset1.Form2.PageFrame1.Page1.MouseMove
  9558. NBUTTON
  9559. NSHIFT
  9560. NXCOORD
  9561. NYCOORD
  9562. LTRACKMOUSE    
  9563. CPARAMSTR
  9564. NOUTPUT
  9565. THISFORMSET
  9566. EVENTWIN
  9567. EDIT1
  9568. VALUEn
  9569. Formset1.Form2.PageFrame1.Page1.MouseUp
  9570. Formset1.Form2.PageFrame1.Page1.MouseUp
  9571. Formset1.Form2.PageFrame1.Page1.MouseUp
  9572. NBUTTON
  9573. NSHIFT
  9574. NXCOORD
  9575. NYCOORD
  9576. LTRACKMOUSE    
  9577. CPARAMSTR
  9578. NOUTPUT
  9579. THISFORMSET
  9580. EVENTWIN
  9581. EDIT1
  9582. VALUE
  9583. Formset1.Form2.PageFrame1.Page1.RightClick
  9584. Formset1.Form2.PageFrame1.Page1.RightClickC
  9585. Formset1.Form2.PageFrame1.Page1.RightClick
  9586. NOUTPUT
  9587. THISFORMSET
  9588. EVENTWIN
  9589. EDIT1
  9590. VALUE
  9591. Formset1.Form2.PageFrame1.Page2.Activate
  9592. Formset1.Form2.PageFrame1.Page2.ActivateC
  9593. Formset1.Form2.PageFrame1.Page2.Activate
  9594. NOUTPUT
  9595. THISFORMSET
  9596. EVENTWIN
  9597. EDIT1
  9598. VALUE
  9599. Formset1.Form2.PageFrame1.Page2.Deactivate
  9600. Formset1.Form2.PageFrame1.Page2.DeactivateC
  9601. Formset1.Form2.PageFrame1.Page2.Deactivate
  9602. NOUTPUT
  9603. THISFORMSET
  9604. EVENTWIN
  9605. EDIT1
  9606. VALUE
  9607. Formset1.Form2.PageFrame1.Page2.Destroy
  9608. Formset1.Form2.PageFrame1.Page2.DestroyC
  9609. Formset1.Form2.PageFrame1.Page2.Destroy
  9610. NOUTPUT
  9611. THISFORMSET
  9612. EVENTWIN
  9613. EDIT1
  9614. VALUE
  9615. Formset1.Form2.PageFrame1.Page2.Init
  9616. Formset1.Form2.PageFrame1.Page2.InitC
  9617. Formset1.Form2.PageFrame1.Page2.Init
  9618. NOUTPUT
  9619. THISFORMSET
  9620. EVENTWIN
  9621. EDIT1
  9622. VALUE
  9623. Formset1.Form2.PageFrame1.Page2.Click
  9624. Formset1.Form2.PageFrame1.Page2.ClickC
  9625. Formset1.Form2.PageFrame1.Page2.Click
  9626. NOUTPUT
  9627. THISFORMSET
  9628. EVENTWIN
  9629. EDIT1
  9630. VALUE
  9631. Formset1.Form2.PageFrame1.Page2.DblClick
  9632. Formset1.Form2.PageFrame1.Page2.DblClickC
  9633. Formset1.Form2.PageFrame1.Page2.DblClick
  9634. NOUTPUT
  9635. THISFORMSET
  9636. EVENTWIN
  9637. EDIT1
  9638. VALUEN
  9639. Formset1.Form2.PageFrame1.Page2.DragDrop
  9640. Formset1.Form2.PageFrame1.Page2.DragDrop
  9641. Formset1.Form2.PageFrame1.Page2.DragDrop
  9642. CSOURCE
  9643. NXCOORD
  9644. NYCOORD    
  9645. CPARAMSTR
  9646. NOUTPUT
  9647. THISFORMSET
  9648. EVENTWIN
  9649. EDIT1
  9650. VALUE_
  9651. Formset1.Form2.PageFrame1.Page2.DragOver
  9652. Formset1.Form2.PageFrame1.Page2.DragOver
  9653. Formset1.Form2.PageFrame1.Page2.DragOver
  9654. CSOURCE
  9655. NXCOORD
  9656. NYCOORD
  9657. NSTATE    
  9658. CPARAMSTR
  9659. NOUTPUT
  9660. THISFORMSET
  9661. EVENTWIN
  9662. EDIT1
  9663. VALUEt
  9664. Formset1.Form2.PageFrame1.Page2.MouseDown
  9665. Formset1.Form2.PageFrame1.Page2.MouseDown
  9666. Formset1.Form2.PageFrame1.Page2.MouseDown
  9667. NBUTTON
  9668. NSHIFT
  9669. NXCOORD
  9670. NYCOORD
  9671. LTRACKMOUSE    
  9672. CPARAMSTR
  9673. NOUTPUT
  9674. THISFORMSET
  9675. EVENTWIN
  9676. EDIT1
  9677. VALUEt
  9678. Formset1.Form2.PageFrame1.Page2.MouseMove
  9679. Formset1.Form2.PageFrame1.Page2.MouseMove
  9680. Formset1.Form2.PageFrame1.Page2.MouseMove
  9681. NBUTTON
  9682. NSHIFT
  9683. NXCOORD
  9684. NYCOORD
  9685. LTRACKMOUSE    
  9686. CPARAMSTR
  9687. NOUTPUT
  9688. THISFORMSET
  9689. EVENTWIN
  9690. EDIT1
  9691. VALUEn
  9692. Formset1.Form2.PageFrame1.Page2.MouseUp
  9693. Formset1.Form2.PageFrame1.Page2.MouseUp
  9694. Formset1.Form2.PageFrame1.Page2.MouseUp
  9695. NBUTTON
  9696. NSHIFT
  9697. NXCOORD
  9698. NYCOORD
  9699. LTRACKMOUSE    
  9700. CPARAMSTR
  9701. NOUTPUT
  9702. THISFORMSET
  9703. EVENTWIN
  9704. EDIT1
  9705. VALUE
  9706. Formset1.Form2.PageFrame1.Page2.RightClick
  9707. Formset1.Form2.PageFrame1.Page2.RightClickC
  9708. Formset1.Form2.PageFrame1.Page2.RightClick
  9709. NOUTPUT
  9710. THISFORMSET
  9711. EVENTWIN
  9712. EDIT1
  9713. VALUE
  9714. Init,
  9715. DestroyD
  9716. Clicke
  9717. DblClick
  9718. DragDrop
  9719. DragOver>
  9720. MouseDown
  9721. MouseMove
  9722. MouseUp
  9723. RightClickX
  9724. Page1.Activate
  9725. Page1.Deactivate
  9726. Page1.Destroy
  9727. Page1.Init'
  9728. Page1.ClickQ
  9729. Page1.DblClick~
  9730. Page1.DragDrop
  9731. Page1.DragOver`
  9732. Page1.MouseDown%
  9733. Page1.MouseMove
  9734. Page1.MouseUp
  9735. Page1.RightClick
  9736. Page2.Activate
  9737. Page2.Deactivate4!
  9738. Page2.Destroyp"
  9739. Page2.Init
  9740. Page2.Click
  9741. Page2.DblClick
  9742. Page2.DragDrop0'
  9743. Page2.DragOver
  9744. Page2.MouseDown
  9745. Page2.MouseMove
  9746. Page2.MouseUpc.
  9747. Page2.RightClick>0
  9748. c:\vfp\samples\controls\events\
  9749. 09056567.tmp
  9750. c:\vfp\samples\controls\events\09056567.tmp
  9751. checkbox
  9752. checkbox
  9753. Check1
  9754. Formset1.form2.Pageframe1.Page1.
  9755. oTop = 10
  9756. Left = 12
  9757. Height = 17
  9758. Width = 113
  9759. BackColor = 192,192,192
  9760. Caption = "CheckBox"
  9761. Name = "Check1"
  9762. PROCEDURE Click
  9763. DO CASE
  9764. CASE Noutput = 1
  9765.     Activate Screen
  9766.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Click"
  9767. CASE Noutput = 2
  9768.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Click" + ;
  9769.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9770. CASE Noutput = 3
  9771.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Click" Nowait
  9772. ENDCASE
  9773. ENDPROC
  9774. PROCEDURE DragDrop
  9775. Parameters cSource, nXCoord, nYCoord
  9776. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9777. DO CASE
  9778. CASE Noutput = 1
  9779.     Activate Screen
  9780.     ? "Formset1.Form2.PageFrame1.Page2.Check1.DragDrop"+Cparamstr
  9781. CASE Noutput = 2
  9782.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.DragDrop"+Cparamstr + ;
  9783.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9784. CASE Noutput = 3
  9785.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.DragDrop"+Cparamstr Nowait
  9786. ENDCASE
  9787. ENDPROC
  9788. PROCEDURE DragOver
  9789. Parameters cSource, nXCoord, nYCoord, nState
  9790. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  9791. DO CASE
  9792. CASE Noutput = 1
  9793.     Activate Screen
  9794.     ? "Formset1.Form2.PageFrame1.Page2.Check1.DragOver"+Cparamstr
  9795. CASE Noutput = 2
  9796.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.DragOver"+Cparamstr + ;
  9797.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9798. CASE Noutput = 3
  9799.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.DragOver"+Cparamstr Nowait
  9800. ENDCASE
  9801. ENDPROC
  9802. PROCEDURE GotFocus
  9803. DO CASE
  9804. CASE Noutput = 1
  9805.     Activate Screen
  9806.     ? "Formset1.Form2.PageFrame1.Page2.Check1.GotFocus"
  9807. CASE Noutput = 2
  9808.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.GotFocus" + ;
  9809.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9810. CASE Noutput = 3
  9811.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.GotFocus" Nowait
  9812. ENDCASE
  9813. ENDPROC
  9814. PROCEDURE InteractiveChange
  9815. DO CASE
  9816. CASE Noutput = 1
  9817.     Activate Screen
  9818.     ? "Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange"
  9819. CASE Noutput = 2
  9820.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange" + ;
  9821.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9822. CASE Noutput = 3
  9823.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange" Nowait
  9824. ENDCASE
  9825. ENDPROC
  9826. PROCEDURE KeyPress
  9827. Parameters nKeyCode, nShiftAltCtrl
  9828. IF lTrackMouse
  9829.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  9830.     DO CASE
  9831.     CASE Noutput = 1
  9832.         Activate Screen
  9833.         ? "Formset1.Form2.PageFrame1.Page2.Check1.KeyPress"+Cparamstr
  9834.     CASE Noutput = 2
  9835.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.KeyPress"+Cparamstr + ;
  9836.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9837.     CASE Noutput = 3
  9838.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.KeyPress"+Cparamstr Nowait
  9839.     ENDCASE
  9840. ENDIF
  9841. ENDPROC
  9842. PROCEDURE LostFocus
  9843. DO CASE
  9844. CASE Noutput = 1
  9845.     Activate Screen
  9846.     ? "Formset1.Form2.PageFrame1.Page2.Check1.LostFocus"
  9847. CASE Noutput = 2
  9848.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.LostFocus" + ;
  9849.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9850. CASE Noutput = 3
  9851.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.LostFocus" Nowait
  9852. ENDCASE
  9853. ENDPROC
  9854. PROCEDURE MouseDown
  9855. Parameters nButton, nShift, nXCoord, nYCoord
  9856. IF lTrackMouse
  9857.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9858.     DO CASE
  9859.     CASE Noutput = 1
  9860.         Activate Screen
  9861.         ? "Formset1.Form2.PageFrame1.Page2.Check1.MouseDown"+Cparamstr
  9862.     CASE Noutput = 2
  9863.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.MouseDown"+Cparamstr + ;
  9864.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9865.     CASE Noutput = 3
  9866.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.MouseDown"+Cparamstr Nowait
  9867.     ENDCASE
  9868. ENDIF
  9869. ENDPROC
  9870. PROCEDURE MouseMove
  9871. Parameters nButton, nShift, nXCoord, nYCoord
  9872. IF lTrackMouse
  9873.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9874.     DO CASE
  9875.     CASE Noutput = 1
  9876.         Activate Screen
  9877.         ? "Formset1.Form2.PageFrame1.Page2.Check1.MouseMove"+Cparamstr
  9878.     CASE Noutput = 2
  9879.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.MouseMove"+Cparamstr + ;
  9880.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9881.     CASE Noutput = 3
  9882.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.MouseMove"+Cparamstr Nowait
  9883.     ENDCASE
  9884. ENDIF
  9885. ENDPROC
  9886. PROCEDURE MouseUp
  9887. Parameters nButton, nShift, nXCoord, nYCoord
  9888. IF lTrackMouse
  9889.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  9890.     DO CASE
  9891.     CASE Noutput = 1
  9892.         Activate Screen
  9893.         ? "Formset1.Form2.PageFrame1.Page2.Check1.MouseUp"+Cparamstr
  9894.     CASE Noutput = 2
  9895.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.MouseUp"+Cparamstr + ;
  9896.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  9897.     CASE Noutput = 3
  9898.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.MouseUp"+Cparamstr Nowait
  9899.     ENDCASE
  9900. ENDIF
  9901. ENDPROC
  9902. PROCEDURE RightClick
  9903. DO CASE
  9904. CASE Noutput = 1
  9905.     Activate Screen
  9906.     ? "Formset1.Form2.PageFrame1.Page2.Check1.RightClick"
  9907. CASE Noutput = 2
  9908.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.RightClick" + ;
  9909.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9910. CASE Noutput = 3
  9911.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.RightClick" Nowait
  9912. ENDCASE
  9913. ENDPROC
  9914. PROCEDURE Destroy
  9915. DO CASE
  9916. CASE Noutput = 1
  9917.     Activate Screen
  9918.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Destroy"
  9919. CASE Noutput = 2
  9920.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Destroy" + ;
  9921.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9922. CASE Noutput = 3
  9923.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Destroy" Nowait
  9924. ENDCASE
  9925. ENDPROC
  9926. PROCEDURE Init
  9927. DO CASE
  9928. CASE Noutput = 1
  9929.     Activate Screen
  9930.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Init"
  9931. CASE Noutput = 2
  9932.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Init" + ;
  9933.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9934. CASE Noutput = 3
  9935.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Init" Nowait
  9936. ENDCASE
  9937. ENDPROC
  9938. PROCEDURE When
  9939. DO CASE
  9940. CASE Noutput = 1
  9941.     Activate Screen
  9942.     ? "Formset1.Form2.PageFrame1.Page2.Check1.When"
  9943. CASE Noutput = 2
  9944.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.When" + ;
  9945.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9946. CASE Noutput = 3
  9947.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.When" Nowait
  9948. ENDCASE
  9949. ENDPROC
  9950. PROCEDURE Valid
  9951. DO CASE
  9952. CASE Noutput = 1
  9953.     Activate Screen
  9954.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Valid"
  9955. CASE Noutput = 2
  9956.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Valid" + ;
  9957.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  9958. CASE Noutput = 3
  9959.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Valid" Nowait
  9960. ENDCASE
  9961. ENDPROC
  9962. Formset1.Form2.PageFrame1.Page2.Check1.Click
  9963. Formset1.Form2.PageFrame1.Page2.Check1.ClickC
  9964. Formset1.Form2.PageFrame1.Page2.Check1.Click
  9965. NOUTPUT
  9966. THISFORMSET
  9967. EVENTWIN
  9968. EDIT1
  9969. VALUEc
  9970. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  9971. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  9972. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  9973. CSOURCE
  9974. NXCOORD
  9975. NYCOORD    
  9976. CPARAMSTR
  9977. NOUTPUT
  9978. THISFORMSET
  9979. EVENTWIN
  9980. EDIT1
  9981. VALUEt
  9982. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  9983. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  9984. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  9985. CSOURCE
  9986. NXCOORD
  9987. NYCOORD
  9988. NSTATE    
  9989. CPARAMSTR
  9990. NOUTPUT
  9991. THISFORMSET
  9992. EVENTWIN
  9993. EDIT1
  9994. VALUE
  9995. Formset1.Form2.PageFrame1.Page2.Check1.GotFocus
  9996. Formset1.Form2.PageFrame1.Page2.Check1.GotFocusC
  9997. Formset1.Form2.PageFrame1.Page2.Check1.GotFocus
  9998. NOUTPUT
  9999. THISFORMSET
  10000. EVENTWIN
  10001. EDIT1
  10002. VALUE4
  10003. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange
  10004. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChangeC
  10005. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange
  10006. NOUTPUT
  10007. THISFORMSET
  10008. EVENTWIN
  10009. EDIT1
  10010. VALUEd
  10011. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  10012. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  10013. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  10014. NKEYCODE
  10015. NSHIFTALTCTRL
  10016. LTRACKMOUSE    
  10017. CPARAMSTR
  10018. NOUTPUT
  10019. THISFORMSET
  10020. EVENTWIN
  10021. EDIT1
  10022. VALUE
  10023. Formset1.Form2.PageFrame1.Page2.Check1.LostFocus
  10024. Formset1.Form2.PageFrame1.Page2.Check1.LostFocusC
  10025. Formset1.Form2.PageFrame1.Page2.Check1.LostFocus
  10026. NOUTPUT
  10027. THISFORMSET
  10028. EVENTWIN
  10029. EDIT1
  10030. VALUE
  10031. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  10032. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  10033. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  10034. NBUTTON
  10035. NSHIFT
  10036. NXCOORD
  10037. NYCOORD
  10038. LTRACKMOUSE    
  10039. CPARAMSTR
  10040. NOUTPUT
  10041. THISFORMSET
  10042. EVENTWIN
  10043. EDIT1
  10044. VALUE
  10045. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  10046. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  10047. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  10048. NBUTTON
  10049. NSHIFT
  10050. NXCOORD
  10051. NYCOORD
  10052. LTRACKMOUSE    
  10053. CPARAMSTR
  10054. NOUTPUT
  10055. THISFORMSET
  10056. EVENTWIN
  10057. EDIT1
  10058. VALUE
  10059. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  10060. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  10061. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  10062. NBUTTON
  10063. NSHIFT
  10064. NXCOORD
  10065. NYCOORD
  10066. LTRACKMOUSE    
  10067. CPARAMSTR
  10068. NOUTPUT
  10069. THISFORMSET
  10070. EVENTWIN
  10071. EDIT1
  10072. VALUE
  10073. Formset1.Form2.PageFrame1.Page2.Check1.RightClick
  10074. Formset1.Form2.PageFrame1.Page2.Check1.RightClickC
  10075. Formset1.Form2.PageFrame1.Page2.Check1.RightClick
  10076. NOUTPUT
  10077. THISFORMSET
  10078. EVENTWIN
  10079. EDIT1
  10080. VALUE
  10081. Formset1.Form2.PageFrame1.Page2.Check1.Destroy
  10082. Formset1.Form2.PageFrame1.Page2.Check1.DestroyC
  10083. Formset1.Form2.PageFrame1.Page2.Check1.Destroy
  10084. NOUTPUT
  10085. THISFORMSET
  10086. EVENTWIN
  10087. EDIT1
  10088. VALUE
  10089. Formset1.Form2.PageFrame1.Page2.Check1.Init
  10090. Formset1.Form2.PageFrame1.Page2.Check1.InitC
  10091. Formset1.Form2.PageFrame1.Page2.Check1.Init
  10092. NOUTPUT
  10093. THISFORMSET
  10094. EVENTWIN
  10095. EDIT1
  10096. VALUE
  10097. Formset1.Form2.PageFrame1.Page2.Check1.When
  10098. Formset1.Form2.PageFrame1.Page2.Check1.WhenC
  10099. Formset1.Form2.PageFrame1.Page2.Check1.When
  10100. NOUTPUT
  10101. THISFORMSET
  10102. EVENTWIN
  10103. EDIT1
  10104. VALUE
  10105. Formset1.Form2.PageFrame1.Page2.Check1.Valid
  10106. Formset1.Form2.PageFrame1.Page2.Check1.ValidC
  10107. Formset1.Form2.PageFrame1.Page2.Check1.Valid
  10108. NOUTPUT
  10109. THISFORMSET
  10110. EVENTWIN
  10111. EDIT1
  10112. VALUE
  10113. Click,
  10114. DragDropn
  10115. DragOver/
  10116. GotFocus    
  10117. InteractiveChangeT
  10118. KeyPress
  10119. LostFocus
  10120. MouseDown
  10121. MouseMove
  10122. MouseUp
  10123. RightClick
  10124. Destroy
  10125. InitD
  10126. Valid
  10127. c:\vfp\samples\controls\events\
  10128. 09056567.tmp
  10129. c:\vfp\samples\controls\events\09056567.tmp
  10130. textbox
  10131. textbox
  10132. Text1
  10133. Formset1.form2.Pageframe1.Page1.
  10134. YValue = Text Box        
  10135. Height = 23
  10136. Left = 12
  10137. Top = 32
  10138. Width = 105
  10139. Name = "Text1"
  10140. PROCEDURE Click
  10141. DO CASE
  10142. CASE Noutput = 1
  10143.     Activate Screen
  10144.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Click"
  10145. CASE Noutput = 2
  10146.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Click" + ;
  10147.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10148. CASE Noutput = 3
  10149.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Click" Nowait
  10150. ENDCASE
  10151. ENDPROC
  10152. PROCEDURE DblClick
  10153. DO CASE
  10154. CASE Noutput = 1
  10155.     Activate Screen
  10156.     ? "Formset1.Form2.PageFrame1.Page2.Text1.DblClick"
  10157. CASE Noutput = 2
  10158.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.DblClick" + ;
  10159.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10160. CASE Noutput = 3
  10161.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.DblClick" Nowait
  10162. ENDCASE
  10163. ENDPROC
  10164. PROCEDURE DragDrop
  10165.  Parameters cSource, nXCoord, nYCoord
  10166. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10167. DO CASE
  10168. CASE Noutput = 1
  10169.     Activate Screen
  10170.     ? "Formset1.Form2.PageFrame1.Page2.Text1.DragDrop"+Cparamstr
  10171. CASE Noutput = 2
  10172.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.DragDrop"+Cparamstr + ;
  10173.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10174. CASE Noutput = 3
  10175.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.DragDrop"+Cparamstr Nowait
  10176. ENDCASE
  10177. ENDPROC
  10178. PROCEDURE DragOver
  10179. Parameters cSource, nXCoord, nYCoord, nState
  10180. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  10181. DO CASE
  10182. CASE Noutput = 1
  10183.     Activate Screen
  10184.     ? "Formset1.Form2.PageFrame1.Page2.Text1.DragOver"+Cparamstr
  10185. CASE Noutput = 2
  10186.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.DragOver"+Cparamstr + ;
  10187.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10188. CASE Noutput = 3
  10189.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.DragOver"+Cparamstr Nowait
  10190. ENDCASE
  10191. ENDPROC
  10192. PROCEDURE GotFocus
  10193. DO CASE
  10194. CASE Noutput = 1
  10195.     Activate Screen
  10196.     ? "Formset1.Form2.PageFrame1.Page2.Text1.GotFocus"
  10197. CASE Noutput = 2
  10198.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.GotFocus" + ;
  10199.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10200. CASE Noutput = 3
  10201.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.GotFocus" Nowait
  10202. ENDCASE
  10203. ENDPROC
  10204. PROCEDURE InteractiveChange
  10205. DO CASE
  10206. CASE Noutput = 1
  10207.     Activate Screen
  10208.     ? "Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange"
  10209. CASE Noutput = 2
  10210.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange" + ;
  10211.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10212. CASE Noutput = 3
  10213.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange" Nowait
  10214. ENDCASE
  10215. ENDPROC
  10216. PROCEDURE KeyPress
  10217. Parameters nKeyCode, nShiftAltCtrl
  10218. IF lTrackMouse
  10219.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  10220.     DO CASE
  10221.     CASE Noutput = 1
  10222.         Activate Screen
  10223.         ? "Formset1.Form2.PageFrame1.Page2.Text1.KeyPress"+Cparamstr
  10224.     CASE Noutput = 2
  10225.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.KeyPress"+Cparamstr + ;
  10226.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10227.     CASE Noutput = 3
  10228.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.KeyPress"+Cparamstr Nowait
  10229.     ENDCASE
  10230. ENDIF
  10231. ENDPROC
  10232. PROCEDURE LostFocus
  10233. DO CASE
  10234. CASE Noutput = 1
  10235.     Activate Screen
  10236.     ? "Formset1.Form2.PageFrame1.Page2.Text1.LostFocus"
  10237. CASE Noutput = 2
  10238.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.LostFocus" + ;
  10239.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10240. CASE Noutput = 3
  10241.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.LostFocus" Nowait
  10242. ENDCASE
  10243. ENDPROC
  10244. PROCEDURE MouseDown
  10245. Parameters nButton, nShift, nXCoord, nYCoord
  10246. IF lTrackMouse
  10247.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10248.     DO CASE
  10249.     CASE Noutput = 1
  10250.         Activate Screen
  10251.         ? "Formset1.Form2.PageFrame1.Page2.Text1.MouseDown"+Cparamstr
  10252.     CASE Noutput = 2
  10253.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.MouseDown"+Cparamstr + ;
  10254.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10255.     CASE Noutput = 3
  10256.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.MouseDown"+Cparamstr Nowait
  10257.     ENDCASE
  10258. ENDIF
  10259. ENDPROC
  10260. PROCEDURE MouseMove
  10261. Parameters nButton, nShift, nXCoord, nYCoord
  10262. IF lTrackMouse
  10263.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10264.     DO CASE
  10265.     CASE Noutput = 1
  10266.         Activate Screen
  10267.         ? "Formset1.Form2.PageFrame1.Page2.Text1.MouseMove"+Cparamstr
  10268.     CASE Noutput = 2
  10269.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.MouseMove"+Cparamstr + ;
  10270.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10271.     CASE Noutput = 3
  10272.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.MouseMove"+Cparamstr Nowait
  10273.     ENDCASE
  10274. ENDIF
  10275. ENDPROC
  10276. PROCEDURE MouseUp
  10277. Parameters nButton, nShift, nXCoord, nYCoord
  10278. IF lTrackMouse
  10279.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10280.     DO CASE
  10281.     CASE Noutput = 1
  10282.         Activate Screen
  10283.         ? "Formset1.Form2.PageFrame1.Page2.Text1.MouseUp"+Cparamstr
  10284.     CASE Noutput = 2
  10285.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.MouseUp"+Cparamstr + ;
  10286.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10287.     CASE Noutput = 3
  10288.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.MouseUp"+Cparamstr Nowait
  10289.     ENDCASE
  10290. ENDIF
  10291. ENDPROC
  10292. PROCEDURE RightClick
  10293. DO CASE
  10294. CASE Noutput = 1
  10295.     Activate Screen
  10296.     ? "Formset1.Form2.PageFrame1.Page2.Text1.RightClick"
  10297. CASE Noutput = 2
  10298.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.RightClick" + ;
  10299.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10300. CASE Noutput = 3
  10301.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.RightClick" Nowait
  10302. ENDCASE
  10303. ENDPROC
  10304. PROCEDURE Destroy
  10305. DO CASE
  10306. CASE Noutput = 1
  10307.     Activate Screen
  10308.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Destroy"
  10309. CASE Noutput = 2
  10310.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Destroy" + ;
  10311.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10312. CASE Noutput = 3
  10313.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Destroy" Nowait
  10314. ENDCASE
  10315. ENDPROC
  10316. PROCEDURE Init
  10317. DO CASE
  10318. CASE Noutput = 1
  10319.     Activate Screen
  10320.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Init"
  10321. CASE Noutput = 2
  10322.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Init" + ;
  10323.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10324. CASE Noutput = 3
  10325.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Init" Nowait
  10326. ENDCASE
  10327. ENDPROC
  10328. PROCEDURE When
  10329. DO CASE
  10330. CASE Noutput = 1
  10331.     Activate Screen
  10332.     ? "Formset1.Form2.PageFrame1.Page2.Text1.When"
  10333. CASE Noutput = 2
  10334.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.When" + ;
  10335.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10336. CASE Noutput = 3
  10337.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.When" Nowait
  10338. ENDCASE
  10339. ENDPROC
  10340. PROCEDURE Valid
  10341. DO CASE
  10342. CASE Noutput = 1
  10343.     Activate Screen
  10344.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Valid"
  10345. CASE Noutput = 2
  10346.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Valid" + ;
  10347.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10348. CASE Noutput = 3
  10349.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Valid" Nowait
  10350. ENDCASE
  10351. ENDPROC
  10352. Formset1.Form2.PageFrame1.Page2.Text1.Click
  10353. Formset1.Form2.PageFrame1.Page2.Text1.ClickC
  10354. Formset1.Form2.PageFrame1.Page2.Text1.Click
  10355. NOUTPUT
  10356. THISFORMSET
  10357. EVENTWIN
  10358. EDIT1
  10359. VALUE
  10360. Formset1.Form2.PageFrame1.Page2.Text1.DblClick
  10361. Formset1.Form2.PageFrame1.Page2.Text1.DblClickC
  10362. Formset1.Form2.PageFrame1.Page2.Text1.DblClick
  10363. NOUTPUT
  10364. THISFORMSET
  10365. EVENTWIN
  10366. EDIT1
  10367. VALUE`
  10368. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  10369. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  10370. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  10371. CSOURCE
  10372. NXCOORD
  10373. NYCOORD    
  10374. CPARAMSTR
  10375. NOUTPUT
  10376. THISFORMSET
  10377. EVENTWIN
  10378. EDIT1
  10379. VALUEq
  10380. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  10381. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  10382. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  10383. CSOURCE
  10384. NXCOORD
  10385. NYCOORD
  10386. NSTATE    
  10387. CPARAMSTR
  10388. NOUTPUT
  10389. THISFORMSET
  10390. EVENTWIN
  10391. EDIT1
  10392. VALUE
  10393. Formset1.Form2.PageFrame1.Page2.Text1.GotFocus
  10394. Formset1.Form2.PageFrame1.Page2.Text1.GotFocusC
  10395. Formset1.Form2.PageFrame1.Page2.Text1.GotFocus
  10396. NOUTPUT
  10397. THISFORMSET
  10398. EVENTWIN
  10399. EDIT1
  10400. VALUE1
  10401. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange
  10402. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChangeC
  10403. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange
  10404. NOUTPUT
  10405. THISFORMSET
  10406. EVENTWIN
  10407. EDIT1
  10408. VALUEa
  10409. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  10410. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  10411. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  10412. NKEYCODE
  10413. NSHIFTALTCTRL
  10414. LTRACKMOUSE    
  10415. CPARAMSTR
  10416. NOUTPUT
  10417. THISFORMSET
  10418. EVENTWIN
  10419. EDIT1
  10420. VALUE
  10421. Formset1.Form2.PageFrame1.Page2.Text1.LostFocus
  10422. Formset1.Form2.PageFrame1.Page2.Text1.LostFocusC
  10423. Formset1.Form2.PageFrame1.Page2.Text1.LostFocus
  10424. NOUTPUT
  10425. THISFORMSET
  10426. EVENTWIN
  10427. EDIT1
  10428. VALUE
  10429. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  10430. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  10431. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  10432. NBUTTON
  10433. NSHIFT
  10434. NXCOORD
  10435. NYCOORD
  10436. LTRACKMOUSE    
  10437. CPARAMSTR
  10438. NOUTPUT
  10439. THISFORMSET
  10440. EVENTWIN
  10441. EDIT1
  10442. VALUE
  10443. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  10444. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  10445. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  10446. NBUTTON
  10447. NSHIFT
  10448. NXCOORD
  10449. NYCOORD
  10450. LTRACKMOUSE    
  10451. CPARAMSTR
  10452. NOUTPUT
  10453. THISFORMSET
  10454. EVENTWIN
  10455. EDIT1
  10456. VALUE
  10457. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  10458. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  10459. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  10460. NBUTTON
  10461. NSHIFT
  10462. NXCOORD
  10463. NYCOORD
  10464. LTRACKMOUSE    
  10465. CPARAMSTR
  10466. NOUTPUT
  10467. THISFORMSET
  10468. EVENTWIN
  10469. EDIT1
  10470. VALUE
  10471. Formset1.Form2.PageFrame1.Page2.Text1.RightClick
  10472. Formset1.Form2.PageFrame1.Page2.Text1.RightClickC
  10473. Formset1.Form2.PageFrame1.Page2.Text1.RightClick
  10474. NOUTPUT
  10475. THISFORMSET
  10476. EVENTWIN
  10477. EDIT1
  10478. VALUE
  10479. Formset1.Form2.PageFrame1.Page2.Text1.Destroy
  10480. Formset1.Form2.PageFrame1.Page2.Text1.DestroyC
  10481. Formset1.Form2.PageFrame1.Page2.Text1.Destroy
  10482. NOUTPUT
  10483. THISFORMSET
  10484. EVENTWIN
  10485. EDIT1
  10486. VALUE
  10487. Formset1.Form2.PageFrame1.Page2.Text1.Init
  10488. Formset1.Form2.PageFrame1.Page2.Text1.InitC
  10489. Formset1.Form2.PageFrame1.Page2.Text1.Init
  10490. NOUTPUT
  10491. THISFORMSET
  10492. EVENTWIN
  10493. EDIT1
  10494. VALUE
  10495. Formset1.Form2.PageFrame1.Page2.Text1.When
  10496. Formset1.Form2.PageFrame1.Page2.Text1.WhenC
  10497. Formset1.Form2.PageFrame1.Page2.Text1.When
  10498. NOUTPUT
  10499. THISFORMSET
  10500. EVENTWIN
  10501. EDIT1
  10502. VALUE
  10503. Formset1.Form2.PageFrame1.Page2.Text1.Valid
  10504. Formset1.Form2.PageFrame1.Page2.Text1.ValidC
  10505. Formset1.Form2.PageFrame1.Page2.Text1.Valid
  10506. NOUTPUT
  10507. THISFORMSET
  10508. EVENTWIN
  10509. EDIT1
  10510. VALUE
  10511. Click,
  10512. DblClickk
  10513. DragDrop
  10514. DragOverq
  10515. GotFocusH
  10516. InteractiveChange
  10517. KeyPress
  10518. LostFocus
  10519. MouseDown
  10520. MouseMove
  10521. MouseUp
  10522. RightClick
  10523. Destroy#
  10524. Inith
  10525. Valid
  10526. c:\vfp\samples\controls\events\
  10527. 09056567.tmp
  10528. c:\vfp\samples\controls\events\09056567.tmp
  10529. combobox
  10530. combobox
  10531. Combo1
  10532. Formset1.form2.Pageframe1.Page2.
  10533. RowSourceType = 1
  10534. RowSource = "one,two,three,four,five,six,seven,eight,nine,ten"
  10535. Height = 22
  10536. Left = 9
  10537. Top = 8
  10538. Width = 101
  10539. Name = "Combo1"
  10540. PROCEDURE Click
  10541. DO CASE
  10542. CASE Noutput = 1
  10543.     Activate Screen
  10544.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Click"
  10545. CASE Noutput = 2
  10546.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Click" + ;
  10547.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10548. CASE Noutput = 3
  10549.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Click" Nowait
  10550. ENDCASE
  10551. ENDPROC
  10552. PROCEDURE DblClick
  10553. DO CASE
  10554. CASE Noutput = 1
  10555.     Activate Screen
  10556.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DblClick"
  10557. CASE Noutput = 2
  10558.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DblClick" + ;
  10559.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10560. CASE Noutput = 3
  10561.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DblClick" Nowait
  10562. ENDCASE
  10563. ENDPROC
  10564. PROCEDURE DownClick
  10565. DO CASE
  10566. CASE Noutput = 1
  10567.     Activate Screen
  10568.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DownClick"
  10569. CASE Noutput = 2
  10570.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DownClick" + ;
  10571.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10572. CASE Noutput = 3
  10573.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DownClick" Nowait
  10574. ENDCASE
  10575. ENDPROC
  10576. PROCEDURE DragDrop
  10577. Parameters cSource, nXCoord, nYCoord
  10578. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10579. DO CASE
  10580. CASE Noutput = 1
  10581.     Activate Screen
  10582.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop"+Cparamstr
  10583. CASE Noutput = 2
  10584.     ThisFormSet.EventWin.Edit1.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop"+Cparamstr + ;
  10585.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10586. CASE Noutput = 3
  10587.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop"+Cparamstr Nowait
  10588. ENDCASE
  10589. ENDPROC
  10590. PROCEDURE DragOver
  10591. Parameters cSource, nXCoord, nYCoord, nState
  10592. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  10593. DO CASE
  10594. CASE Noutput = 1
  10595.     Activate Screen
  10596.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DragOver"+Cparamstr
  10597. CASE Noutput = 2
  10598.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DragOver"+Cparamstr + ;
  10599.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10600. CASE Noutput = 3
  10601.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DragOver"+Cparamstr Nowait
  10602. ENDCASE
  10603. ENDPROC
  10604. PROCEDURE DropDown
  10605. Parameters nIndex
  10606. *Cparamstr = ","+allt(str(nIndex))
  10607. Cparamstr = ""
  10608. DO CASE
  10609. CASE Noutput = 1
  10610.     Activate Screen
  10611.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DropDown"+Cparamstr
  10612. CASE Noutput = 2
  10613.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DropDown"+Cparamstr + ;
  10614.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10615. CASE Noutput = 3
  10616.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DropDown"+Cparamstr Nowait
  10617. ENDCASE
  10618. ENDPROC
  10619. PROCEDURE GotFocus
  10620. DO CASE
  10621. CASE Noutput = 1
  10622.     Activate Screen
  10623.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus"
  10624. CASE Noutput = 2
  10625.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus" + ;
  10626.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10627. CASE Noutput = 3
  10628.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus" Nowait
  10629. ENDCASE
  10630. ENDPROC
  10631. PROCEDURE InteractiveChange
  10632. DO CASE
  10633. CASE Noutput = 1
  10634.     Activate Screen
  10635.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange"
  10636. CASE Noutput = 2
  10637.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange" + ;
  10638.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10639. CASE Noutput = 3
  10640.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange" Nowait
  10641. ENDCASE
  10642. ENDPROC
  10643. PROCEDURE KeyPress
  10644. Parameters nKeyCode, nShiftAltCtrl
  10645. IF lTrackMouse
  10646.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  10647.     DO CASE
  10648.     CASE Noutput = 1
  10649.         Activate Screen
  10650.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress"+Cparamstr
  10651.     CASE Noutput = 2
  10652.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress"+Cparamstr + ;
  10653.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10654.     CASE Noutput = 3
  10655.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress"+Cparamstr Nowait
  10656.     ENDCASE
  10657. ENDIF
  10658. ENDPROC
  10659. PROCEDURE LostFocus
  10660. DO CASE
  10661. CASE Noutput = 1
  10662.     Activate Screen
  10663.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus"
  10664. CASE Noutput = 2
  10665.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus" + ;
  10666.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10667. CASE Noutput = 3
  10668.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus" Nowait
  10669. ENDCASE
  10670. ENDPROC
  10671. PROCEDURE MouseDown
  10672. Parameters nButton, nShift, nXCoord, nYCoord
  10673. IF lTrackMouse
  10674.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10675.     DO CASE
  10676.     CASE Noutput = 1
  10677.         Activate Screen
  10678.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown"+Cparamstr
  10679.     CASE Noutput = 2
  10680.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown"+Cparamstr + ;
  10681.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10682.     CASE Noutput = 3
  10683.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown"+Cparamstr Nowait
  10684.     ENDCASE
  10685. ENDIF
  10686. ENDPROC
  10687. PROCEDURE MouseMove
  10688. Parameters nButton, nShift, nXCoord, nYCoord
  10689. IF lTrackMouse
  10690.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10691.     DO CASE
  10692.     CASE Noutput = 1
  10693.         Activate Screen
  10694.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove"+Cparamstr
  10695.     CASE Noutput = 2
  10696.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove"+Cparamstr + ;
  10697.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10698.     CASE Noutput = 3
  10699.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove"+Cparamstr Nowait
  10700.     ENDCASE
  10701. ENDIF
  10702. ENDPROC
  10703. PROCEDURE MouseUp
  10704. Parameters nButton, nShift, nXCoord, nYCoord
  10705. IF lTrackMouse
  10706.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  10707.     DO CASE
  10708.     CASE Noutput = 1
  10709.         Activate Screen
  10710.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp"+Cparamstr
  10711.     CASE Noutput = 2
  10712.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp"+Cparamstr + ;
  10713.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  10714.     CASE Noutput = 3
  10715.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp"+Cparamstr Nowait
  10716.     ENDCASE
  10717. ENDIF
  10718. ENDPROC
  10719. PROCEDURE RightClick
  10720. DO CASE
  10721. CASE Noutput = 1
  10722.     Activate Screen
  10723.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.RightClick"
  10724. CASE Noutput = 2
  10725.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.RightClick" + ;
  10726.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10727. CASE Noutput = 3
  10728.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.RightClick" Nowait
  10729. ENDCASE
  10730. ENDPROC
  10731. PROCEDURE UpClick
  10732. DO CASE
  10733. CASE Noutput = 1
  10734.     Activate Screen
  10735.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.UpClick"
  10736. CASE Noutput = 2
  10737.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.UpClick" + ;
  10738.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10739. CASE Noutput = 3
  10740.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.UpClick" Nowait
  10741. ENDCASE
  10742. ENDPROC
  10743. PROCEDURE Destroy
  10744. DO CASE
  10745. CASE Noutput = 1
  10746.     Activate Screen
  10747.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Destroy"
  10748. CASE Noutput = 2
  10749.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Destroy" + ;
  10750.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10751. CASE Noutput = 3
  10752.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Destroy" Nowait
  10753. ENDCASE
  10754. ENDPROC
  10755. PROCEDURE Init
  10756. DO CASE
  10757. CASE Noutput = 1
  10758.     Activate Screen
  10759.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Init"
  10760. CASE Noutput = 2
  10761.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Init" + ;
  10762.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10763. CASE Noutput = 3
  10764.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Init" Nowait
  10765. ENDCASE
  10766. ENDPROC
  10767. PROCEDURE When
  10768. DO CASE
  10769. CASE Noutput = 1
  10770.     Activate Screen
  10771.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.When"
  10772. CASE Noutput = 2
  10773.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.When" + ;
  10774.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10775. CASE Noutput = 3
  10776.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.When" Nowait
  10777. ENDCASE
  10778. ENDPROC
  10779. PROCEDURE Valid
  10780. DO CASE
  10781. CASE Noutput = 1
  10782.     Activate Screen
  10783.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Valid"
  10784. CASE Noutput = 2
  10785.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Valid" + ;
  10786.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  10787. CASE Noutput = 3
  10788.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Valid" Nowait
  10789. ENDCASE
  10790. ENDPROC
  10791. Formset1.Form2.PageFrame1.Page2.Combo1.Click
  10792. Formset1.Form2.PageFrame1.Page2.Combo1.ClickC
  10793. Formset1.Form2.PageFrame1.Page2.Combo1.Click
  10794. NOUTPUT
  10795. THISFORMSET
  10796. EVENTWIN
  10797. EDIT1
  10798. VALUE
  10799. Formset1.Form2.PageFrame1.Page2.Combo1.DblClick
  10800. Formset1.Form2.PageFrame1.Page2.Combo1.DblClickC
  10801. Formset1.Form2.PageFrame1.Page2.Combo1.DblClick
  10802. NOUTPUT
  10803. THISFORMSET
  10804. EVENTWIN
  10805. EDIT1
  10806. VALUE
  10807. Formset1.Form2.PageFrame1.Page2.Combo1.DownClick
  10808. Formset1.Form2.PageFrame1.Page2.Combo1.DownClickC
  10809. Formset1.Form2.PageFrame1.Page2.Combo1.DownClick
  10810. NOUTPUT
  10811. THISFORMSET
  10812. EVENTWIN
  10813. EDIT1
  10814. VALUEf
  10815. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  10816. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  10817. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  10818. CSOURCE
  10819. NXCOORD
  10820. NYCOORD    
  10821. CPARAMSTR
  10822. NOUTPUT
  10823. THISFORMSET
  10824. EVENTWIN
  10825. EDIT1
  10826. VALUEt
  10827. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  10828. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  10829. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  10830. CSOURCE
  10831. NXCOORD
  10832. NYCOORD
  10833. NSTATE    
  10834. CPARAMSTR
  10835. NOUTPUT
  10836. THISFORMSET
  10837. EVENTWIN
  10838. EDIT1
  10839. VALUE9
  10840. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  10841. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  10842. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  10843. NINDEX    
  10844. CPARAMSTR
  10845. NOUTPUT
  10846. THISFORMSET
  10847. EVENTWIN
  10848. EDIT1
  10849. VALUE
  10850. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus
  10851. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocusC
  10852. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus
  10853. NOUTPUT
  10854. THISFORMSET
  10855. EVENTWIN
  10856. EDIT1
  10857. VALUE4
  10858. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange
  10859. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChangeC
  10860. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange
  10861. NOUTPUT
  10862. THISFORMSET
  10863. EVENTWIN
  10864. EDIT1
  10865. VALUEd
  10866. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  10867. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  10868. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  10869. NKEYCODE
  10870. NSHIFTALTCTRL
  10871. LTRACKMOUSE    
  10872. CPARAMSTR
  10873. NOUTPUT
  10874. THISFORMSET
  10875. EVENTWIN
  10876. EDIT1
  10877. VALUE
  10878. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus
  10879. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocusC
  10880. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus
  10881. NOUTPUT
  10882. THISFORMSET
  10883. EVENTWIN
  10884. EDIT1
  10885. VALUE
  10886. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  10887. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  10888. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  10889. NBUTTON
  10890. NSHIFT
  10891. NXCOORD
  10892. NYCOORD
  10893. LTRACKMOUSE    
  10894. CPARAMSTR
  10895. NOUTPUT
  10896. THISFORMSET
  10897. EVENTWIN
  10898. EDIT1
  10899. VALUE
  10900. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  10901. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  10902. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  10903. NBUTTON
  10904. NSHIFT
  10905. NXCOORD
  10906. NYCOORD
  10907. LTRACKMOUSE    
  10908. CPARAMSTR
  10909. NOUTPUT
  10910. THISFORMSET
  10911. EVENTWIN
  10912. EDIT1
  10913. VALUE
  10914. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  10915. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  10916. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  10917. NBUTTON
  10918. NSHIFT
  10919. NXCOORD
  10920. NYCOORD
  10921. LTRACKMOUSE    
  10922. CPARAMSTR
  10923. NOUTPUT
  10924. THISFORMSET
  10925. EVENTWIN
  10926. EDIT1
  10927. VALUE
  10928. Formset1.Form2.PageFrame1.Page2.Combo1.RightClick
  10929. Formset1.Form2.PageFrame1.Page2.Combo1.RightClickC
  10930. Formset1.Form2.PageFrame1.Page2.Combo1.RightClick
  10931. NOUTPUT
  10932. THISFORMSET
  10933. EVENTWIN
  10934. EDIT1
  10935. VALUE
  10936. Formset1.Form2.PageFrame1.Page2.Combo1.UpClick
  10937. Formset1.Form2.PageFrame1.Page2.Combo1.UpClickC
  10938. Formset1.Form2.PageFrame1.Page2.Combo1.UpClick
  10939. NOUTPUT
  10940. THISFORMSET
  10941. EVENTWIN
  10942. EDIT1
  10943. VALUE
  10944. Formset1.Form2.PageFrame1.Page2.Combo1.Destroy
  10945. Formset1.Form2.PageFrame1.Page2.Combo1.DestroyC
  10946. Formset1.Form2.PageFrame1.Page2.Combo1.Destroy
  10947. NOUTPUT
  10948. THISFORMSET
  10949. EVENTWIN
  10950. EDIT1
  10951. VALUE
  10952. Formset1.Form2.PageFrame1.Page2.Combo1.Init
  10953. Formset1.Form2.PageFrame1.Page2.Combo1.InitC
  10954. Formset1.Form2.PageFrame1.Page2.Combo1.Init
  10955. NOUTPUT
  10956. THISFORMSET
  10957. EVENTWIN
  10958. EDIT1
  10959. VALUE
  10960. Formset1.Form2.PageFrame1.Page2.Combo1.When
  10961. Formset1.Form2.PageFrame1.Page2.Combo1.WhenC
  10962. Formset1.Form2.PageFrame1.Page2.Combo1.When
  10963. NOUTPUT
  10964. THISFORMSET
  10965. EVENTWIN
  10966. EDIT1
  10967. VALUE
  10968. Formset1.Form2.PageFrame1.Page2.Combo1.Valid
  10969. Formset1.Form2.PageFrame1.Page2.Combo1.ValidC
  10970. Formset1.Form2.PageFrame1.Page2.Combo1.Valid
  10971. NOUTPUT
  10972. THISFORMSET
  10973. EVENTWIN
  10974. EDIT1
  10975. VALUE
  10976. Click,
  10977. DblClickn
  10978. DownClick
  10979. DragDrop
  10980. DragOver
  10981. DropDown
  10982. GotFocus#    
  10983. InteractiveChangen
  10984. KeyPress
  10985. LostFocus
  10986. MouseDown
  10987. MouseMove
  10988. MouseUp
  10989. RightClick
  10990. UpClick
  10991. Destroy^
  10992. Valid$
  10993. c:\vfp\samples\controls\events\
  10994. 09056567.tmp
  10995. c:\vfp\samples\controls\events\09056567.tmp
  10996. label
  10997. label
  10998. Label1
  10999. Formset1.form2.Pageframe1.Page2.
  11000. iBackColor = 0,255,255
  11001. Caption = "Label"
  11002. Height = 17
  11003. Left = 9
  11004. Top = 36
  11005. Width = 105
  11006. Name = "Label1"
  11007. PROCEDURE Click
  11008. DO CASE
  11009. CASE Noutput = 1
  11010.     Activate Screen
  11011.     ? "Formset1.Form2.PageFrame1.Page2.Label1.Click"
  11012. CASE Noutput = 2
  11013.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.Click" + ;
  11014.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11015. CASE Noutput = 3
  11016.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.Click" Nowait
  11017. ENDCASE
  11018. ENDPROC
  11019. PROCEDURE DblClick
  11020. DO CASE
  11021. CASE Noutput = 1
  11022.     Activate Screen
  11023.     ? "Formset1.Form2.PageFrame1.Page2.Label1.DblClick"
  11024. CASE Noutput = 2
  11025.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.DblClick" + ;
  11026.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11027. CASE Noutput = 3
  11028.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.DblClick" Nowait
  11029. ENDCASE
  11030. ENDPROC
  11031. PROCEDURE DragDrop
  11032. Parameters cSource, nXCoord, nYCoord
  11033. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11034. DO CASE
  11035. CASE Noutput = 1
  11036.     Activate Screen
  11037.     ? "Formset1.Form2.PageFrame1.Page2.Label1.DragDrop"+Cparamstr
  11038. CASE Noutput = 2
  11039.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.DragDrop"+Cparamstr + ;
  11040.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11041. CASE Noutput = 3
  11042.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.DragDrop"+Cparamstr Nowait
  11043. ENDCASE
  11044. ENDPROC
  11045. PROCEDURE DragOver
  11046. Parameters cSource, nXCoord, nYCoord, nState
  11047. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  11048. DO CASE
  11049. CASE Noutput = 1
  11050.     Activate Screen
  11051.     ? "Formset1.Form2.PageFrame1.Page2.Label1.DragOver"+Cparamstr
  11052. CASE Noutput = 2
  11053.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.DragOver"+Cparamstr + ;
  11054.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11055. CASE Noutput = 3
  11056.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.DragOver"+Cparamstr Nowait
  11057. ENDCASE
  11058. ENDPROC
  11059. PROCEDURE MouseDown
  11060. Parameters nButton, nShift, nXCoord, nYCoord
  11061. IF lTrackMouse
  11062.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11063.     DO CASE
  11064.     CASE Noutput = 1
  11065.         Activate Screen
  11066.         ? "Formset1.Form2.PageFrame1.Page2.Label1.MouseDown"+Cparamstr
  11067.     CASE Noutput = 2
  11068.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.MouseDown"+Cparamstr + ;
  11069.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11070.     CASE Noutput = 3
  11071.         Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.MouseDown"+Cparamstr Nowait
  11072.     ENDCASE
  11073. ENDIF
  11074. ENDPROC
  11075. PROCEDURE MouseMove
  11076. Parameters nButton, nShift, nXCoord, nYCoord
  11077. IF lTrackMouse
  11078.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11079.     DO CASE
  11080.     CASE Noutput = 1
  11081.         Activate Screen
  11082.         ? "Formset1.Form2.PageFrame1.Page2.Label1.MouseMove"+Cparamstr
  11083.     CASE Noutput = 2
  11084.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.MouseMove"+Cparamstr + ;
  11085.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11086.     CASE Noutput = 3
  11087.         Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.MouseMove"+Cparamstr Nowait
  11088.     ENDCASE
  11089. ENDIF
  11090. ENDPROC
  11091. PROCEDURE MouseUp
  11092. Parameters nButton, nShift, nXCoord, nYCoord
  11093. IF lTrackMouse
  11094.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11095.     DO CASE
  11096.     CASE Noutput = 1
  11097.         Activate Screen
  11098.         ? "Formset1.Form2.PageFrame1.Page2.Label1.MouseUp"+Cparamstr
  11099.     CASE Noutput = 2
  11100.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.MouseUp"+Cparamstr + ;
  11101.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11102.     CASE Noutput = 3
  11103.         Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.MouseUp"+Cparamstr Nowait
  11104.     ENDCASE
  11105. ENDIF
  11106. ENDPROC
  11107. PROCEDURE RightClick
  11108. DO CASE
  11109. CASE Noutput = 1
  11110.     Activate Screen
  11111.     ? "Formset1.Form2.PageFrame1.Page2.Label1.RightClick"
  11112. CASE Noutput = 2
  11113.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.RightClick" + ;
  11114.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11115. CASE Noutput = 3
  11116.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.RightClick" Nowait
  11117. ENDCASE
  11118. ENDPROC
  11119. PROCEDURE Destroy
  11120. DO CASE
  11121. CASE Noutput = 1
  11122.     Activate Screen
  11123.     ? "Formset1.Form2.PageFrame1.Page2.Label1.Destroy"
  11124. CASE Noutput = 2
  11125.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.Destroy" + ;
  11126.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11127. CASE Noutput = 3
  11128.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.Destroy" Nowait
  11129. ENDCASE
  11130. ENDPROC
  11131. PROCEDURE Init
  11132. DO CASE
  11133. CASE Noutput = 1
  11134.     Activate Screen
  11135.     ? "Formset1.Form2.PageFrame1.Page2.Label1.Init"
  11136. CASE Noutput = 2
  11137.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.Init" + ;
  11138.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11139. CASE Noutput = 3
  11140.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.Init" Nowait
  11141. ENDCASE
  11142. ENDPROC
  11143. Formset1.Form2.PageFrame1.Page2.Label1.Click
  11144. Formset1.Form2.PageFrame1.Page2.Label1.ClickC
  11145. Formset1.Form2.PageFrame1.Page2.Label1.Click
  11146. NOUTPUT
  11147. THISFORMSET
  11148. EVENTWIN
  11149. EDIT1
  11150. VALUE
  11151. Formset1.Form2.PageFrame1.Page2.Label1.DblClick
  11152. Formset1.Form2.PageFrame1.Page2.Label1.DblClickC
  11153. Formset1.Form2.PageFrame1.Page2.Label1.DblClick
  11154. NOUTPUT
  11155. THISFORMSET
  11156. EVENTWIN
  11157. EDIT1
  11158. VALUEc
  11159. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  11160. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  11161. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  11162. CSOURCE
  11163. NXCOORD
  11164. NYCOORD    
  11165. CPARAMSTR
  11166. NOUTPUT
  11167. THISFORMSET
  11168. EVENTWIN
  11169. EDIT1
  11170. VALUEt
  11171. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  11172. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  11173. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  11174. CSOURCE
  11175. NXCOORD
  11176. NYCOORD
  11177. NSTATE    
  11178. CPARAMSTR
  11179. NOUTPUT
  11180. THISFORMSET
  11181. EVENTWIN
  11182. EDIT1
  11183. VALUE
  11184. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  11185. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  11186. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  11187. NBUTTON
  11188. NSHIFT
  11189. NXCOORD
  11190. NYCOORD
  11191. LTRACKMOUSE    
  11192. CPARAMSTR
  11193. NOUTPUT
  11194. THISFORMSET
  11195. EVENTWIN
  11196. EDIT1
  11197. VALUE
  11198. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  11199. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  11200. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  11201. NBUTTON
  11202. NSHIFT
  11203. NXCOORD
  11204. NYCOORD
  11205. LTRACKMOUSE    
  11206. CPARAMSTR
  11207. NOUTPUT
  11208. THISFORMSET
  11209. EVENTWIN
  11210. EDIT1
  11211. VALUE
  11212. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  11213. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  11214. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  11215. NBUTTON
  11216. NSHIFT
  11217. NXCOORD
  11218. NYCOORD
  11219. LTRACKMOUSE    
  11220. CPARAMSTR
  11221. NOUTPUT
  11222. THISFORMSET
  11223. EVENTWIN
  11224. EDIT1
  11225. VALUE
  11226. Formset1.Form2.PageFrame1.Page2.Label1.RightClick
  11227. Formset1.Form2.PageFrame1.Page2.Label1.RightClickC
  11228. Formset1.Form2.PageFrame1.Page2.Label1.RightClick
  11229. NOUTPUT
  11230. THISFORMSET
  11231. EVENTWIN
  11232. EDIT1
  11233. VALUE
  11234. Formset1.Form2.PageFrame1.Page2.Label1.Destroy
  11235. Formset1.Form2.PageFrame1.Page2.Label1.DestroyC
  11236. Formset1.Form2.PageFrame1.Page2.Label1.Destroy
  11237. NOUTPUT
  11238. THISFORMSET
  11239. EVENTWIN
  11240. EDIT1
  11241. VALUE
  11242. Formset1.Form2.PageFrame1.Page2.Label1.Init
  11243. Formset1.Form2.PageFrame1.Page2.Label1.InitC
  11244. Formset1.Form2.PageFrame1.Page2.Label1.Init
  11245. NOUTPUT
  11246. THISFORMSET
  11247. EVENTWIN
  11248. EDIT1
  11249. VALUE
  11250. Click,
  11251. DblClickn
  11252. DragDrop
  11253. DragOverz
  11254. MouseDownT
  11255. MouseMoveJ
  11256. MouseUp@
  11257. RightClick0
  11258. Destroy
  11259. c:\vfp\samples\controls\events\
  11260. 09056567.tmp
  11261. c:\vfp\samples\controls\events\09056567.tmp
  11262. Grid1
  11263. Formset1.form2.
  11264. kColumnCount = 2
  11265. BackColor = 0,255,255
  11266. Height = 81
  11267. Left = 7
  11268. Panel = 1
  11269. RecordSource = "customer"
  11270. RecordSourceType = 1
  11271. Top = 94
  11272. Width = 245
  11273. Name = "Grid1"
  11274. Column1.Alignment = 2
  11275. Column1.ControlSource = "customer.contact"
  11276. Column1.Width = 148
  11277. Column1.Name = "Column1"
  11278. Column2.ControlSource = "customer.city"
  11279. Column2.Width = 65
  11280. Column2.Name = "Column2"
  11281. #PROCEDURE BeforeRowColChange
  11282. Parameters nColIndex
  11283. DO CASE
  11284. CASE Noutput = 1
  11285.     Activate Screen
  11286.     ? "Formset1.Form2.Grid1.RowColChange"
  11287. CASE Noutput = 2
  11288.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.RowColChange" + ;
  11289.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11290. CASE Noutput = 3
  11291.     Wait Window "Formset1.Form2.Grid1.RowColChange" Nowait
  11292. ENDCASE
  11293. ENDPROC
  11294. PROCEDURE Click
  11295. DO CASE
  11296. CASE Noutput = 1
  11297.     Activate Screen
  11298.     ? "Formset1.Form2.Grid1.Click"
  11299. CASE Noutput = 2
  11300.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Click" + ;
  11301.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11302. CASE Noutput = 3
  11303.     Wait Window "Formset1.Form2.Grid1.Click" Nowait
  11304. ENDCASE
  11305. ENDPROC
  11306. PROCEDURE Deleted
  11307. Parameters nRecNo
  11308. DO CASE
  11309. CASE Noutput = 1
  11310.     Activate Screen
  11311.     ? "Formset1.Form2.Grid1.Deleted"
  11312. CASE Noutput = 2
  11313.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Deleted" + ;
  11314.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11315. CASE Noutput = 3
  11316.     Wait Window "Formset1.Form2.Grid1.Deleted" Nowait
  11317. ENDCASE
  11318. ENDPROC
  11319. PROCEDURE DblClick
  11320. DO CASE
  11321. CASE Noutput = 1
  11322.     Activate Screen
  11323.     ? "Formset1.Form2.Grid1.DblClick"
  11324. CASE Noutput = 2
  11325.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.DblClick" + ;
  11326.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11327. CASE Noutput = 3
  11328.     Wait Window "Formset1.Form2.Grid1.DblClick" Nowait
  11329. ENDCASE
  11330. ENDPROC
  11331. PROCEDURE DragDrop
  11332. Parameters cSource, nXCoord, nYCoord
  11333. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11334. DO CASE
  11335. CASE Noutput = 1
  11336.     Activate Screen
  11337.     ? "Formset1.Form2.Grid1.DragDrop"+Cparamstr
  11338. CASE Noutput = 2
  11339.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.DragDrop"+Cparamstr + ;
  11340.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11341. CASE Noutput = 3
  11342.     Wait Window "Formset1.Form2.Grid1.DragDrop"+Cparamstr Nowait
  11343. ENDCASE
  11344. ENDPROC
  11345. PROCEDURE DragOver
  11346. Parameters cSource, nXCoord, nYCoord, nState
  11347. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  11348. DO CASE
  11349. CASE Noutput = 1
  11350.     Activate Screen
  11351.     ? "Formset1.Form2.Grid1.DragOver"+Cparamstr
  11352. CASE Noutput = 2
  11353.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.DragOver"+Cparamstr + ;
  11354.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11355. CASE Noutput = 3
  11356.     Wait Window "Formset1.Form2.Grid1.DragOver"+Cparamstr Nowait
  11357. ENDCASE
  11358. ENDPROC
  11359. PROCEDURE MouseDown
  11360. Parameters nButton, nShift, nXCoord, nYCoord
  11361. IF lTrackMouse
  11362.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11363.     DO CASE
  11364.     CASE Noutput = 1
  11365.         Activate Screen
  11366.         ? "Formset1.Form2.Grid1.MouseDown"+Cparamstr
  11367.     CASE Noutput = 2
  11368.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.MouseDown"+Cparamstr + ;
  11369.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11370.     CASE Noutput = 3
  11371.         Wait Window "Formset1.Form2.Grid1.MouseDown"+Cparamstr Nowait
  11372.     ENDCASE
  11373. ENDIF
  11374. ENDPROC
  11375. PROCEDURE MouseMove
  11376. Parameters nButton, nShift, nXCoord, nYCoord
  11377. IF lTrackMouse
  11378.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11379.     DO CASE
  11380.     CASE Noutput = 1
  11381.         Activate Screen
  11382.         ? "Formset1.Form2.Grid1.MouseMove"+Cparamstr
  11383.     CASE Noutput = 2
  11384.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.MouseMove"+Cparamstr + ;
  11385.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11386.     CASE Noutput = 3
  11387.         Wait Window "Formset1.Form2.Grid1.MouseMove"+Cparamstr Nowait
  11388.     ENDCASE
  11389. ENDIF
  11390. ENDPROC
  11391. PROCEDURE MouseUp
  11392. Parameters nButton, nShift, nXCoord, nYCoord
  11393. IF lTrackMouse
  11394.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11395.     DO CASE
  11396.     CASE Noutput = 1
  11397.         Activate Screen
  11398.         ? "Formset1.Form2.Grid1.MouseUp"+Cparamstr
  11399.     CASE Noutput = 2
  11400.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.MouseUp"+Cparamstr + ;
  11401.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11402.     CASE Noutput = 3
  11403.         Wait Window "Formset1.Form2.Grid1.MouseUp"+Cparamstr Nowait
  11404.     ENDCASE
  11405. ENDIF
  11406. ENDPROC
  11407. PROCEDURE RightClick
  11408. DO CASE
  11409. CASE Noutput = 1
  11410.     Activate Screen
  11411.     ? "Formset1.Form2.Grid1.RightClick"
  11412. CASE Noutput = 2
  11413.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.RightClick" + ;
  11414.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11415. CASE Noutput = 3
  11416.     Wait Window "Formset1.Form2.Grid1.RightClick" Nowait
  11417. ENDCASE
  11418. ENDPROC
  11419. PROCEDURE Valid
  11420. DO CASE
  11421. CASE Noutput = 1
  11422.     Activate Screen
  11423.     ? "Formset1.Form2.Grid1.Valid"
  11424. CASE Noutput = 2
  11425.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Valid" + ;
  11426.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11427. CASE Noutput = 3
  11428.     Wait Window "Formset1.Form2.Grid1.Valid" Nowait
  11429. ENDCASE
  11430. ENDPROC
  11431. PROCEDURE When
  11432. DO CASE
  11433. CASE Noutput = 1
  11434.     Activate Screen
  11435.     ? "Formset1.Form2.Grid1.When"
  11436. CASE Noutput = 2
  11437.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.When" + ;
  11438.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11439. CASE Noutput = 3
  11440.     Wait Window "Formset1.Form2.Grid1.When" Nowait
  11441. ENDCASE
  11442. ENDPROC
  11443. PROCEDURE Destroy
  11444. DO CASE
  11445. CASE Noutput = 1
  11446.     Activate Screen
  11447.     ? "Formset1.Form2.Grid1.Destroy"
  11448. CASE Noutput = 2
  11449.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Destroy" + ;
  11450.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11451. CASE Noutput = 3
  11452.     Wait Window "Formset1.Form2.Grid1.Destroy" Nowait
  11453. ENDCASE
  11454. ENDPROC
  11455. PROCEDURE Init
  11456. DO CASE
  11457. CASE Noutput = 1
  11458.     Activate Screen
  11459.     ? "Formset1.Form2.Grid1.Init"
  11460. CASE Noutput = 2
  11461.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Init" + ;
  11462.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11463. CASE Noutput = 3
  11464.     Wait Window "Formset1.Form2.Grid1.Init" Nowait
  11465. ENDCASE
  11466. ENDPROC
  11467. PROCEDURE Column1.MouseMove
  11468. Parameters nButton, nShift, nXCoord, nYCoord
  11469. IF lTrackMouse
  11470.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11471.     DO CASE
  11472.     CASE Noutput = 1
  11473.         Activate Screen
  11474.         ? "Formset1.Form2.Grid1.Column1.MouseMove"+Cparamstr
  11475.     CASE Noutput = 2
  11476.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.MouseMove"+Cparamstr + ;
  11477.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11478.     CASE Noutput = 3
  11479.         Wait Window "Formset1.Form2.Grid1.Column1.MouseMove"+Cparamstr Nowait
  11480.     ENDCASE
  11481. ENDIF
  11482. ENDPROC
  11483. PROCEDURE Column2.MouseMove
  11484. Parameters nButton, nShift, nXCoord, nYCoord
  11485. IF lTrackMouse
  11486.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11487.     DO CASE
  11488.     CASE Noutput = 1
  11489.         Activate Screen
  11490.         ? "Formset1.Form2.Grid1.Column2.MouseMove"+Cparamstr
  11491.     CASE Noutput = 2
  11492.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.MouseMove"+Cparamstr + ;
  11493.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11494.     CASE Noutput = 3
  11495.         Wait Window "Formset1.Form2.Grid1.Column2.MouseMove"+Cparamstr Nowait
  11496.     ENDCASE
  11497. ENDIF
  11498. ENDPROC
  11499. Formset1.Form2.Grid1.RowColChange
  11500. Formset1.Form2.Grid1.RowColChangeC
  11501. Formset1.Form2.Grid1.RowColChange
  11502. NCOLINDEX
  11503. NOUTPUT
  11504. THISFORMSET
  11505. EVENTWIN
  11506. EDIT1
  11507. VALUE
  11508. Formset1.Form2.Grid1.Click
  11509. Formset1.Form2.Grid1.ClickC
  11510. Formset1.Form2.Grid1.Click
  11511. NOUTPUT
  11512. THISFORMSET
  11513. EVENTWIN
  11514. EDIT1
  11515. VALUE
  11516. Formset1.Form2.Grid1.Deleted
  11517. Formset1.Form2.Grid1.DeletedC
  11518. Formset1.Form2.Grid1.Deleted
  11519. NRECNO
  11520. NOUTPUT
  11521. THISFORMSET
  11522. EVENTWIN
  11523. EDIT1
  11524. VALUE
  11525. Formset1.Form2.Grid1.DblClick
  11526. Formset1.Form2.Grid1.DblClickC
  11527. Formset1.Form2.Grid1.DblClick
  11528. NOUTPUT
  11529. THISFORMSET
  11530. EVENTWIN
  11531. EDIT1
  11532. VALUE-
  11533. Formset1.Form2.Grid1.DragDrop
  11534. Formset1.Form2.Grid1.DragDrop
  11535. Formset1.Form2.Grid1.DragDrop
  11536. CSOURCE
  11537. NXCOORD
  11538. NYCOORD    
  11539. CPARAMSTR
  11540. NOUTPUT
  11541. THISFORMSET
  11542. EVENTWIN
  11543. EDIT1
  11544. VALUE>
  11545. Formset1.Form2.Grid1.DragOver
  11546. Formset1.Form2.Grid1.DragOver
  11547. Formset1.Form2.Grid1.DragOver
  11548. CSOURCE
  11549. NXCOORD
  11550. NYCOORD
  11551. NSTATE    
  11552. CPARAMSTR
  11553. NOUTPUT
  11554. THISFORMSET
  11555. EVENTWIN
  11556. EDIT1
  11557. VALUES
  11558. Formset1.Form2.Grid1.MouseDown
  11559. Formset1.Form2.Grid1.MouseDown
  11560. Formset1.Form2.Grid1.MouseDown
  11561. NBUTTON
  11562. NSHIFT
  11563. NXCOORD
  11564. NYCOORD
  11565. LTRACKMOUSE    
  11566. CPARAMSTR
  11567. NOUTPUT
  11568. THISFORMSET
  11569. EVENTWIN
  11570. EDIT1
  11571. VALUES
  11572. Formset1.Form2.Grid1.MouseMove
  11573. Formset1.Form2.Grid1.MouseMove
  11574. Formset1.Form2.Grid1.MouseMove
  11575. NBUTTON
  11576. NSHIFT
  11577. NXCOORD
  11578. NYCOORD
  11579. LTRACKMOUSE    
  11580. CPARAMSTR
  11581. NOUTPUT
  11582. THISFORMSET
  11583. EVENTWIN
  11584. EDIT1
  11585. VALUEM
  11586. Formset1.Form2.Grid1.MouseUp
  11587. Formset1.Form2.Grid1.MouseUp
  11588. Formset1.Form2.Grid1.MouseUp
  11589. NBUTTON
  11590. NSHIFT
  11591. NXCOORD
  11592. NYCOORD
  11593. LTRACKMOUSE    
  11594. CPARAMSTR
  11595. NOUTPUT
  11596. THISFORMSET
  11597. EVENTWIN
  11598. EDIT1
  11599. VALUE
  11600. Formset1.Form2.Grid1.RightClick
  11601. Formset1.Form2.Grid1.RightClickC
  11602. Formset1.Form2.Grid1.RightClick
  11603. NOUTPUT
  11604. THISFORMSET
  11605. EVENTWIN
  11606. EDIT1
  11607. VALUE
  11608. Formset1.Form2.Grid1.Valid
  11609. Formset1.Form2.Grid1.ValidC
  11610. Formset1.Form2.Grid1.Valid
  11611. NOUTPUT
  11612. THISFORMSET
  11613. EVENTWIN
  11614. EDIT1
  11615. VALUE
  11616. Formset1.Form2.Grid1.When
  11617. Formset1.Form2.Grid1.WhenC
  11618. Formset1.Form2.Grid1.When
  11619. NOUTPUT
  11620. THISFORMSET
  11621. EVENTWIN
  11622. EDIT1
  11623. VALUE
  11624. Formset1.Form2.Grid1.Destroy
  11625. Formset1.Form2.Grid1.DestroyC
  11626. Formset1.Form2.Grid1.Destroy
  11627. NOUTPUT
  11628. THISFORMSET
  11629. EVENTWIN
  11630. EDIT1
  11631. VALUE
  11632. Formset1.Form2.Grid1.Init
  11633. Formset1.Form2.Grid1.InitC
  11634. Formset1.Form2.Grid1.Init
  11635. NOUTPUT
  11636. THISFORMSET
  11637. EVENTWIN
  11638. EDIT1
  11639. VALUEk
  11640. Formset1.Form2.Grid1.Column1.MouseMove
  11641. Formset1.Form2.Grid1.Column1.MouseMove
  11642. Formset1.Form2.Grid1.Column1.MouseMove
  11643. NBUTTON
  11644. NSHIFT
  11645. NXCOORD
  11646. NYCOORD
  11647. LTRACKMOUSE    
  11648. CPARAMSTR
  11649. NOUTPUT
  11650. THISFORMSET
  11651. EVENTWIN
  11652. EDIT1
  11653. VALUEk
  11654. Formset1.Form2.Grid1.Column2.MouseMove
  11655. Formset1.Form2.Grid1.Column2.MouseMove
  11656. Formset1.Form2.Grid1.Column2.MouseMove
  11657. NBUTTON
  11658. NSHIFT
  11659. NXCOORD
  11660. NYCOORD
  11661. LTRACKMOUSE    
  11662. CPARAMSTR
  11663. NOUTPUT
  11664. THISFORMSET
  11665. EVENTWIN
  11666. EDIT1
  11667. VALUE
  11668. BeforeRowColChange,
  11669. Click_
  11670. Deletedk
  11671. DblClick
  11672. DragDrop
  11673. DragOver,
  11674. MouseDown
  11675. MouseMove
  11676. MouseUpP
  11677. RightClick
  11678. Valid%
  11679. When1
  11680. Destroy:
  11681. InitL
  11682. Column1.MouseMoveU
  11683. Column2.MouseMove-
  11684. c:\vfp\samples\controls\events\
  11685. 09056567.tmp
  11686. c:\vfp\samples\controls\events\09056567.tmp
  11687. header
  11688. header
  11689. Header1
  11690. Formset1.form2.Grid1.Column1.
  11691. -Caption = "Customer Name"
  11692. Name = "Header1"
  11693. FPROCEDURE Click
  11694. DO CASE
  11695. CASE Noutput = 1
  11696.     Activate Screen
  11697.     ? "Formset1.Form2.Grid1.Column1.Header1.Click"
  11698. CASE Noutput = 2
  11699.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.Click" + ;
  11700.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11701. CASE Noutput = 3
  11702.     Wait Window "Formset1.Form2.Grid1.Column1.Header1.Click" Nowait
  11703. ENDCASE
  11704. ENDPROC
  11705. PROCEDURE DblClick
  11706. DO CASE
  11707. CASE Noutput = 1
  11708.     Activate Screen
  11709.     ? "Formset1.Form2.Grid1.Column1.Header1.DblClick"
  11710. CASE Noutput = 2
  11711.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.DblClick" + ;
  11712.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11713. CASE Noutput = 3
  11714.     Wait Window "Formset1.Form2.Grid1.Column1.Header1.DblClick" Nowait
  11715. ENDCASE
  11716. ENDPROC
  11717. PROCEDURE MouseDown
  11718. Parameters nButton, nShift, nXCoord, nYCoord
  11719. IF lTrackMouse
  11720.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11721.     DO CASE
  11722.     CASE Noutput = 1
  11723.         Activate Screen
  11724.         ? "Formset1.Form2.Grid1.Column1.Header1.MouseDown"+Cparamstr
  11725.     CASE Noutput = 2
  11726.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.MouseDown"+Cparamstr + ;
  11727.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11728.     CASE Noutput = 3
  11729.         Wait Window "Formset1.Form2.Grid1.Column1.Header1.MouseDown"+Cparamstr Nowait
  11730.     ENDCASE
  11731. ENDIF
  11732. ENDPROC
  11733. PROCEDURE MouseMove
  11734. Parameters nButton, nShift, nXCoord, nYCoord
  11735. IF lTrackMouse
  11736.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11737.     DO CASE
  11738.     CASE Noutput = 1
  11739.         Activate Screen
  11740.         ? "Formset1.Form2.Grid1.Column1.Header1.MouseMove"+Cparamstr
  11741.     CASE Noutput = 2
  11742.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.MouseMove"+Cparamstr + ;
  11743.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11744.     CASE Noutput = 3
  11745.         Wait Window "Formset1.Form2.Grid1.Column1.Header1.MouseMove"+Cparamstr Nowait
  11746.     ENDCASE
  11747. ENDIF
  11748. ENDPROC
  11749. PROCEDURE MouseUp
  11750. Parameters nButton, nShift, nXCoord, nYCoord
  11751. IF lTrackMouse
  11752.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11753.     DO CASE
  11754.     CASE Noutput = 1
  11755.         Activate Screen
  11756.         ? "Formset1.Form2.Grid1.Column1.Header1.MouseUp"+Cparamstr
  11757.     CASE Noutput = 2
  11758.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.MouseUp"+Cparamstr + ;
  11759.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11760.     CASE Noutput = 3
  11761.         Wait Window "Formset1.Form2.Grid1.Column1.Header1.MouseUp"+Cparamstr Nowait
  11762.     ENDCASE
  11763. ENDIF
  11764. ENDPROC
  11765. PROCEDURE RightClick
  11766. DO CASE
  11767. CASE Noutput = 1
  11768.     Activate Screen
  11769.     ? "Formset1.Form2.Grid1.Column1.Header1.RightClick"
  11770. CASE Noutput = 2
  11771.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.RightClick" + ;
  11772.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11773. CASE Noutput = 3
  11774.     Wait Window "Formset1.Form2.Grid1.Column1.Header1.RightClick" Nowait
  11775. ENDCASE
  11776. ENDPROC
  11777. Formset1.Form2.Grid1.Column1.Header1.Click
  11778. Formset1.Form2.Grid1.Column1.Header1.ClickC
  11779. Formset1.Form2.Grid1.Column1.Header1.Click
  11780. NOUTPUT
  11781. THISFORMSET
  11782. EVENTWIN
  11783. EDIT1
  11784. VALUE
  11785. Formset1.Form2.Grid1.Column1.Header1.DblClick
  11786. Formset1.Form2.Grid1.Column1.Header1.DblClickC
  11787. Formset1.Form2.Grid1.Column1.Header1.DblClick
  11788. NOUTPUT
  11789. THISFORMSET
  11790. EVENTWIN
  11791. EDIT1
  11792. VALUE
  11793. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  11794. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  11795. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  11796. NBUTTON
  11797. NSHIFT
  11798. NXCOORD
  11799. NYCOORD
  11800. LTRACKMOUSE    
  11801. CPARAMSTR
  11802. NOUTPUT
  11803. THISFORMSET
  11804. EVENTWIN
  11805. EDIT1
  11806. VALUE
  11807. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  11808. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  11809. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  11810. NBUTTON
  11811. NSHIFT
  11812. NXCOORD
  11813. NYCOORD
  11814. LTRACKMOUSE    
  11815. CPARAMSTR
  11816. NOUTPUT
  11817. THISFORMSET
  11818. EVENTWIN
  11819. EDIT1
  11820. VALUE}
  11821. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  11822. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  11823. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  11824. NBUTTON
  11825. NSHIFT
  11826. NXCOORD
  11827. NYCOORD
  11828. LTRACKMOUSE    
  11829. CPARAMSTR
  11830. NOUTPUT
  11831. THISFORMSET
  11832. EVENTWIN
  11833. EDIT1
  11834. VALUE
  11835. Formset1.Form2.Grid1.Column1.Header1.RightClick
  11836. Formset1.Form2.Grid1.Column1.Header1.RightClickC
  11837. Formset1.Form2.Grid1.Column1.Header1.RightClick
  11838. NOUTPUT
  11839. THISFORMSET
  11840. EVENTWIN
  11841. EDIT1
  11842. VALUE
  11843. Click,
  11844. DblClickh
  11845. MouseDown
  11846. MouseMove
  11847. MouseUp
  11848. RightClickw
  11849. c:\vfp\samples\controls\events\
  11850. 09056567.tmp
  11851. c:\vfp\samples\controls\events\09056567.tmp
  11852. header
  11853. header
  11854. Header2
  11855. Formset1.form2.Grid1.Column2.
  11856. 6Alignment = 2
  11857. Caption = "Country"
  11858. Name = "Header2"
  11859. FPROCEDURE Click
  11860. DO CASE
  11861. CASE Noutput = 1
  11862.     Activate Screen
  11863.     ? "Formset1.Form2.Grid1.Column2.Header2.Click"
  11864. CASE Noutput = 2
  11865.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.Click" + ;
  11866.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11867. CASE Noutput = 3
  11868.     Wait Window "Formset1.Form2.Grid1.Column2.Header2.Click" Nowait
  11869. ENDCASE
  11870. ENDPROC
  11871. PROCEDURE DblClick
  11872. DO CASE
  11873. CASE Noutput = 1
  11874.     Activate Screen
  11875.     ? "Formset1.Form2.Grid1.Column2.Header2.DblClick"
  11876. CASE Noutput = 2
  11877.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.DblClick" + ;
  11878.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11879. CASE Noutput = 3
  11880.     Wait Window "Formset1.Form2.Grid1.Column2.Header2.DblClick" Nowait
  11881. ENDCASE
  11882. ENDPROC
  11883. PROCEDURE MouseDown
  11884. Parameters nButton, nShift, nXCoord, nYCoord
  11885. IF lTrackMouse
  11886.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11887.     DO CASE
  11888.     CASE Noutput = 1
  11889.         Activate Screen
  11890.         ? "Formset1.Form2.Grid1.Column2.Header2.MouseDown"+Cparamstr
  11891.     CASE Noutput = 2
  11892.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.MouseDown"+Cparamstr + ;
  11893.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11894.     CASE Noutput = 3
  11895.         Wait Window "Formset1.Form2.Grid1.Column2.Header2.MouseDown"+Cparamstr Nowait
  11896.     ENDCASE
  11897. ENDIF
  11898. ENDPROC
  11899. PROCEDURE MouseMove
  11900. Parameters nButton, nShift, nXCoord, nYCoord
  11901. IF lTrackMouse
  11902.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11903.     DO CASE
  11904.     CASE Noutput = 1
  11905.         Activate Screen
  11906.         ? "Formset1.Form2.Grid1.Column2.Header2.MouseMove"+Cparamstr
  11907.     CASE Noutput = 2
  11908.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.MouseMove"+Cparamstr + ;
  11909.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11910.     CASE Noutput = 3
  11911.         Wait Window "Formset1.Form2.Grid1.Column2.Header2.MouseMove"+Cparamstr Nowait
  11912.     ENDCASE
  11913. ENDIF
  11914. ENDPROC
  11915. PROCEDURE MouseUp
  11916. Parameters nButton, nShift, nXCoord, nYCoord
  11917. IF lTrackMouse
  11918.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  11919.     DO CASE
  11920.     CASE Noutput = 1
  11921.         Activate Screen
  11922.         ? "Formset1.Form2.Grid1.Column2.Header2.MouseUp"+Cparamstr
  11923.     CASE Noutput = 2
  11924.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.MouseUp"+Cparamstr + ;
  11925.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  11926.     CASE Noutput = 3
  11927.         Wait Window "Formset1.Form2.Grid1.Column2.Header2.MouseUp"+Cparamstr Nowait
  11928.     ENDCASE
  11929. ENDIF
  11930. ENDPROC
  11931. PROCEDURE RightClick
  11932. DO CASE
  11933. CASE Noutput = 1
  11934.     Activate Screen
  11935.     ? "Formset1.Form2.Grid1.Column2.Header2.RightClick"
  11936. CASE Noutput = 2
  11937.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.RightClick" + ;
  11938.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  11939. CASE Noutput = 3
  11940.     Wait Window "Formset1.Form2.Grid1.Column2.Header2.RightClick" Nowait
  11941. ENDCASE
  11942. ENDPROC
  11943. Formset1.Form2.Grid1.Column2.Header2.Click
  11944. Formset1.Form2.Grid1.Column2.Header2.ClickC
  11945. Formset1.Form2.Grid1.Column2.Header2.Click
  11946. NOUTPUT
  11947. THISFORMSET
  11948. EVENTWIN
  11949. EDIT1
  11950. VALUE
  11951. Formset1.Form2.Grid1.Column2.Header2.DblClick
  11952. Formset1.Form2.Grid1.Column2.Header2.DblClickC
  11953. Formset1.Form2.Grid1.Column2.Header2.DblClick
  11954. NOUTPUT
  11955. THISFORMSET
  11956. EVENTWIN
  11957. EDIT1
  11958. VALUE
  11959. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  11960. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  11961. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  11962. NBUTTON
  11963. NSHIFT
  11964. NXCOORD
  11965. NYCOORD
  11966. LTRACKMOUSE    
  11967. CPARAMSTR
  11968. NOUTPUT
  11969. THISFORMSET
  11970. EVENTWIN
  11971. EDIT1
  11972. VALUE
  11973. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  11974. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  11975. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  11976. NBUTTON
  11977. NSHIFT
  11978. NXCOORD
  11979. NYCOORD
  11980. LTRACKMOUSE    
  11981. CPARAMSTR
  11982. NOUTPUT
  11983. THISFORMSET
  11984. EVENTWIN
  11985. EDIT1
  11986. VALUE}
  11987. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  11988. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  11989. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  11990. NBUTTON
  11991. NSHIFT
  11992. NXCOORD
  11993. NYCOORD
  11994. LTRACKMOUSE    
  11995. CPARAMSTR
  11996. NOUTPUT
  11997. THISFORMSET
  11998. EVENTWIN
  11999. EDIT1
  12000. VALUE
  12001. Formset1.Form2.Grid1.Column2.Header2.RightClick
  12002. Formset1.Form2.Grid1.Column2.Header2.RightClickC
  12003. Formset1.Form2.Grid1.Column2.Header2.RightClick
  12004. NOUTPUT
  12005. THISFORMSET
  12006. EVENTWIN
  12007. EDIT1
  12008. VALUE
  12009. Click,
  12010. DblClickh
  12011. MouseDown
  12012. MouseMove
  12013. MouseUp
  12014. RightClickw
  12015. c:\vfp\samples\controls\events\
  12016. 09056567.tmp
  12017. c:\vfp\samples\controls\events\09056567.tmp
  12018. optiongroup
  12019. optiongroup
  12020. Optiongroup1
  12021. Formset1.form2.
  12022. ButtonCount = 3
  12023. BackColor = 192,192,192
  12024. Caption = "Optiongroup1"
  12025. Height = 54
  12026. Left = 156
  12027. Top = 31
  12028. Width = 83
  12029. Name = "Optiongroup1"
  12030. Option1.BackColor = 192,192,192
  12031. Option1.Caption = "Option 1"
  12032. Option1.Height = 15
  12033. Option1.Left = 5
  12034. Option1.Top = 3
  12035. Option1.Width = 71
  12036. Option1.Name = "Option1"
  12037. Option2.BackColor = 192,192,192
  12038. Option2.Caption = "Option 2"
  12039. Option2.Height = 15
  12040. Option2.Left = 5
  12041. Option2.Top = 20
  12042. Option2.Width = 71
  12043. Option2.Name = "Option2"
  12044. Option3.BackColor = 192,192,192
  12045. Option3.BackStyle = 1
  12046. Option3.Caption = "Option 3"
  12047. Option3.Height = 15
  12048. Option3.Left = 5
  12049. Option3.Top = 37
  12050. Option3.Width = 71
  12051. Option3.Name = "Option3"
  12052. c!PROCEDURE Click
  12053. DO CASE
  12054. CASE Noutput = 1
  12055.     Activate Screen
  12056.     ? "Formset1.Form2.OptionGroup1.Click"
  12057. CASE Noutput = 2
  12058.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Click" + ;
  12059.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12060. CASE Noutput = 3
  12061.     Wait Window "Formset1.Form2.OptionGroup1.Click" Nowait
  12062. ENDCASE
  12063. ENDPROC
  12064. PROCEDURE DblClick
  12065. DO CASE
  12066. CASE Noutput = 1
  12067.     Activate Screen
  12068.     ? "Formset1.Form2.OptionGroup1.DblClick"
  12069. CASE Noutput = 2
  12070.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.DblClick" + ;
  12071.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12072. CASE Noutput = 3
  12073.     Wait Window "Formset1.Form2.OptionGroup1.DblClick" Nowait
  12074. ENDCASE
  12075. ENDPROC
  12076. PROCEDURE DragDrop
  12077. Parameters cSource, nXCoord, nYCoord
  12078. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12079. DO CASE
  12080. CASE Noutput = 1
  12081.     Activate Screen
  12082.     ? "Formset1.Form2.OptionGroup1.DragDrop"+Cparamstr
  12083. CASE Noutput = 2
  12084.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.DragDrop"+Cparamstr + ;
  12085.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12086. CASE Noutput = 3
  12087.     Wait Window "Formset1.Form2.OptionGroup1.DragDrop"+Cparamstr Nowait
  12088. ENDCASE
  12089. ENDPROC
  12090. PROCEDURE DragOver
  12091. Parameters cSource, nXCoord, nYCoord, nState
  12092. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  12093. DO CASE
  12094. CASE Noutput = 1
  12095.     Activate Screen
  12096.     ? "Formset1.Form2.OptionGroup1.DragOver"+Cparamstr
  12097. CASE Noutput = 2
  12098.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.DragOver"+Cparamstr + ;
  12099.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12100. CASE Noutput = 3
  12101.     Wait Window "Formset1.Form2.OptionGroup1.DragOver"+Cparamstr Nowait
  12102. ENDCASE
  12103. ENDPROC
  12104. PROCEDURE InteractiveChange
  12105. DO CASE
  12106. CASE Noutput = 1
  12107.     Activate Screen
  12108.     ? "Formset1.Form2.OptionGroup1.InteractiveChange"
  12109. CASE Noutput = 2
  12110.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.InteractiveChange" + ;
  12111.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12112. CASE Noutput = 3
  12113.     Wait Window "Formset1.Form2.OptionGroup1.InteractiveChange" Nowait
  12114. ENDCASE
  12115. ENDPROC
  12116. PROCEDURE MouseDown
  12117. Parameters nButton, nShift, nXCoord, nYCoord
  12118. IF lTrackMouse
  12119.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12120.     DO CASE
  12121.     CASE Noutput = 1
  12122.         Activate Screen
  12123.         ? "Formset1.Form2.OptionGroup1.MouseDown"+Cparamstr
  12124.     CASE Noutput = 2
  12125.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.MouseDown"+Cparamstr + ;
  12126.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12127.     CASE Noutput = 3
  12128.         Wait Window "Formset1.Form2.OptionGroup1.MouseDown"+Cparamstr Nowait
  12129.     ENDCASE
  12130. ENDIF
  12131. ENDPROC
  12132. PROCEDURE MouseMove
  12133. Parameters nButton, nShift, nXCoord, nYCoord
  12134. IF lTrackMouse
  12135.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12136.     DO CASE
  12137.     CASE Noutput = 1
  12138.         Activate Screen
  12139.         ? "Formset1.Form2.OptionGroup1.MouseMove"+Cparamstr
  12140.     CASE Noutput = 2
  12141.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.MouseMove"+Cparamstr + ;
  12142.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12143.     CASE Noutput = 3
  12144.         Wait Window "Formset1.Form2.OptionGroup1.MouseMove"+Cparamstr Nowait
  12145.     ENDCASE
  12146. ENDIF
  12147. ENDPROC
  12148. PROCEDURE MouseUp
  12149. Parameters nButton, nShift, nXCoord, nYCoord
  12150. IF lTrackMouse
  12151.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12152.     DO CASE
  12153.     CASE Noutput = 1
  12154.         Activate Screen
  12155.         ? "Formset1.Form2.OptionGroup1.MouseUp"+Cparamstr
  12156.     CASE Noutput = 2
  12157.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.MouseUp"+Cparamstr + ;
  12158.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12159.     CASE Noutput = 3
  12160.         Wait Window "Formset1.Form2.OptionGroup1.MouseUp"+Cparamstr Nowait
  12161.     ENDCASE
  12162. ENDIF
  12163. ENDPROC
  12164. PROCEDURE RightClick
  12165. DO CASE
  12166. CASE Noutput = 1
  12167.     Activate Screen
  12168.     ? "Formset1.Form2.OptionGroup1.RightClick"
  12169. CASE Noutput = 2
  12170.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.RightClick" + ;
  12171.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12172. CASE Noutput = 3
  12173.     Wait Window "Formset1.Form2.OptionGroup1.RightClick" Nowait
  12174. ENDCASE
  12175. ENDPROC
  12176. PROCEDURE Init
  12177. DO CASE
  12178. CASE Noutput = 1
  12179.     Activate Screen
  12180.     ? "Formset1.Form2.OptionGroup1.Init"
  12181. CASE Noutput = 2
  12182.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Init" + ;
  12183.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12184. CASE Noutput = 3
  12185.     Wait Window "Formset1.Form2.OptionGroup1.Init" Nowait
  12186. ENDCASE
  12187. ENDPROC
  12188. PROCEDURE When
  12189. DO CASE
  12190. CASE Noutput = 1
  12191.     Activate Screen
  12192.     ? "Formset1.Form2.OptionGroup1.When"
  12193. CASE Noutput = 2
  12194.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.When" + ;
  12195.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12196. CASE Noutput = 3
  12197.     Wait Window "Formset1.Form2.OptionGroup1.When" Nowait
  12198. ENDCASE
  12199. ENDPROC
  12200. PROCEDURE Valid
  12201. DO CASE
  12202. CASE Noutput = 1
  12203.     Activate Screen
  12204.     ? "Formset1.Form2.OptionGroup1.Valid"
  12205. CASE Noutput = 2
  12206.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Valid" + ;
  12207.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12208. CASE Noutput = 3
  12209.     Wait Window "Formset1.Form2.OptionGroup1.Valid" Nowait
  12210. ENDCASE
  12211. ENDPROC
  12212. PROCEDURE Option1.Click
  12213. DO CASE
  12214. CASE Noutput = 1
  12215.     Activate Screen
  12216.     ? "Formset1.Form2.OptionGroup1.Option1.Click"
  12217. CASE Noutput = 2
  12218.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Click" + ;
  12219.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12220. CASE Noutput = 3
  12221.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Click" Nowait
  12222. ENDCASE
  12223. ENDPROC
  12224. PROCEDURE Option1.DblClick
  12225. DO CASE
  12226. CASE Noutput = 1
  12227.     Activate Screen
  12228.     ? "Formset1.Form2.OptionGroup1.Option1.DblClick"
  12229. CASE Noutput = 2
  12230.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.DblClick" + ;
  12231.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12232. CASE Noutput = 3
  12233.     Wait Window "Formset1.Form2.OptionGroup1.Option1.DblClick" Nowait
  12234. ENDCASE
  12235. ENDPROC
  12236. PROCEDURE Option1.DragDrop
  12237. Parameters cSource, nXCoord, nYCoord
  12238. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12239. DO CASE
  12240. CASE Noutput = 1
  12241.     Activate Screen
  12242.     ? "Formset1.Form2.OptionGroup1.Option1.DragDrop"+Cparamstr
  12243. CASE Noutput = 2
  12244.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.DragDrop"+Cparamstr + ;
  12245.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12246. CASE Noutput = 3
  12247.     Wait Window "Formset1.Form2.OptionGroup1.Option1.DragDrop"+Cparamstr Nowait
  12248. ENDCASE
  12249. ENDPROC
  12250. PROCEDURE Option1.DragOver
  12251. Parameters cSource, nXCoord, nYCoord, nState
  12252. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  12253. DO CASE
  12254. CASE Noutput = 1
  12255.     Activate Screen
  12256.     ? "Formset1.Form2.OptionGroup1.Option1.DragOver"+Cparamstr
  12257. CASE Noutput = 2
  12258.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.DragOver"+Cparamstr + ;
  12259.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12260. CASE Noutput = 3
  12261.     Wait Window "Formset1.Form2.OptionGroup1.Option1.DragOver"+Cparamstr Nowait
  12262. ENDCASE
  12263. ENDPROC
  12264. PROCEDURE Option1.GotFocus
  12265. DO CASE
  12266. CASE Noutput = 1
  12267.     Activate Screen
  12268.     ? "Formset1.Form2.OptionGroup1.Option1.GotFocus"
  12269. CASE Noutput = 2
  12270.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.GotFocus" + ;
  12271.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12272. CASE Noutput = 3
  12273.     Wait Window "Formset1.Form2.OptionGroup1.Option1.GotFocus" Nowait
  12274. ENDCASE
  12275. ENDPROC
  12276. PROCEDURE Option1.KeyPress
  12277. Parameters nKeyCode, nShiftAltCtrl
  12278. IF lTrackMouse
  12279.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  12280.     DO CASE
  12281.     CASE Noutput = 1
  12282.         Activate Screen
  12283.         ? "Formset1.Form2.OptionGroup1.Option1.KeyPress"+Cparamstr
  12284.     CASE Noutput = 2
  12285.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.KeyPress"+Cparamstr + ;
  12286.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12287.     CASE Noutput = 3
  12288.         Wait Window "Formset1.Form2.OptionGroup1.Option1.KeyPress"+Cparamstr Nowait
  12289.     ENDCASE
  12290. ENDIF
  12291. ENDPROC
  12292. PROCEDURE Option1.LostFocus
  12293. DO CASE
  12294. CASE Noutput = 1
  12295.     Activate Screen
  12296.     ? "Formset1.Form2.OptionGroup1.Option1.LostFocus"
  12297. CASE Noutput = 2
  12298.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.LostFocus" + ;
  12299.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12300. CASE Noutput = 3
  12301.     Wait Window "Formset1.Form2.OptionGroup1.Option1.LostFocus" Nowait
  12302. ENDCASE
  12303. ENDPROC
  12304. PROCEDURE Option1.MouseDown
  12305. Parameters nButton, nShift, nXCoord, nYCoord
  12306. IF lTrackMouse
  12307.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12308.     DO CASE
  12309.     CASE Noutput = 1
  12310.         Activate Screen
  12311.         ? "Formset1.Form2.OptionGroup1.Option1.MouseDown"+Cparamstr
  12312.     CASE Noutput = 2
  12313.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.MouseDown"+Cparamstr + ;
  12314.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12315.     CASE Noutput = 3
  12316.         Wait Window "Formset1.Form2.OptionGroup1.Option1.MouseDown"+Cparamstr Nowait
  12317.     ENDCASE
  12318. ENDIF
  12319. ENDPROC
  12320. PROCEDURE Option1.MouseMove
  12321. Parameters nButton, nShift, nXCoord, nYCoord
  12322. IF lTrackMouse
  12323.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12324.     DO CASE
  12325.     CASE Noutput = 1
  12326.         Activate Screen
  12327.         ? "Formset1.Form2.OptionGroup1.Option1.MouseMove"+Cparamstr
  12328.     CASE Noutput = 2
  12329.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.MouseMove"+Cparamstr + ;
  12330.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12331.     CASE Noutput = 3
  12332.         Wait Window "Formset1.Form2.OptionGroup1.Option1.MouseMove"+Cparamstr Nowait
  12333.     ENDCASE
  12334. ENDIF
  12335. ENDPROC
  12336. PROCEDURE Option1.MouseUp
  12337. Parameters nButton, nShift, nXCoord, nYCoord
  12338. IF lTrackMouse
  12339.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12340.     DO CASE
  12341.     CASE Noutput = 1
  12342.         Activate Screen
  12343.         ? "Formset1.Form2.OptionGroup1.Option1.MouseUp"+Cparamstr
  12344.     CASE Noutput = 2
  12345.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.MouseUp"+Cparamstr + ;
  12346.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12347.     CASE Noutput = 3
  12348.         Wait Window "Formset1.Form2.OptionGroup1.Option1.MouseUp"+Cparamstr Nowait
  12349.     ENDCASE
  12350. ENDIF
  12351. ENDPROC
  12352. PROCEDURE Option1.RightClick
  12353. DO CASE
  12354. CASE Noutput = 1
  12355.     Activate Screen
  12356.     ? "Formset1.Form2.OptionGroup1.Option1.RightClick"
  12357. CASE Noutput = 2
  12358.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.RightClick" + ;
  12359.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12360. CASE Noutput = 3
  12361.     Wait Window "Formset1.Form2.OptionGroup1.Option1.RightClick" Nowait
  12362. ENDCASE
  12363. ENDPROC
  12364. PROCEDURE Option1.Destroy
  12365. DO CASE
  12366. CASE Noutput = 1
  12367.     Activate Screen
  12368.     ? "Formset1.Form2.OptionGroup1.Option1.Destroy"
  12369. CASE Noutput = 2
  12370.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Destroy" + ;
  12371.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12372. CASE Noutput = 3
  12373.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Destroy" Nowait
  12374. ENDCASE
  12375. ENDPROC
  12376. PROCEDURE Option1.Init
  12377. DO CASE
  12378. CASE Noutput = 1
  12379.     Activate Screen
  12380.     ? "Formset1.Form2.OptionGroup1.Option1.Init"
  12381. CASE Noutput = 2
  12382.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Init" + ;
  12383.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12384. CASE Noutput = 3
  12385.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Init" Nowait
  12386. ENDCASE
  12387. ENDPROC
  12388. PROCEDURE Option1.When
  12389. DO CASE
  12390. CASE Noutput = 1
  12391.     Activate Screen
  12392.     ? "Formset1.Form2.OptionGroup1.Option1.When"
  12393. CASE Noutput = 2
  12394.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.When" + ;
  12395.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12396. CASE Noutput = 3
  12397.     Wait Window "Formset1.Form2.OptionGroup1.Option1.When" Nowait
  12398. ENDCASE
  12399. ENDPROC
  12400. PROCEDURE Option1.Valid
  12401. DO CASE
  12402. CASE Noutput = 1
  12403.     Activate Screen
  12404.     ? "Formset1.Form2.OptionGroup1.Option1.Valid"
  12405. CASE Noutput = 2
  12406.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Valid" + ;
  12407.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12408. CASE Noutput = 3
  12409.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Valid" Nowait
  12410. ENDCASE
  12411. ENDPROC
  12412. PROCEDURE Option2.Click
  12413. DO CASE
  12414. CASE Noutput = 1
  12415.     Activate Screen
  12416.     ? "Formset1.Form2.OptionGroup1.Option2.Click"
  12417. CASE Noutput = 2
  12418.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Click" + ;
  12419.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12420. CASE Noutput = 3
  12421.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Click" Nowait
  12422. ENDCASE
  12423. ENDPROC
  12424. PROCEDURE Option2.DblClick
  12425. DO CASE
  12426. CASE Noutput = 1
  12427.     Activate Screen
  12428.     ? "Formset1.Form2.OptionGroup1.Option2.DblClick"
  12429. CASE Noutput = 2
  12430.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.DblClick" + ;
  12431.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12432. CASE Noutput = 3
  12433.     Wait Window "Formset1.Form2.OptionGroup1.Option2.DblClick" Nowait
  12434. ENDCASE
  12435. ENDPROC
  12436. PROCEDURE Option2.DragDrop
  12437. Parameters cSource, nXCoord, nYCoord
  12438. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12439. DO CASE
  12440. CASE Noutput = 1
  12441.     Activate Screen
  12442.     ? "Formset1.Form2.OptionGroup1.Option2.DragDrop"+paramstr
  12443. CASE Noutput = 2
  12444.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.DragDrop"+paramstr + ;
  12445.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12446. CASE Noutput = 3
  12447.     Wait Window "Formset1.Form2.OptionGroup1.Option2.DragDrop"+paramstr Nowait
  12448. ENDCASE
  12449. ENDPROC
  12450. PROCEDURE Option2.DragOver
  12451. Parameters cSource, nXCoord, nYCoord, nState
  12452. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  12453. DO CASE
  12454. CASE Noutput = 1
  12455.     Activate Screen
  12456.     ? "Formset1.Form2.OptionGroup1.Option2.DragOver"+paramstr
  12457. CASE Noutput = 2
  12458.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.DragOver"+paramstr + ;
  12459.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12460. CASE Noutput = 3
  12461.     Wait Window "Formset1.Form2.OptionGroup1.Option2.DragOver"+paramstr Nowait
  12462. ENDCASE
  12463. ENDPROC
  12464. PROCEDURE Option2.GotFocus
  12465. DO CASE
  12466. CASE Noutput = 1
  12467.     Activate Screen
  12468.     ? "Formset1.Form2.OptionGroup1.Option2.GotFocus"
  12469. CASE Noutput = 2
  12470.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.GotFocus" + ;
  12471.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12472. CASE Noutput = 3
  12473.     Wait Window "Formset1.Form2.OptionGroup1.Option2.GotFocus" Nowait
  12474. ENDCASE
  12475. ENDPROC
  12476. PROCEDURE Option2.KeyPress
  12477. Parameters nKeyCode, nShiftAltCtrl
  12478. IF lTrackMouse
  12479.     paramstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  12480.     DO CASE
  12481.     CASE Noutput = 1
  12482.         Activate Screen
  12483.         ? "Formset1.Form2.OptionGroup1.Option2.KeyPress"+paramstr
  12484.     CASE Noutput = 2
  12485.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.KeyPress"+paramstr + ;
  12486.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12487.     CASE Noutput = 3
  12488.         Wait Window "Formset1.Form2.OptionGroup1.Option2.KeyPress"+paramstr Nowait
  12489.     ENDCASE
  12490. ENDIF
  12491. ENDPROC
  12492. PROCEDURE Option2.LostFocus
  12493. DO CASE
  12494. CASE Noutput = 1
  12495.     Activate Screen
  12496.     ? "Formset1.Form2.OptionGroup1.Option2.LostFocus"
  12497. CASE Noutput = 2
  12498.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.LostFocus" + ;
  12499.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12500. CASE Noutput = 3
  12501.     Wait Window "Formset1.Form2.OptionGroup1.Option2.LostFocus" Nowait
  12502. ENDCASE
  12503. ENDPROC
  12504. PROCEDURE Option2.MouseDown
  12505. Parameters nButton, nShift, nXCoord, nYCoord
  12506. IF lTrackMouse
  12507.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12508.     DO CASE
  12509.     CASE Noutput = 1
  12510.         Activate Screen
  12511.         ? "Formset1.Form2.OptionGroup1.Option2.MouseDown"+paramstr
  12512.     CASE Noutput = 2
  12513.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.MouseDown"+paramstr + ;
  12514.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12515.     CASE Noutput = 3
  12516.         Wait Window "Formset1.Form2.OptionGroup1.Option2.MouseDown"+paramstr Nowait
  12517.     ENDCASE
  12518. ENDIF
  12519. ENDPROC
  12520. PROCEDURE Option2.MouseMove
  12521. Parameters nButton, nShift, nXCoord, nYCoord
  12522. IF lTrackMouse
  12523.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12524.     DO CASE
  12525.     CASE Noutput = 1
  12526.         Activate Screen
  12527.         ? "Formset1.Form2.OptionGroup1.Option2.MouseMove"+paramstr
  12528.     CASE Noutput = 2
  12529.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.MouseMove"+paramstr + ;
  12530.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12531.     CASE Noutput = 3
  12532.         Wait Window "Formset1.Form2.OptionGroup1.Option2.MouseMove"+paramstr Nowait
  12533.     ENDCASE
  12534. ENDIF
  12535. ENDPROC
  12536. PROCEDURE Option2.MouseUp
  12537. Parameters nButton, nShift, nXCoord, nYCoord
  12538. IF lTrackMouse
  12539.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12540.     DO CASE
  12541.     CASE Noutput = 1
  12542.         Activate Screen
  12543.         ? "Formset1.Form2.OptionGroup1.Option2.MouseUp"+paramstr
  12544.     CASE Noutput = 2
  12545.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.MouseUp"+paramstr + ;
  12546.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12547.     CASE Noutput = 3
  12548.         Wait Window "Formset1.Form2.OptionGroup1.Option2.MouseUp"+paramstr Nowait
  12549.     ENDCASE
  12550. ENDIF
  12551. ENDPROC
  12552. PROCEDURE Option2.RightClick
  12553. DO CASE
  12554. CASE Noutput = 1
  12555.     Activate Screen
  12556.     ? "Formset1.Form2.OptionGroup1.Option2.RightClick"
  12557. CASE Noutput = 2
  12558.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.RightClick" + ;
  12559.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12560. CASE Noutput = 3
  12561.     Wait Window "Formset1.Form2.OptionGroup1.Option2.RightClick" Nowait
  12562. ENDCASE
  12563. ENDPROC
  12564. PROCEDURE Option2.Destroy
  12565. DO CASE
  12566. CASE Noutput = 1
  12567.     Activate Screen
  12568.     ? "Formset1.Form2.OptionGroup1.Option2.Destroy"
  12569. CASE Noutput = 2
  12570.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Destroy" + ;
  12571.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12572. CASE Noutput = 3
  12573.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Destroy" Nowait
  12574. ENDCASE
  12575. ENDPROC
  12576. PROCEDURE Option2.Init
  12577. DO CASE
  12578. CASE Noutput = 1
  12579.     Activate Screen
  12580.     ? "Formset1.Form2.OptionGroup1.Option2.Init"
  12581. CASE Noutput = 2
  12582.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Init" + ;
  12583.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12584. CASE Noutput = 3
  12585.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Init" Nowait
  12586. ENDCASE
  12587. ENDPROC
  12588. PROCEDURE Option2.When
  12589. DO CASE
  12590. CASE Noutput = 1
  12591.     Activate Screen
  12592.     ? "Formset1.Form2.OptionGroup1.Option2.When"
  12593. CASE Noutput = 2
  12594.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.When" + ;
  12595.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12596. CASE Noutput = 3
  12597.     Wait Window "Formset1.Form2.OptionGroup1.Option2.When" Nowait
  12598. ENDCASE
  12599. ENDPROC
  12600. PROCEDURE Option2.Valid
  12601. DO CASE
  12602. CASE Noutput = 1
  12603.     Activate Screen
  12604.     ? "Formset1.Form2.OptionGroup1.Option2.Valid"
  12605. CASE Noutput = 2
  12606.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Valid" + ;
  12607.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12608. CASE Noutput = 3
  12609.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Valid" Nowait
  12610. ENDCASE
  12611. ENDPROC
  12612. PROCEDURE Option3.Click
  12613. DO CASE
  12614. CASE Noutput = 1
  12615.     Activate Screen
  12616.     ? "Formset1.Form2.OptionGroup1.Option3.Click"
  12617. CASE Noutput = 2
  12618.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Click" + ;
  12619.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12620. CASE Noutput = 3
  12621.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Click" Nowait
  12622. ENDCASE
  12623. ENDPROC
  12624. PROCEDURE Option3.DblClick
  12625. DO CASE
  12626. CASE Noutput = 1
  12627.     Activate Screen
  12628.     ? "Formset1.Form2.OptionGroup1.Option3.DblClick"
  12629. CASE Noutput = 2
  12630.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.DblClick" + ;
  12631.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12632. CASE Noutput = 3
  12633.     Wait Window "Formset1.Form2.OptionGroup1.Option3.DblClick" Nowait
  12634. ENDCASE
  12635. ENDPROC
  12636. PROCEDURE Option3.DragDrop
  12637. Parameters cSource, nXCoord, nYCoord
  12638. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12639. DO CASE
  12640. CASE Noutput = 1
  12641.     Activate Screen
  12642.     ? "Formset1.Form2.OptionGroup1.Option3.DragDrop"+paramstr
  12643. CASE Noutput = 2
  12644.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.DragDrop"+paramstr + ;
  12645.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12646. CASE Noutput = 3
  12647.     Wait Window "Formset1.Form2.OptionGroup1.Option3.DragDrop"+paramstr Nowait
  12648. ENDCASE
  12649. ENDPROC
  12650. PROCEDURE Option3.DragOver
  12651. Parameters cSource, nXCoord, nYCoord, nState
  12652. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  12653. DO CASE
  12654. CASE Noutput = 1
  12655.     Activate Screen
  12656.     ? "Formset1.Form2.OptionGroup1.Option3.DragOver"+paramstr
  12657. CASE Noutput = 2
  12658.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.DragOver"+paramstr + ;
  12659.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12660. CASE Noutput = 3
  12661.     Wait Window "Formset1.Form2.OptionGroup1.Option3.DragOver"+paramstr Nowait
  12662. ENDCASE
  12663. ENDPROC
  12664. PROCEDURE Option3.GotFocus
  12665. DO CASE
  12666. CASE Noutput = 1
  12667.     Activate Screen
  12668.     ? "Formset1.Form2.OptionGroup1.Option3.GotFocus"
  12669. CASE Noutput = 2
  12670.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.GotFocus" + ;
  12671.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12672. CASE Noutput = 3
  12673.     Wait Window "Formset1.Form2.OptionGroup1.Option3.GotFocus" Nowait
  12674. ENDCASE
  12675. ENDPROC
  12676. PROCEDURE Option3.KeyPress
  12677. Parameters nKeyCode, nShiftAltCtrl
  12678. IF lTrackMouse
  12679.     paramstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  12680.     DO CASE
  12681.     CASE Noutput = 1
  12682.         Activate Screen
  12683.         ? "Formset1.Form2.OptionGroup1.Option3.KeyPress"+paramstr
  12684.     CASE Noutput = 2
  12685.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.KeyPress"+paramstr + ;
  12686.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12687.     CASE Noutput = 3
  12688.         Wait Window "Formset1.Form2.OptionGroup1.Option3.KeyPress"+paramstr Nowait
  12689.     ENDCASE
  12690. ENDIF
  12691. ENDPROC
  12692. PROCEDURE Option3.LostFocus
  12693. DO CASE
  12694. CASE Noutput = 1
  12695.     Activate Screen
  12696.     ? "Formset1.Form2.OptionGroup1.Option3.LostFocus"
  12697. CASE Noutput = 2
  12698.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.LostFocus" + ;
  12699.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12700. CASE Noutput = 3
  12701.     Wait Window "Formset1.Form2.OptionGroup1.Option3.LostFocus" Nowait
  12702. ENDCASE
  12703. ENDPROC
  12704. PROCEDURE Option3.MouseDown
  12705. Parameters nButton, nShift, nXCoord, nYCoord
  12706. IF lTrackMouse
  12707.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12708.     DO CASE
  12709.     CASE Noutput = 1
  12710.         Activate Screen
  12711.         ? "Formset1.Form2.OptionGroup1.Option3.MouseDown"+paramstr
  12712.     CASE Noutput = 2
  12713.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.MouseDown"+paramstr + ;
  12714.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12715.     CASE Noutput = 3
  12716.         Wait Window "Formset1.Form2.OptionGroup1.Option3.MouseDown"+paramstr Nowait
  12717.     ENDCASE
  12718. ENDIF
  12719. ENDPROC
  12720. PROCEDURE Option3.MouseMove
  12721. Parameters nButton, nShift, nXCoord, nYCoord
  12722. IF lTrackMouse
  12723.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12724.     DO CASE
  12725.     CASE Noutput = 1
  12726.         Activate Screen
  12727.         ? "Formset1.Form2.OptionGroup1.Option3.MouseMove"+paramstr
  12728.     CASE Noutput = 2
  12729.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.MouseMove"+paramstr + ;
  12730.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12731.     CASE Noutput = 3
  12732.         Wait Window "Formset1.Form2.OptionGroup1.Option3.MouseMove"+paramstr Nowait
  12733.     ENDCASE
  12734. ENDIF
  12735. ENDPROC
  12736. PROCEDURE Option3.MouseUp
  12737. Parameters nButton, nShift, nXCoord, nYCoord
  12738. IF lTrackMouse
  12739.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  12740.     DO CASE
  12741.     CASE Noutput = 1
  12742.         Activate Screen
  12743.         ? "Formset1.Form2.OptionGroup1.Option3.MouseUp"+paramstr
  12744.     CASE Noutput = 2
  12745.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.MouseUp"+paramstr + ;
  12746.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  12747.     CASE Noutput = 3
  12748.         Wait Window "Formset1.Form2.OptionGroup1.Option3.MouseUp"+paramstr Nowait
  12749.     ENDCASE
  12750. ENDIF
  12751. ENDPROC
  12752. PROCEDURE Option3.RightClick
  12753. DO CASE
  12754. CASE Noutput = 1
  12755.     Activate Screen
  12756.     ? "Formset1.Form2.OptionGroup1.Option3.RightClick"
  12757. CASE Noutput = 2
  12758.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.RightClick" + ;
  12759.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12760. CASE Noutput = 3
  12761.     Wait Window "Formset1.Form2.OptionGroup1.Option3.RightClick" Nowait
  12762. ENDCASE
  12763. ENDPROC
  12764. PROCEDURE Option3.Destroy
  12765. DO CASE
  12766. CASE Noutput = 1
  12767.     Activate Screen
  12768.     ? "Formset1.Form2.OptionGroup1.Option3.Destroy"
  12769. CASE Noutput = 2
  12770.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Destroy" + ;
  12771.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12772. CASE Noutput = 3
  12773.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Destroy" Nowait
  12774. ENDCASE
  12775. ENDPROC
  12776. PROCEDURE Option3.Init
  12777. DO CASE
  12778. CASE Noutput = 1
  12779.     Activate Screen
  12780.     ? "Formset1.Form2.OptionGroup1.Option3.Init"
  12781. CASE Noutput = 2
  12782.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Init" + ;
  12783.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12784. CASE Noutput = 3
  12785.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Init" Nowait
  12786. ENDCASE
  12787. ENDPROC
  12788. PROCEDURE Option3.When
  12789. DO CASE
  12790. CASE Noutput = 1
  12791.     Activate Screen
  12792.     ? "Formset1.Form2.OptionGroup1.Option3.When"
  12793. CASE Noutput = 2
  12794.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.When" + ;
  12795.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12796. CASE Noutput = 3
  12797.     Wait Window "Formset1.Form2.OptionGroup1.Option3.When" Nowait
  12798. ENDCASE
  12799. ENDPROC
  12800. PROCEDURE Option3.Valid
  12801. DO CASE
  12802. CASE Noutput = 1
  12803.     Activate Screen
  12804.     ? "Formset1.Form2.OptionGroup1.Option3.Valid"
  12805. CASE Noutput = 2
  12806.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Valid" + ;
  12807.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  12808. CASE Noutput = 3
  12809.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Valid" Nowait
  12810. ENDCASE
  12811. ENDPROC
  12812. Formset1.Form2.OptionGroup1.Click
  12813. Formset1.Form2.OptionGroup1.ClickC
  12814. Formset1.Form2.OptionGroup1.Click
  12815. NOUTPUT
  12816. THISFORMSET
  12817. EVENTWIN
  12818. EDIT1
  12819. VALUE
  12820. Formset1.Form2.OptionGroup1.DblClick
  12821. Formset1.Form2.OptionGroup1.DblClickC
  12822. Formset1.Form2.OptionGroup1.DblClick
  12823. NOUTPUT
  12824. THISFORMSET
  12825. EVENTWIN
  12826. EDIT1
  12827. VALUEB
  12828. Formset1.Form2.OptionGroup1.DragDrop
  12829. Formset1.Form2.OptionGroup1.DragDrop
  12830. Formset1.Form2.OptionGroup1.DragDrop
  12831. CSOURCE
  12832. NXCOORD
  12833. NYCOORD    
  12834. CPARAMSTR
  12835. NOUTPUT
  12836. THISFORMSET
  12837. EVENTWIN
  12838. EDIT1
  12839. VALUES
  12840. Formset1.Form2.OptionGroup1.DragOver
  12841. Formset1.Form2.OptionGroup1.DragOver
  12842. Formset1.Form2.OptionGroup1.DragOver
  12843. CSOURCE
  12844. NXCOORD
  12845. NYCOORD
  12846. NSTATE    
  12847. CPARAMSTR
  12848. NOUTPUT
  12849. THISFORMSET
  12850. EVENTWIN
  12851. EDIT1
  12852. VALUE
  12853. Formset1.Form2.OptionGroup1.InteractiveChange
  12854. Formset1.Form2.OptionGroup1.InteractiveChangeC
  12855. Formset1.Form2.OptionGroup1.InteractiveChange
  12856. NOUTPUT
  12857. THISFORMSET
  12858. EVENTWIN
  12859. EDIT1
  12860. VALUEh
  12861. Formset1.Form2.OptionGroup1.MouseDown
  12862. Formset1.Form2.OptionGroup1.MouseDown
  12863. Formset1.Form2.OptionGroup1.MouseDown
  12864. NBUTTON
  12865. NSHIFT
  12866. NXCOORD
  12867. NYCOORD
  12868. LTRACKMOUSE    
  12869. CPARAMSTR
  12870. NOUTPUT
  12871. THISFORMSET
  12872. EVENTWIN
  12873. EDIT1
  12874. VALUEh
  12875. Formset1.Form2.OptionGroup1.MouseMove
  12876. Formset1.Form2.OptionGroup1.MouseMove
  12877. Formset1.Form2.OptionGroup1.MouseMove
  12878. NBUTTON
  12879. NSHIFT
  12880. NXCOORD
  12881. NYCOORD
  12882. LTRACKMOUSE    
  12883. CPARAMSTR
  12884. NOUTPUT
  12885. THISFORMSET
  12886. EVENTWIN
  12887. EDIT1
  12888. VALUEb
  12889. Formset1.Form2.OptionGroup1.MouseUp
  12890. Formset1.Form2.OptionGroup1.MouseUp
  12891. Formset1.Form2.OptionGroup1.MouseUp
  12892. NBUTTON
  12893. NSHIFT
  12894. NXCOORD
  12895. NYCOORD
  12896. LTRACKMOUSE    
  12897. CPARAMSTR
  12898. NOUTPUT
  12899. THISFORMSET
  12900. EVENTWIN
  12901. EDIT1
  12902. VALUE
  12903. Formset1.Form2.OptionGroup1.RightClick
  12904. Formset1.Form2.OptionGroup1.RightClickC
  12905. Formset1.Form2.OptionGroup1.RightClick
  12906. NOUTPUT
  12907. THISFORMSET
  12908. EVENTWIN
  12909. EDIT1
  12910. VALUE
  12911. Formset1.Form2.OptionGroup1.Init
  12912. Formset1.Form2.OptionGroup1.InitC
  12913. Formset1.Form2.OptionGroup1.Init
  12914. NOUTPUT
  12915. THISFORMSET
  12916. EVENTWIN
  12917. EDIT1
  12918. VALUE
  12919. Formset1.Form2.OptionGroup1.When
  12920. Formset1.Form2.OptionGroup1.WhenC
  12921. Formset1.Form2.OptionGroup1.When
  12922. NOUTPUT
  12923. THISFORMSET
  12924. EVENTWIN
  12925. EDIT1
  12926. VALUE
  12927. Formset1.Form2.OptionGroup1.Valid
  12928. Formset1.Form2.OptionGroup1.ValidC
  12929. Formset1.Form2.OptionGroup1.Valid
  12930. NOUTPUT
  12931. THISFORMSET
  12932. EVENTWIN
  12933. EDIT1
  12934. VALUE
  12935. Formset1.Form2.OptionGroup1.Option1.Click
  12936. Formset1.Form2.OptionGroup1.Option1.ClickC
  12937. Formset1.Form2.OptionGroup1.Option1.Click
  12938. NOUTPUT
  12939. THISFORMSET
  12940. EVENTWIN
  12941. EDIT1
  12942. VALUE
  12943. Formset1.Form2.OptionGroup1.Option1.DblClick
  12944. Formset1.Form2.OptionGroup1.Option1.DblClickC
  12945. Formset1.Form2.OptionGroup1.Option1.DblClick
  12946. NOUTPUT
  12947. THISFORMSET
  12948. EVENTWIN
  12949. EDIT1
  12950. VALUEZ
  12951. Formset1.Form2.OptionGroup1.Option1.DragDrop
  12952. Formset1.Form2.OptionGroup1.Option1.DragDrop
  12953. Formset1.Form2.OptionGroup1.Option1.DragDrop
  12954. CSOURCE
  12955. NXCOORD
  12956. NYCOORD    
  12957. CPARAMSTR
  12958. NOUTPUT
  12959. THISFORMSET
  12960. EVENTWIN
  12961. EDIT1
  12962. VALUEk
  12963. Formset1.Form2.OptionGroup1.Option1.DragOver
  12964. Formset1.Form2.OptionGroup1.Option1.DragOver
  12965. Formset1.Form2.OptionGroup1.Option1.DragOver
  12966. CSOURCE
  12967. NXCOORD
  12968. NYCOORD
  12969. NSTATE    
  12970. CPARAMSTR
  12971. NOUTPUT
  12972. THISFORMSET
  12973. EVENTWIN
  12974. EDIT1
  12975. VALUE
  12976. Formset1.Form2.OptionGroup1.Option1.GotFocus
  12977. Formset1.Form2.OptionGroup1.Option1.GotFocusC
  12978. Formset1.Form2.OptionGroup1.Option1.GotFocus
  12979. NOUTPUT
  12980. THISFORMSET
  12981. EVENTWIN
  12982. EDIT1
  12983. VALUE[
  12984. Formset1.Form2.OptionGroup1.Option1.KeyPress
  12985. Formset1.Form2.OptionGroup1.Option1.KeyPress
  12986. Formset1.Form2.OptionGroup1.Option1.KeyPress
  12987. NKEYCODE
  12988. NSHIFTALTCTRL
  12989. LTRACKMOUSE    
  12990. CPARAMSTR
  12991. NOUTPUT
  12992. THISFORMSET
  12993. EVENTWIN
  12994. EDIT1
  12995. VALUE
  12996. Formset1.Form2.OptionGroup1.Option1.LostFocus
  12997. Formset1.Form2.OptionGroup1.Option1.LostFocusC
  12998. Formset1.Form2.OptionGroup1.Option1.LostFocus
  12999. NOUTPUT
  13000. THISFORMSET
  13001. EVENTWIN
  13002. EDIT1
  13003. VALUE
  13004. Formset1.Form2.OptionGroup1.Option1.MouseDown
  13005. Formset1.Form2.OptionGroup1.Option1.MouseDown
  13006. Formset1.Form2.OptionGroup1.Option1.MouseDown
  13007. NBUTTON
  13008. NSHIFT
  13009. NXCOORD
  13010. NYCOORD
  13011. LTRACKMOUSE    
  13012. CPARAMSTR
  13013. NOUTPUT
  13014. THISFORMSET
  13015. EVENTWIN
  13016. EDIT1
  13017. VALUE
  13018. Formset1.Form2.OptionGroup1.Option1.MouseMove
  13019. Formset1.Form2.OptionGroup1.Option1.MouseMove
  13020. Formset1.Form2.OptionGroup1.Option1.MouseMove
  13021. NBUTTON
  13022. NSHIFT
  13023. NXCOORD
  13024. NYCOORD
  13025. LTRACKMOUSE    
  13026. CPARAMSTR
  13027. NOUTPUT
  13028. THISFORMSET
  13029. EVENTWIN
  13030. EDIT1
  13031. VALUEz
  13032. Formset1.Form2.OptionGroup1.Option1.MouseUp
  13033. Formset1.Form2.OptionGroup1.Option1.MouseUp
  13034. Formset1.Form2.OptionGroup1.Option1.MouseUp
  13035. NBUTTON
  13036. NSHIFT
  13037. NXCOORD
  13038. NYCOORD
  13039. LTRACKMOUSE    
  13040. CPARAMSTR
  13041. NOUTPUT
  13042. THISFORMSET
  13043. EVENTWIN
  13044. EDIT1
  13045. VALUE
  13046. Formset1.Form2.OptionGroup1.Option1.RightClick
  13047. Formset1.Form2.OptionGroup1.Option1.RightClickC
  13048. Formset1.Form2.OptionGroup1.Option1.RightClick
  13049. NOUTPUT
  13050. THISFORMSET
  13051. EVENTWIN
  13052. EDIT1
  13053. VALUE
  13054. Formset1.Form2.OptionGroup1.Option1.Destroy
  13055. Formset1.Form2.OptionGroup1.Option1.DestroyC
  13056. Formset1.Form2.OptionGroup1.Option1.Destroy
  13057. NOUTPUT
  13058. THISFORMSET
  13059. EVENTWIN
  13060. EDIT1
  13061. VALUE
  13062. Formset1.Form2.OptionGroup1.Option1.Init
  13063. Formset1.Form2.OptionGroup1.Option1.InitC
  13064. Formset1.Form2.OptionGroup1.Option1.Init
  13065. NOUTPUT
  13066. THISFORMSET
  13067. EVENTWIN
  13068. EDIT1
  13069. VALUE
  13070. Formset1.Form2.OptionGroup1.Option1.When
  13071. Formset1.Form2.OptionGroup1.Option1.WhenC
  13072. Formset1.Form2.OptionGroup1.Option1.When
  13073. NOUTPUT
  13074. THISFORMSET
  13075. EVENTWIN
  13076. EDIT1
  13077. VALUE
  13078. Formset1.Form2.OptionGroup1.Option1.Valid
  13079. Formset1.Form2.OptionGroup1.Option1.ValidC
  13080. Formset1.Form2.OptionGroup1.Option1.Valid
  13081. NOUTPUT
  13082. THISFORMSET
  13083. EVENTWIN
  13084. EDIT1
  13085. VALUE
  13086. Formset1.Form2.OptionGroup1.Option2.Click
  13087. Formset1.Form2.OptionGroup1.Option2.ClickC
  13088. Formset1.Form2.OptionGroup1.Option2.Click
  13089. NOUTPUT
  13090. THISFORMSET
  13091. EVENTWIN
  13092. EDIT1
  13093. VALUE
  13094. Formset1.Form2.OptionGroup1.Option2.DblClick
  13095. Formset1.Form2.OptionGroup1.Option2.DblClickC
  13096. Formset1.Form2.OptionGroup1.Option2.DblClick
  13097. NOUTPUT
  13098. THISFORMSET
  13099. EVENTWIN
  13100. EDIT1
  13101. VALUEZ
  13102. Formset1.Form2.OptionGroup1.Option2.DragDrop
  13103. Formset1.Form2.OptionGroup1.Option2.DragDrop
  13104. Formset1.Form2.OptionGroup1.Option2.DragDrop
  13105. CSOURCE
  13106. NXCOORD
  13107. NYCOORD
  13108. PARAMSTR
  13109. NOUTPUT
  13110. THISFORMSET
  13111. EVENTWIN
  13112. EDIT1
  13113. VALUEk
  13114. Formset1.Form2.OptionGroup1.Option2.DragOver
  13115. Formset1.Form2.OptionGroup1.Option2.DragOver
  13116. Formset1.Form2.OptionGroup1.Option2.DragOver
  13117. CSOURCE
  13118. NXCOORD
  13119. NYCOORD
  13120. NSTATE
  13121. PARAMSTR
  13122. NOUTPUT
  13123. THISFORMSET
  13124. EVENTWIN
  13125. EDIT1
  13126. VALUE
  13127. Formset1.Form2.OptionGroup1.Option2.GotFocus
  13128. Formset1.Form2.OptionGroup1.Option2.GotFocusC
  13129. Formset1.Form2.OptionGroup1.Option2.GotFocus
  13130. NOUTPUT
  13131. THISFORMSET
  13132. EVENTWIN
  13133. EDIT1
  13134. VALUE[
  13135. Formset1.Form2.OptionGroup1.Option2.KeyPress
  13136. Formset1.Form2.OptionGroup1.Option2.KeyPress
  13137. Formset1.Form2.OptionGroup1.Option2.KeyPress
  13138. NKEYCODE
  13139. NSHIFTALTCTRL
  13140. LTRACKMOUSE
  13141. PARAMSTR
  13142. NOUTPUT
  13143. THISFORMSET
  13144. EVENTWIN
  13145. EDIT1
  13146. VALUE
  13147. Formset1.Form2.OptionGroup1.Option2.LostFocus
  13148. Formset1.Form2.OptionGroup1.Option2.LostFocusC
  13149. Formset1.Form2.OptionGroup1.Option2.LostFocus
  13150. NOUTPUT
  13151. THISFORMSET
  13152. EVENTWIN
  13153. EDIT1
  13154. VALUE
  13155. Formset1.Form2.OptionGroup1.Option2.MouseDown
  13156. Formset1.Form2.OptionGroup1.Option2.MouseDown
  13157. Formset1.Form2.OptionGroup1.Option2.MouseDown
  13158. NBUTTON
  13159. NSHIFT
  13160. NXCOORD
  13161. NYCOORD
  13162. LTRACKMOUSE
  13163. PARAMSTR
  13164. NOUTPUT
  13165. THISFORMSET
  13166. EVENTWIN
  13167. EDIT1
  13168. VALUE
  13169. Formset1.Form2.OptionGroup1.Option2.MouseMove
  13170. Formset1.Form2.OptionGroup1.Option2.MouseMove
  13171. Formset1.Form2.OptionGroup1.Option2.MouseMove
  13172. NBUTTON
  13173. NSHIFT
  13174. NXCOORD
  13175. NYCOORD
  13176. LTRACKMOUSE
  13177. PARAMSTR
  13178. NOUTPUT
  13179. THISFORMSET
  13180. EVENTWIN
  13181. EDIT1
  13182. VALUEz
  13183. Formset1.Form2.OptionGroup1.Option2.MouseUp
  13184. Formset1.Form2.OptionGroup1.Option2.MouseUp
  13185. Formset1.Form2.OptionGroup1.Option2.MouseUp
  13186. NBUTTON
  13187. NSHIFT
  13188. NXCOORD
  13189. NYCOORD
  13190. LTRACKMOUSE
  13191. PARAMSTR
  13192. NOUTPUT
  13193. THISFORMSET
  13194. EVENTWIN
  13195. EDIT1
  13196. VALUE
  13197. Formset1.Form2.OptionGroup1.Option2.RightClick
  13198. Formset1.Form2.OptionGroup1.Option2.RightClickC
  13199. Formset1.Form2.OptionGroup1.Option2.RightClick
  13200. NOUTPUT
  13201. THISFORMSET
  13202. EVENTWIN
  13203. EDIT1
  13204. VALUE
  13205. Formset1.Form2.OptionGroup1.Option2.Destroy
  13206. Formset1.Form2.OptionGroup1.Option2.DestroyC
  13207. Formset1.Form2.OptionGroup1.Option2.Destroy
  13208. NOUTPUT
  13209. THISFORMSET
  13210. EVENTWIN
  13211. EDIT1
  13212. VALUE
  13213. Formset1.Form2.OptionGroup1.Option2.Init
  13214. Formset1.Form2.OptionGroup1.Option2.InitC
  13215. Formset1.Form2.OptionGroup1.Option2.Init
  13216. NOUTPUT
  13217. THISFORMSET
  13218. EVENTWIN
  13219. EDIT1
  13220. VALUE
  13221. Formset1.Form2.OptionGroup1.Option2.When
  13222. Formset1.Form2.OptionGroup1.Option2.WhenC
  13223. Formset1.Form2.OptionGroup1.Option2.When
  13224. NOUTPUT
  13225. THISFORMSET
  13226. EVENTWIN
  13227. EDIT1
  13228. VALUE
  13229. Formset1.Form2.OptionGroup1.Option2.Valid
  13230. Formset1.Form2.OptionGroup1.Option2.ValidC
  13231. Formset1.Form2.OptionGroup1.Option2.Valid
  13232. NOUTPUT
  13233. THISFORMSET
  13234. EVENTWIN
  13235. EDIT1
  13236. VALUE
  13237. Formset1.Form2.OptionGroup1.Option3.Click
  13238. Formset1.Form2.OptionGroup1.Option3.ClickC
  13239. Formset1.Form2.OptionGroup1.Option3.Click
  13240. NOUTPUT
  13241. THISFORMSET
  13242. EVENTWIN
  13243. EDIT1
  13244. VALUE
  13245. Formset1.Form2.OptionGroup1.Option3.DblClick
  13246. Formset1.Form2.OptionGroup1.Option3.DblClickC
  13247. Formset1.Form2.OptionGroup1.Option3.DblClick
  13248. NOUTPUT
  13249. THISFORMSET
  13250. EVENTWIN
  13251. EDIT1
  13252. VALUEZ
  13253. Formset1.Form2.OptionGroup1.Option3.DragDrop
  13254. Formset1.Form2.OptionGroup1.Option3.DragDrop
  13255. Formset1.Form2.OptionGroup1.Option3.DragDrop
  13256. CSOURCE
  13257. NXCOORD
  13258. NYCOORD
  13259. PARAMSTR
  13260. NOUTPUT
  13261. THISFORMSET
  13262. EVENTWIN
  13263. EDIT1
  13264. VALUEk
  13265. Formset1.Form2.OptionGroup1.Option3.DragOver
  13266. Formset1.Form2.OptionGroup1.Option3.DragOver
  13267. Formset1.Form2.OptionGroup1.Option3.DragOver
  13268. CSOURCE
  13269. NXCOORD
  13270. NYCOORD
  13271. NSTATE
  13272. PARAMSTR
  13273. NOUTPUT
  13274. THISFORMSET
  13275. EVENTWIN
  13276. EDIT1
  13277. VALUE
  13278. Formset1.Form2.OptionGroup1.Option3.GotFocus
  13279. Formset1.Form2.OptionGroup1.Option3.GotFocusC
  13280. Formset1.Form2.OptionGroup1.Option3.GotFocus
  13281. NOUTPUT
  13282. THISFORMSET
  13283. EVENTWIN
  13284. EDIT1
  13285. VALUE[
  13286. Formset1.Form2.OptionGroup1.Option3.KeyPress
  13287. Formset1.Form2.OptionGroup1.Option3.KeyPress
  13288. Formset1.Form2.OptionGroup1.Option3.KeyPress
  13289. NKEYCODE
  13290. NSHIFTALTCTRL
  13291. LTRACKMOUSE
  13292. PARAMSTR
  13293. NOUTPUT
  13294. THISFORMSET
  13295. EVENTWIN
  13296. EDIT1
  13297. VALUE
  13298. Formset1.Form2.OptionGroup1.Option3.LostFocus
  13299. Formset1.Form2.OptionGroup1.Option3.LostFocusC
  13300. Formset1.Form2.OptionGroup1.Option3.LostFocus
  13301. NOUTPUT
  13302. THISFORMSET
  13303. EVENTWIN
  13304. EDIT1
  13305. VALUE
  13306. Formset1.Form2.OptionGroup1.Option3.MouseDown
  13307. Formset1.Form2.OptionGroup1.Option3.MouseDown
  13308. Formset1.Form2.OptionGroup1.Option3.MouseDown
  13309. NBUTTON
  13310. NSHIFT
  13311. NXCOORD
  13312. NYCOORD
  13313. LTRACKMOUSE
  13314. PARAMSTR
  13315. NOUTPUT
  13316. THISFORMSET
  13317. EVENTWIN
  13318. EDIT1
  13319. VALUE
  13320. Formset1.Form2.OptionGroup1.Option3.MouseMove
  13321. Formset1.Form2.OptionGroup1.Option3.MouseMove
  13322. Formset1.Form2.OptionGroup1.Option3.MouseMove
  13323. NBUTTON
  13324. NSHIFT
  13325. NXCOORD
  13326. NYCOORD
  13327. LTRACKMOUSE
  13328. PARAMSTR
  13329. NOUTPUT
  13330. THISFORMSET
  13331. EVENTWIN
  13332. EDIT1
  13333. VALUEz
  13334. Formset1.Form2.OptionGroup1.Option3.MouseUp
  13335. Formset1.Form2.OptionGroup1.Option3.MouseUp
  13336. Formset1.Form2.OptionGroup1.Option3.MouseUp
  13337. NBUTTON
  13338. NSHIFT
  13339. NXCOORD
  13340. NYCOORD
  13341. LTRACKMOUSE
  13342. PARAMSTR
  13343. NOUTPUT
  13344. THISFORMSET
  13345. EVENTWIN
  13346. EDIT1
  13347. VALUE
  13348. Formset1.Form2.OptionGroup1.Option3.RightClick
  13349. Formset1.Form2.OptionGroup1.Option3.RightClickC
  13350. Formset1.Form2.OptionGroup1.Option3.RightClick
  13351. NOUTPUT
  13352. THISFORMSET
  13353. EVENTWIN
  13354. EDIT1
  13355. VALUE
  13356. Formset1.Form2.OptionGroup1.Option3.Destroy
  13357. Formset1.Form2.OptionGroup1.Option3.DestroyC
  13358. Formset1.Form2.OptionGroup1.Option3.Destroy
  13359. NOUTPUT
  13360. THISFORMSET
  13361. EVENTWIN
  13362. EDIT1
  13363. VALUE
  13364. Formset1.Form2.OptionGroup1.Option3.Init
  13365. Formset1.Form2.OptionGroup1.Option3.InitC
  13366. Formset1.Form2.OptionGroup1.Option3.Init
  13367. NOUTPUT
  13368. THISFORMSET
  13369. EVENTWIN
  13370. EDIT1
  13371. VALUE
  13372. Formset1.Form2.OptionGroup1.Option3.When
  13373. Formset1.Form2.OptionGroup1.Option3.WhenC
  13374. Formset1.Form2.OptionGroup1.Option3.When
  13375. NOUTPUT
  13376. THISFORMSET
  13377. EVENTWIN
  13378. EDIT1
  13379. VALUE
  13380. Formset1.Form2.OptionGroup1.Option3.Valid
  13381. Formset1.Form2.OptionGroup1.Option3.ValidC
  13382. Formset1.Form2.OptionGroup1.Option3.Valid
  13383. NOUTPUT
  13384. THISFORMSET
  13385. EVENTWIN
  13386. EDIT1
  13387. VALUE
  13388. Click,
  13389. DblClickM
  13390. DragDropw
  13391. DragOver
  13392. InteractiveChange
  13393. MouseDown
  13394. MouseMove
  13395. MouseUp
  13396. RightClick
  13397. Valid
  13398. Option1.Click
  13399. Option1.DblClickT
  13400. Option1.DragDrop
  13401. Option1.DragOverN
  13402. Option1.GotFocus
  13403. Option1.KeyPressa
  13404. Option1.LostFocus
  13405. Option1.MouseDownd
  13406. Option1.MouseMoveQ
  13407. Option1.MouseUp>
  13408. Option1.RightClick%!
  13409. Option1.Destroym"
  13410. Option1.Init
  13411. Option1.When
  13412. Option1.Valid
  13413. Option2.ClickQ'
  13414. Option2.DblClick
  13415. Option2.DragDrop
  13416. Option2.DragOver
  13417. Option2.GotFocusS-
  13418. Option2.KeyPress
  13419. Option2.LostFocusR0
  13420. Option2.MouseDown
  13421. Option2.MouseMove
  13422. Option2.MouseUpo5
  13423. Option2.RightClickU7
  13424. Option2.Destroy
  13425. Option2.Init
  13426. Option2.When
  13427. Option2.ValidH<
  13428. Option3.Click
  13429. Option3.DblClick
  13430. Option3.DragDrop
  13431. Option3.DragOver
  13432. Option3.GotFocus
  13433. Option3.KeyPress
  13434. Option3.LostFocus
  13435. Option3.MouseDown
  13436. Option3.MouseMove
  13437. Option3.MouseUp
  13438. Option3.RightClick
  13439. Option3.Destroy
  13440. Option3.Init
  13441. Option3.WhenBQ
  13442. Option3.ValidxR
  13443. c:\vfp\samples\controls\events\
  13444. 09056567.tmp
  13445. c:\vfp\samples\controls\events\09056567.tmp
  13446. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  13447. VERSION =  0.028
  13448. dataenvironment
  13449. dataenvironment
  13450. Datanavigation
  13451. KLeft = 133
  13452. Top = 200
  13453. Width = 581
  13454. Height = 300
  13455. Name = "Datanavigation"
  13456. cursor
  13457. cursor
  13458. Cursor1
  13459. Datanavigation
  13460. Left = 20
  13461. Top = 10
  13462. Width = 98
  13463. Height = 108
  13464. Alias = "customer"
  13465. Database = ..\..\data\testdata.dbc
  13466. CursorSource = "customer"
  13467. Name = "Cursor1"
  13468. formset
  13469. formset
  13470. Formset1
  13471. &AutoRelease = .T.
  13472. Name = "Formset1"
  13473. 'PROCEDURE Activate
  13474. DO CASE
  13475. CASE Noutput = 1
  13476.     ? "Formset1.Activate"
  13477. CASE Noutput = 2
  13478.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Activate" + ;
  13479.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13480. CASE Noutput = 3
  13481.     Wait Window "Formset1.Activate" Nowait
  13482. ENDCASE
  13483. IF LDone
  13484.     Release ThisFormSet
  13485. ENDIF
  13486. ENDPROC
  13487. PROCEDURE Deactivate
  13488. DO CASE
  13489. CASE Noutput = 1
  13490.     Activate Screen
  13491.     ? "Formset1.Deactivate"
  13492. CASE Noutput = 2
  13493.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Deactivate" + ;
  13494.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13495. CASE Noutput = 3
  13496.     Wait Window "Formset1.Deactivate" Nowait
  13497. ENDCASE
  13498. ENDPROC
  13499. PROCEDURE Destroy
  13500. DO CASE
  13501. CASE Noutput = 1
  13502.     Activate Screen
  13503.     ? "Formset1.Destroy"
  13504. CASE Noutput = 2
  13505.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Destroy" + ;
  13506.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13507. CASE Noutput = 3
  13508.     Wait Window "Formset1.Destroy" Nowait
  13509. ENDCASE
  13510. ENDPROC
  13511. PROCEDURE Init
  13512. DO CASE
  13513. CASE Noutput = 1
  13514.     Activate Screen
  13515.     ? "Formset1.Init"
  13516. CASE Noutput = 2
  13517.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Init" + ;
  13518.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13519. CASE Noutput = 3
  13520.     Wait Window "Formset1.Init" Nowait
  13521. ENDCASE
  13522. ENDPROC
  13523. PROCEDURE Error
  13524. Parameters nError, cMethod, nLine
  13525. WAIT WINDOW "ERROR " + ALLTRIM(STR(nError))
  13526. ENDPROC
  13527. PROCEDURE Load
  13528. DO Toolbar
  13529. Public Noutput
  13530. Noutput = 1
  13531. DO CASE
  13532. CASE Noutput = 1
  13533.     Activate Screen
  13534.     ? "Formset1.Load"
  13535. CASE Noutput = 2
  13536.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Load" + ;
  13537.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13538. CASE Noutput = 3
  13539.     Wait Window "Formset1.Load" Nowait
  13540. ENDCASE
  13541. ENDPROC
  13542. PROCEDURE Unload
  13543. DO CASE
  13544. CASE Noutput = 1
  13545.     Activate Screen
  13546.     ? "Formset1.Unload"
  13547. CASE Noutput = 2
  13548.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Unload" + ;
  13549.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13550. CASE Noutput = 3
  13551.     Wait Window "Formset1.Unload" Nowait
  13552. ENDCASE
  13553. * If this form is run from main.scx in controls.app,
  13554. * the hidden form object, main, is made visible when
  13555. * this form is unloaded
  13556. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  13557.     main.show
  13558. ENDIF
  13559. ENDPROC
  13560. Formset1.Activate
  13561. Formset1.ActivateC
  13562. Formset1.Activate
  13563. NOUTPUT
  13564. THISFORMSET
  13565. EVENTWIN
  13566. EDIT1
  13567. VALUE
  13568. LDONE
  13569. Formset1.Deactivate
  13570. Formset1.DeactivateC
  13571. Formset1.Deactivate
  13572. NOUTPUT
  13573. THISFORMSET
  13574. EVENTWIN
  13575. EDIT1
  13576. VALUE
  13577. Formset1.Destroy
  13578. Formset1.DestroyC
  13579. Formset1.Destroy
  13580. NOUTPUT
  13581. THISFORMSET
  13582. EVENTWIN
  13583. EDIT1
  13584. VALUE
  13585. Formset1.Init
  13586. Formset1.InitC
  13587. Formset1.Init
  13588. NOUTPUT
  13589. THISFORMSET
  13590. EVENTWIN
  13591. EDIT1
  13592. VALUE*
  13593. ERROR CC
  13594. NERROR
  13595. CMETHOD
  13596. NLINE
  13597. Formset1.Load
  13598. Formset1.LoadC
  13599. Formset1.Load
  13600. TOOLBAR
  13601. NOUTPUT
  13602. THISFORMSET
  13603. EVENTWIN
  13604. EDIT1
  13605. VALUE
  13606. Formset1.Unload
  13607. Formset1.UnloadC
  13608. Formset1.Unload
  13609. mainb
  13610. NOUTPUT
  13611. THISFORMSET
  13612. EVENTWIN
  13613. EDIT1
  13614. VALUE
  13615. Activate,
  13616. Deactivate7
  13617. Destroy.
  13618. Error
  13619. LoadG
  13620. UnloadP
  13621. c:\vfp\samples\controls\events\
  13622. events.scx
  13623. c:\vfp\samples\controls\events\events.scx
  13624. form1
  13625. Formset1
  13626. ScaleMode = 3
  13627. Top = 24
  13628. Left = 234
  13629. Height = 186
  13630. Width = 119
  13631. BackColor = 192,192,192
  13632. BorderStyle = 3
  13633. Caption = "Form1"
  13634. Closable = .F.
  13635. ControlBox = .F.
  13636. HalfHeightCaption = .F.
  13637. MaxButton = .F.
  13638. MinButton = .F.
  13639. Movable = .T.
  13640. WindowState = 0
  13641. Name = "form1"
  13642. iPROCEDURE Activate
  13643. DO CASE
  13644. CASE Noutput = 1
  13645.     Activate Screen
  13646.     ? "Formset1.Form1.Activate"
  13647. CASE Noutput = 2
  13648.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Activate" + ;
  13649.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13650. CASE Noutput = 3
  13651.     Wait Window "Formset1.Form1.Activate" Nowait
  13652. ENDCASE
  13653. ENDPROC
  13654. PROCEDURE Click
  13655. DO CASE
  13656. CASE Noutput = 1
  13657.     Activate Screen
  13658.     ? "Formset1.Form1.Click"
  13659. CASE Noutput = 2
  13660.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Click" + ;
  13661.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13662. CASE Noutput = 3
  13663.     Wait Window "Formset1.Form1.Click" Nowait
  13664. ENDCASE
  13665. ENDPROC
  13666. PROCEDURE DblClick
  13667. DO CASE
  13668. CASE Noutput = 1
  13669.     Activate Screen
  13670.     ? "Formset1.Form1.DblClick"
  13671. CASE Noutput = 2
  13672.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.DblClick" + ;
  13673.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13674. CASE Noutput = 3
  13675.     Wait Window "Formset1.Form1.DblClick" Nowait
  13676. ENDCASE
  13677. ENDPROC
  13678. PROCEDURE Deactivate
  13679. DO CASE
  13680. CASE Noutput = 1
  13681.     Activate Screen
  13682.     ? "Formset1.Form1.Deactivate"
  13683. CASE Noutput = 2
  13684.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Deactivate" + ;
  13685.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13686. CASE Noutput = 3
  13687.     Wait Window "Formset1.Form1.Deactivate" Nowait
  13688. ENDCASE
  13689. ENDPROC
  13690. PROCEDURE Destroy
  13691. DO CASE
  13692. CASE Noutput = 1
  13693.     Activate Screen
  13694.     ? "Formset1.Form1.Destroy"
  13695. CASE Noutput = 2
  13696.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Destroy" + ;
  13697.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13698. CASE Noutput = 3
  13699.     Wait Window "Formset1.Form1.Destroy" Nowait
  13700. ENDCASE
  13701. ENDPROC
  13702. PROCEDURE DragDrop
  13703. Parameters cSource, nXCoord, nYCoord
  13704. CParamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  13705. DO CASE
  13706. CASE Noutput = 1
  13707.     Activate Screen
  13708.     ? "Formset1.Form1.DragDrop "+CParamstr
  13709. CASE Noutput = 2
  13710.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.DragDrop "+CParamstr + ;
  13711.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13712. CASE Noutput = 3
  13713.     Wait Window "Formset1.Form1.DragDrop "+CParamstr Nowait
  13714. ENDCASE
  13715. ENDPROC
  13716. PROCEDURE DragOver
  13717. Parameters cSource, nXCoord, nYCoord, nState
  13718. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  13719. DO CASE
  13720. CASE Noutput = 1
  13721.     Activate Screen
  13722.     ? "Formset1.Form1.DragOver "+CParamstr
  13723. CASE Noutput = 2
  13724.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.DragOver "+CParamstr + ;
  13725.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13726. CASE Noutput = 3
  13727.     Wait Window "Formset1.Form1.DragOver "+CParamstr Nowait
  13728. ENDCASE
  13729. ENDPROC
  13730. PROCEDURE GotFocus
  13731. DO CASE
  13732. CASE Noutput = 1
  13733.     Activate Screen
  13734.     ? "Formset1.Form1.GotFocus"
  13735. CASE Noutput = 2
  13736.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.GotFocus" + ;
  13737.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13738. CASE Noutput = 3
  13739.     Wait Window "Formset1.Form1.GotFocus" Nowait
  13740. ENDCASE
  13741. ENDPROC
  13742. PROCEDURE KeyPress
  13743. Parameters nKeyCode, nShiftAltCtrl
  13744. Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  13745. DO CASE
  13746. CASE Noutput = 1
  13747.     Activate Screen
  13748.     ? "Formset1.Form1.KeyPress "+Cparamstr
  13749. CASE Noutput = 2
  13750.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.KeyPress "+Cparamstr + ;
  13751.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13752. CASE Noutput = 3
  13753.     Wait Window "Formset1.Form1.KeyPress "+Cparamstr Nowait
  13754. ENDCASE
  13755. ENDPROC
  13756. PROCEDURE Load
  13757. Public Noutput,oFormSet
  13758. oFormSet = ThisFormSet
  13759. *IF USED('customer')
  13760. *    SELECT customer
  13761. *ELSE
  13762. *    SELECT 0
  13763. *    USE customer alias customer
  13764. *ENDIF
  13765. DO CASE
  13766. CASE Noutput = 1
  13767.     Activate Screen
  13768.     ? "Formset1.Form1.Load"
  13769. CASE Noutput = 2
  13770.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Load" + ;
  13771.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13772. CASE Noutput = 3
  13773.     Wait Window "Formset1.Form1.Load" Nowait
  13774. ENDCASE
  13775. ENDPROC
  13776. PROCEDURE LostFocus
  13777. DO CASE
  13778. CASE Noutput = 1
  13779.     Activate Screen
  13780.     ? "Formset1.Form1.LostFocus"
  13781. CASE Noutput = 2
  13782.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.LostFocus" + ;
  13783.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13784. CASE Noutput = 3
  13785.     Wait Window "Formset1.Form1.LostFocus" Nowait
  13786. ENDCASE
  13787. ENDPROC
  13788. PROCEDURE MouseDown
  13789. Parameters nButton, nShift, nXCoord, nYCoord
  13790. IF lTrackMouse
  13791.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  13792.     DO CASE
  13793.     CASE Noutput = 1
  13794.         Activate Screen
  13795.         ? "Formset1.Form1.MouseDown "+Cparamstr
  13796.     CASE Noutput = 2
  13797.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.MouseDown "+Cparamstr + ;
  13798.         chr(13) + ThisFormSet.EventWin.Edit1.Value
  13799.     CASE Noutput = 3
  13800.         Wait Window "Formset1.Form1.MouseDown "+Cparamstr Nowait
  13801.     ENDCASE
  13802. ENDIF
  13803. ENDPROC
  13804. PROCEDURE MouseMove
  13805. Parameters nButton, nShift, nXCoord, nYCoord
  13806. IF lTrackMouse
  13807.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  13808.     DO CASE
  13809.     CASE Noutput = 1
  13810.         Activate Screen
  13811.         ? "Formset1.Form1.MouseMove "+Cparamstr
  13812.     CASE Noutput = 2
  13813.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.MouseMove "+Cparamstr + ;
  13814.         chr(13) + ThisFormSet.EventWin.Edit1.Value
  13815.     CASE Noutput = 3
  13816.         Wait Window "Formset1.Form1.MouseMove "+Cparamstr Nowait
  13817.     ENDCASE
  13818. ENDIF
  13819. ENDPROC
  13820. PROCEDURE MouseUp
  13821. Parameters nButton, nShift, nXCoord, nYCoord
  13822. IF lTrackMouse
  13823.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  13824.     DO CASE
  13825.     CASE Noutput = 1
  13826.         Activate Screen
  13827.         ? "Formset1.Form1.MouseUp "+Cparamstr
  13828.     CASE Noutput = 2
  13829.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.MouseUp "+Cparamstr + ;
  13830.         chr(13) + ThisFormSet.EventWin.Edit1.Value
  13831.     CASE Noutput = 3
  13832.         Wait Window "Formset1.Form1.MouseUp "+Cparamstr Nowait
  13833.     ENDCASE
  13834. ENDIF
  13835. ENDPROC
  13836. PROCEDURE Paint
  13837. *DO CASE
  13838. *CASE Noutput = 1
  13839. *    Activate Screen
  13840. *    ? "Formset1.Form1.Paint"
  13841. *CASE Noutput = 2
  13842. *    ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Paint" + ;
  13843. *    chr(13) + ThisFormSet.EventWin.Edit1.Value
  13844. *CASE Noutput = 3
  13845. *    Wait Window "Formset1.Form1.Paint" Nowait
  13846. *ENDCASE
  13847. ENDPROC
  13848. PROCEDURE Resize
  13849. DO CASE
  13850. CASE Noutput = 1
  13851.     Activate Screen
  13852.     ? "Formset1.Form1.Resize"
  13853. CASE Noutput = 2
  13854.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Resize" + ;
  13855.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13856. CASE Noutput = 3
  13857.     Wait Window "Formset1.Form1.Resize" Nowait
  13858. ENDCASE
  13859. ENDPROC
  13860. PROCEDURE Unload
  13861. DO CASE
  13862. CASE Noutput = 1
  13863.     Activate Screen
  13864.     ? "Formset1.Form1.Unload"
  13865. CASE Noutput = 2
  13866.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Unload" + ;
  13867.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  13868. CASE Noutput = 3
  13869.     Wait Window "Formset1.Form1.Unload" Nowait
  13870. ENDCASE
  13871. RELEASE EventTool
  13872. ENDPROC
  13873. Formset1.Form1.Activate
  13874. Formset1.Form1.ActivateC
  13875. Formset1.Form1.Activate
  13876. NOUTPUT
  13877. THISFORMSET
  13878. EVENTWIN
  13879. EDIT1
  13880. VALUE
  13881. Formset1.Form1.Click
  13882. Formset1.Form1.ClickC
  13883. Formset1.Form1.Click
  13884. NOUTPUT
  13885. THISFORMSET
  13886. EVENTWIN
  13887. EDIT1
  13888. VALUE
  13889. Formset1.Form1.DblClick
  13890. Formset1.Form1.DblClickC
  13891. Formset1.Form1.DblClick
  13892. NOUTPUT
  13893. THISFORMSET
  13894. EVENTWIN
  13895. EDIT1
  13896. VALUE
  13897. Formset1.Form1.Deactivate
  13898. Formset1.Form1.DeactivateC
  13899. Formset1.Form1.Deactivate
  13900. NOUTPUT
  13901. THISFORMSET
  13902. EVENTWIN
  13903. EDIT1
  13904. VALUE
  13905. Formset1.Form1.Destroy
  13906. Formset1.Form1.DestroyC
  13907. Formset1.Form1.Destroy
  13908. NOUTPUT
  13909. THISFORMSET
  13910. EVENTWIN
  13911. EDIT1
  13912. VALUE
  13913. Formset1.Form1.DragDrop 
  13914. Formset1.Form1.DragDrop 
  13915. Formset1.Form1.DragDrop 
  13916. CSOURCE
  13917. NXCOORD
  13918. NYCOORD    
  13919. CPARAMSTR
  13920. NOUTPUT
  13921. THISFORMSET
  13922. EVENTWIN
  13923. EDIT1
  13924. VALUE/
  13925. Formset1.Form1.DragOver 
  13926. Formset1.Form1.DragOver 
  13927. Formset1.Form1.DragOver 
  13928. CSOURCE
  13929. NXCOORD
  13930. NYCOORD
  13931. NSTATE    
  13932. CPARAMSTR
  13933. NOUTPUT
  13934. THISFORMSET
  13935. EVENTWIN
  13936. EDIT1
  13937. VALUE
  13938. Formset1.Form1.GotFocus
  13939. Formset1.Form1.GotFocusC
  13940. Formset1.Form1.GotFocus
  13941. NOUTPUT
  13942. THISFORMSET
  13943. EVENTWIN
  13944. EDIT1
  13945. VALUE
  13946. Formset1.Form1.KeyPress 
  13947. Formset1.Form1.KeyPress 
  13948. Formset1.Form1.KeyPress 
  13949. NKEYCODE
  13950. NSHIFTALTCTRL    
  13951. CPARAMSTR
  13952. NOUTPUT
  13953. THISFORMSET
  13954. EVENTWIN
  13955. EDIT1
  13956. VALUE
  13957. Formset1.Form1.Load
  13958. Formset1.Form1.LoadC
  13959. Formset1.Form1.Load
  13960. NOUTPUT
  13961. OFORMSET
  13962. THISFORMSET
  13963. EVENTWIN
  13964. EDIT1
  13965. VALUE
  13966. Formset1.Form1.LostFocus
  13967. Formset1.Form1.LostFocusC
  13968. Formset1.Form1.LostFocus
  13969. NOUTPUT
  13970. THISFORMSET
  13971. EVENTWIN
  13972. EDIT1
  13973. VALUED
  13974. Formset1.Form1.MouseDown 
  13975. Formset1.Form1.MouseDown 
  13976. Formset1.Form1.MouseDown 
  13977. NBUTTON
  13978. NSHIFT
  13979. NXCOORD
  13980. NYCOORD
  13981. LTRACKMOUSE    
  13982. CPARAMSTR
  13983. NOUTPUT
  13984. THISFORMSET
  13985. EVENTWIN
  13986. EDIT1
  13987. VALUED
  13988. Formset1.Form1.MouseMove 
  13989. Formset1.Form1.MouseMove 
  13990. Formset1.Form1.MouseMove 
  13991. NBUTTON
  13992. NSHIFT
  13993. NXCOORD
  13994. NYCOORD
  13995. LTRACKMOUSE    
  13996. CPARAMSTR
  13997. NOUTPUT
  13998. THISFORMSET
  13999. EVENTWIN
  14000. EDIT1
  14001. VALUE>
  14002. Formset1.Form1.MouseUp 
  14003. Formset1.Form1.MouseUp 
  14004. Formset1.Form1.MouseUp 
  14005. NBUTTON
  14006. NSHIFT
  14007. NXCOORD
  14008. NYCOORD
  14009. LTRACKMOUSE    
  14010. CPARAMSTR
  14011. NOUTPUT
  14012. THISFORMSET
  14013. EVENTWIN
  14014. EDIT1
  14015. VALUE
  14016. Formset1.Form1.Resize
  14017. Formset1.Form1.ResizeC
  14018. Formset1.Form1.Resize
  14019. NOUTPUT
  14020. THISFORMSET
  14021. EVENTWIN
  14022. EDIT1
  14023. VALUE
  14024. Formset1.Form1.Unload
  14025. Formset1.Form1.UnloadC
  14026. Formset1.Form1.Unload
  14027. NOUTPUT
  14028. THISFORMSET
  14029. EVENTWIN
  14030. EDIT1
  14031. VALUE    
  14032. EVENTTOOL
  14033. Activate,
  14034. Click/
  14035. DblClick)
  14036. Deactivate,
  14037. Destroy5
  14038. DragDrop5
  14039. DragOver
  14040. GotFocusF
  14041. KeyPressI    
  14042. LostFocus
  14043. MouseDown
  14044. MouseMove}
  14045. MouseUp.
  14046. Paint
  14047. Resize
  14048. Unload
  14049. c:\vfp\samples\controls\events\
  14050. events.scx
  14051. c:\vfp\samples\controls\events\events.scx
  14052. shape
  14053. shape
  14054. Shape1
  14055. Formset1.form1
  14056. @Height = 42
  14057. Left = 11
  14058. Top = 138
  14059. Width = 93
  14060. Name = "Shape1"
  14061. image
  14062. image
  14063. FoxIcon
  14064. Formset1.form1
  14065. Picture = ..\..\..\fox.bmp
  14066. DragIcon = fox.cur
  14067. DragMode = 1
  14068. Height = 26
  14069. Left = 75
  14070. Top = 147
  14071. Width = 25
  14072. Name = "FoxIcon"
  14073. PROCEDURE MouseDown
  14074. Parameters nButton, nShift, nXCoord, nYCoord
  14075. This.Drag(1)
  14076. ENDPROC
  14077. PROCEDURE MouseUp
  14078. Parameters nButton, nShift, nXCoord, nYCoord
  14079. This.Drag(2)
  14080. ENDPROC
  14081. NBUTTON
  14082. NSHIFT
  14083. NXCOORD
  14084. NYCOORD
  14085. DRAG&
  14086. NBUTTON
  14087. NSHIFT
  14088. NXCOORD
  14089. NYCOORD
  14090. DRAG    
  14091. MouseDown,
  14092. MouseUp
  14093. c:\vfp\samples\controls\events\
  14094. events.scx
  14095. c:\vfp\samples\controls\events\events.scx
  14096. label
  14097. label
  14098. Label2
  14099. Formset1.form1
  14100. BackColor = 255,255,255
  14101. Caption = "Drag this icon    ->"
  14102. Height = 33
  14103. Left = 15
  14104. Top = 142
  14105. Width = 57
  14106. WordWrap = .T.
  14107. Name = "Label2"
  14108. spinner
  14109. spinner
  14110. Spinner1
  14111. Formset1.form1
  14112. @Height = 25
  14113. Left = 43
  14114. Top = 3
  14115. Width = 42
  14116. Name = "Spinner1"
  14117. PROCEDURE Click
  14118. DO CASE
  14119. CASE Noutput = 1
  14120.     Activate Screen
  14121.     ? "Formset1.Form1.Spinner1.Click"
  14122. CASE Noutput = 2
  14123.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.Click" + ;
  14124.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14125. CASE Noutput = 3
  14126.     Wait Window "Formset1.Form1.Spinner1.Click" Nowait
  14127. ENDCASE
  14128. ENDPROC
  14129. PROCEDURE DblClick
  14130. DO CASE
  14131. CASE Noutput = 1
  14132.     Activate Screen
  14133.     ? "Formset1.Form1.Spinner1.DblClick"
  14134. CASE Noutput = 2
  14135.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DblClick" + ;
  14136.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14137. CASE Noutput = 3
  14138.     Wait Window "Formset1.Form1.Spinner1.DblClick" Nowait
  14139. ENDCASE
  14140. ENDPROC
  14141. PROCEDURE DownClick
  14142. DO CASE
  14143. CASE Noutput = 1
  14144.     Activate Screen
  14145.     ? "Formset1.Form1.Spinner1.DownClick"
  14146. CASE Noutput = 2
  14147.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DownClick" + ;
  14148.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14149. CASE Noutput = 3
  14150.     Wait Window "Formset1.Form1.Spinner1.DownClick" Nowait
  14151. ENDCASE
  14152. ENDPROC
  14153. PROCEDURE DragDrop
  14154. Parameters cSource, nXCoord, nYCoord
  14155. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14156. DO CASE
  14157. CASE Noutput = 1
  14158.     Activate Screen
  14159.     ? "Formset1.Form1.Spinner1.DragDrop"+Cparamstr
  14160. CASE Noutput = 2
  14161.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DragDrop"+Cparamstr + ;
  14162.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14163. CASE Noutput = 3
  14164.     Wait Window "Formset1.Form1.Spinner1.DragDrop"+Cparamstr Nowait
  14165. ENDCASE
  14166. ENDPROC
  14167. PROCEDURE DragOver
  14168. Parameters cSource, nXCoord, nYCoord, nState
  14169. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  14170. DO CASE
  14171. CASE Noutput = 1
  14172.     Activate Screen
  14173.     ? "Formset1.Form1.Spinner1.DragOver"+Cparamstr
  14174. CASE Noutput = 2
  14175.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.DragOver"+Cparamstr + ;
  14176.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14177. CASE Noutput = 3
  14178.     Wait Window "Formset1.Form1.Spinner1.DragOver"+Cparamstr Nowait
  14179. ENDCASE
  14180. ENDPROC
  14181. PROCEDURE GotFocus
  14182. DO CASE
  14183. CASE Noutput = 1
  14184.     Activate Screen
  14185.     ? "Formset1.Form1.Spinner1.GotFocus"
  14186. CASE Noutput = 2
  14187.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.GotFocus" + ;
  14188.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14189. CASE Noutput = 3
  14190.     Wait Window "Formset1.Form1.Spinner1.GotFocus" Nowait
  14191. ENDCASE
  14192. ENDPROC
  14193. PROCEDURE InteractiveChange
  14194. DO CASE
  14195. CASE Noutput = 1
  14196.     Activate Screen
  14197.     ? "Formset1.Form1.Spinner1.InteractiveChange"
  14198. CASE Noutput = 2
  14199.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.InteractiveChange" + ;
  14200.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14201. CASE Noutput = 3
  14202.     Wait Window "Formset1.Form1.Spinner1.InteractiveChange" Nowait
  14203. ENDCASE
  14204. ENDPROC
  14205. PROCEDURE KeyPress
  14206. Parameters nKeyCode, nShiftAltCtrl
  14207. IF lTrackMouse
  14208.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  14209.     DO CASE
  14210.     CASE Noutput = 1
  14211.         Activate Screen
  14212.         ? "Formset1.Form1.Spinner1.KeyPress"+Cparamstr
  14213.     CASE Noutput = 2
  14214.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.KeyPress"+Cparamstr + ;
  14215.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14216.     CASE Noutput = 3
  14217.         Wait Window "Formset1.Form1.Spinner1.KeyPress"+Cparamstr Nowait
  14218.     ENDCASE
  14219. ENDIF
  14220. ENDPROC
  14221. PROCEDURE LostFocus
  14222. DO CASE
  14223. CASE Noutput = 1
  14224.     Activate Screen
  14225.     ? "Formset1.Form1.Spinner1.LostFocus"
  14226. CASE Noutput = 2
  14227.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.LostFocus" + ;
  14228.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14229. CASE Noutput = 3
  14230.     Wait Window "Formset1.Form1.Spinner1.LostFocus" Nowait
  14231. ENDCASE
  14232. ENDPROC
  14233. PROCEDURE MouseDown
  14234. Parameters nButton, nShift, nXCoord, nYCoord
  14235. IF lTrackMouse
  14236.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14237.     DO CASE
  14238.     CASE Noutput = 1
  14239.         Activate Screen
  14240.         ? "Formset1.Form1.Spinner1.MouseDown"+Cparamstr
  14241.     CASE Noutput = 2
  14242.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.MouseDown"+Cparamstr + ;
  14243.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14244.     CASE Noutput = 3
  14245.         Wait Window "Formset1.Form1.Spinner1.MouseDown"+Cparamstr Nowait
  14246.     ENDCASE
  14247. ENDIF
  14248. ENDPROC
  14249. PROCEDURE MouseMove
  14250. Parameters nButton, nShift, nXCoord, nYCoord
  14251. IF lTrackMouse
  14252.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14253.     DO CASE
  14254.     CASE Noutput = 1
  14255.         Activate Screen
  14256.         ? "Formset1.Form1.Spinner1.MouseMove"+Cparamstr
  14257.     CASE Noutput = 2
  14258.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.MouseMove"+Cparamstr + ;
  14259.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14260.     CASE Noutput = 3
  14261.         Wait Window "Formset1.Form1.Spinner1.MouseMove"+Cparamstr Nowait
  14262.     ENDCASE
  14263. ENDIF
  14264. ENDPROC
  14265. PROCEDURE MouseUp
  14266. Parameters nButton, nShift, nXCoord, nYCoord
  14267. IF lTrackMouse
  14268.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14269.     DO CASE
  14270.     CASE Noutput = 1
  14271.         Activate Screen
  14272.         ? "Formset1.Form1.Spinner1.MouseUp"+Cparamstr
  14273.     CASE Noutput = 2
  14274.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.MouseUp"+Cparamstr + ;
  14275.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14276.     CASE Noutput = 3
  14277.         Wait Window "Formset1.Form1.Spinner1.MouseUp"+Cparamstr Nowait
  14278.     ENDCASE
  14279. ENDIF
  14280. ENDPROC
  14281. PROCEDURE RightClick
  14282. DO CASE
  14283. CASE Noutput = 1
  14284.     Activate Screen
  14285.     ? "Formset1.Form1.Spinner1.RightClick"
  14286. CASE Noutput = 2
  14287.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.RightClick" + ;
  14288.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14289. CASE Noutput = 3
  14290.     Wait Window "Formset1.Form1.Spinner1.RightClick" Nowait
  14291. ENDCASE
  14292. ENDPROC
  14293. PROCEDURE UpClick
  14294. DO CASE
  14295. CASE Noutput = 1
  14296.     Activate Screen
  14297.     ? "Formset1.Form1.Spinner1.UpClick"
  14298. CASE Noutput = 2
  14299.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.UpClick" + ;
  14300.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14301. CASE Noutput = 3
  14302.     Wait Window "Formset1.Form1.Spinner1.UpClick" Nowait
  14303. ENDCASE
  14304. ENDPROC
  14305. PROCEDURE Init
  14306. DO CASE
  14307. CASE Noutput = 1
  14308.     Activate Screen
  14309.     ? "Formset1.Form1.Spinner1.Init"
  14310. CASE Noutput = 2
  14311.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.Init" + ;
  14312.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14313. CASE Noutput = 3
  14314.     Wait Window "Formset1.Form1.Spinner1.Init" Nowait
  14315. ENDCASE
  14316. ENDPROC
  14317. PROCEDURE When
  14318. DO CASE
  14319. CASE Noutput = 1
  14320.     Activate Screen
  14321.     ? "Formset1.Form1.Spinner1.When"
  14322. CASE Noutput = 2
  14323.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.When" + ;
  14324.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14325. CASE Noutput = 3
  14326.     Wait Window "Formset1.Form1.Spinner1.When" Nowait
  14327. ENDCASE
  14328. ENDPROC
  14329. PROCEDURE Valid
  14330. DO CASE
  14331. CASE Noutput = 1
  14332.     Activate Screen
  14333.     ? "Formset1.Form1.Spinner1.Valid"
  14334. CASE Noutput = 2
  14335.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Spinner1.Valid" + ;
  14336.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14337. CASE Noutput = 3
  14338.     Wait Window "Formset1.Form1.Spinner1.Valid" Nowait
  14339. ENDCASE
  14340. ENDPROC
  14341. Formset1.Form1.Spinner1.Click
  14342. Formset1.Form1.Spinner1.ClickC
  14343. Formset1.Form1.Spinner1.Click
  14344. NOUTPUT
  14345. THISFORMSET
  14346. EVENTWIN
  14347. EDIT1
  14348. VALUE
  14349. Formset1.Form1.Spinner1.DblClick
  14350. Formset1.Form1.Spinner1.DblClickC
  14351. Formset1.Form1.Spinner1.DblClick
  14352. NOUTPUT
  14353. THISFORMSET
  14354. EVENTWIN
  14355. EDIT1
  14356. VALUE
  14357. Formset1.Form1.Spinner1.DownClick
  14358. Formset1.Form1.Spinner1.DownClickC
  14359. Formset1.Form1.Spinner1.DownClick
  14360. NOUTPUT
  14361. THISFORMSET
  14362. EVENTWIN
  14363. EDIT1
  14364. VALUE6
  14365. Formset1.Form1.Spinner1.DragDrop
  14366. Formset1.Form1.Spinner1.DragDrop
  14367. Formset1.Form1.Spinner1.DragDrop
  14368. CSOURCE
  14369. NXCOORD
  14370. NYCOORD    
  14371. CPARAMSTR
  14372. NOUTPUT
  14373. THISFORMSET
  14374. EVENTWIN
  14375. EDIT1
  14376. VALUEG
  14377. Formset1.Form1.Spinner1.DragOver
  14378. Formset1.Form1.Spinner1.DragOver
  14379. Formset1.Form1.Spinner1.DragOver
  14380. CSOURCE
  14381. NXCOORD
  14382. NYCOORD
  14383. NSTATE    
  14384. CPARAMSTR
  14385. NOUTPUT
  14386. THISFORMSET
  14387. EVENTWIN
  14388. EDIT1
  14389. VALUE
  14390. Formset1.Form1.Spinner1.GotFocus
  14391. Formset1.Form1.Spinner1.GotFocusC
  14392. Formset1.Form1.Spinner1.GotFocus
  14393. NOUTPUT
  14394. THISFORMSET
  14395. EVENTWIN
  14396. EDIT1
  14397. VALUE
  14398. Formset1.Form1.Spinner1.InteractiveChange
  14399. Formset1.Form1.Spinner1.InteractiveChangeC
  14400. Formset1.Form1.Spinner1.InteractiveChange
  14401. NOUTPUT
  14402. THISFORMSET
  14403. EVENTWIN
  14404. EDIT1
  14405. VALUE7
  14406. Formset1.Form1.Spinner1.KeyPress
  14407. Formset1.Form1.Spinner1.KeyPress
  14408. Formset1.Form1.Spinner1.KeyPress
  14409. NKEYCODE
  14410. NSHIFTALTCTRL
  14411. LTRACKMOUSE    
  14412. CPARAMSTR
  14413. NOUTPUT
  14414. THISFORMSET
  14415. EVENTWIN
  14416. EDIT1
  14417. VALUE
  14418. Formset1.Form1.Spinner1.LostFocus
  14419. Formset1.Form1.Spinner1.LostFocusC
  14420. Formset1.Form1.Spinner1.LostFocus
  14421. NOUTPUT
  14422. THISFORMSET
  14423. EVENTWIN
  14424. EDIT1
  14425. VALUE\
  14426. Formset1.Form1.Spinner1.MouseDown
  14427. Formset1.Form1.Spinner1.MouseDown
  14428. Formset1.Form1.Spinner1.MouseDown
  14429. NBUTTON
  14430. NSHIFT
  14431. NXCOORD
  14432. NYCOORD
  14433. LTRACKMOUSE    
  14434. CPARAMSTR
  14435. NOUTPUT
  14436. THISFORMSET
  14437. EVENTWIN
  14438. EDIT1
  14439. VALUE\
  14440. Formset1.Form1.Spinner1.MouseMove
  14441. Formset1.Form1.Spinner1.MouseMove
  14442. Formset1.Form1.Spinner1.MouseMove
  14443. NBUTTON
  14444. NSHIFT
  14445. NXCOORD
  14446. NYCOORD
  14447. LTRACKMOUSE    
  14448. CPARAMSTR
  14449. NOUTPUT
  14450. THISFORMSET
  14451. EVENTWIN
  14452. EDIT1
  14453. VALUEV
  14454. Formset1.Form1.Spinner1.MouseUp
  14455. Formset1.Form1.Spinner1.MouseUp
  14456. Formset1.Form1.Spinner1.MouseUp
  14457. NBUTTON
  14458. NSHIFT
  14459. NXCOORD
  14460. NYCOORD
  14461. LTRACKMOUSE    
  14462. CPARAMSTR
  14463. NOUTPUT
  14464. THISFORMSET
  14465. EVENTWIN
  14466. EDIT1
  14467. VALUE
  14468. Formset1.Form1.Spinner1.RightClick
  14469. Formset1.Form1.Spinner1.RightClickC
  14470. Formset1.Form1.Spinner1.RightClick
  14471. NOUTPUT
  14472. THISFORMSET
  14473. EVENTWIN
  14474. EDIT1
  14475. VALUE
  14476. Formset1.Form1.Spinner1.UpClick
  14477. Formset1.Form1.Spinner1.UpClickC
  14478. Formset1.Form1.Spinner1.UpClick
  14479. NOUTPUT
  14480. THISFORMSET
  14481. EVENTWIN
  14482. EDIT1
  14483. VALUE
  14484. Formset1.Form1.Spinner1.Init
  14485. Formset1.Form1.Spinner1.InitC
  14486. Formset1.Form1.Spinner1.Init
  14487. NOUTPUT
  14488. THISFORMSET
  14489. EVENTWIN
  14490. EDIT1
  14491. VALUE
  14492. Formset1.Form1.Spinner1.When
  14493. Formset1.Form1.Spinner1.WhenC
  14494. Formset1.Form1.Spinner1.When
  14495. NOUTPUT
  14496. THISFORMSET
  14497. EVENTWIN
  14498. EDIT1
  14499. VALUE
  14500. Formset1.Form1.Spinner1.Valid
  14501. Formset1.Form1.Spinner1.ValidC
  14502. Formset1.Form1.Spinner1.Valid
  14503. NOUTPUT
  14504. THISFORMSET
  14505. EVENTWIN
  14506. EDIT1
  14507. VALUE
  14508. Click,
  14509. DblClickA
  14510. DownClick_
  14511. DragDrop
  14512. DragOver
  14513. GotFocus
  14514. InteractiveChange
  14515. KeyPress
  14516. LostFocus
  14517. MouseDown
  14518. MouseMove
  14519. MouseUpe
  14520. RightClick(
  14521. UpClickL
  14522. Initg
  14523. Wheny
  14524. Valid
  14525. c:\vfp\samples\controls\events\
  14526. events.scx
  14527. c:\vfp\samples\controls\events\events.scx
  14528. commandbutton
  14529. commandbutton
  14530. Command1
  14531. Formset1.form1
  14532. ^Top = 110
  14533. Left = 1
  14534. Height = 25
  14535. Width = 117
  14536. Caption = "Command Button"
  14537. Name = "Command1"
  14538. PROCEDURE Click
  14539. DO CASE
  14540. CASE Noutput = 1
  14541.     Activate Screen
  14542.     ? "Formset1.Form1.Command1.Click"
  14543. CASE Noutput = 2
  14544.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Click" + ;
  14545.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14546. CASE Noutput = 3
  14547.     Wait Window "Formset1.Form1.Command1.Click" Nowait
  14548. ENDCASE
  14549. ENDPROC
  14550. PROCEDURE DragDrop
  14551. Parameters cSource, nXCoord, nYCoord
  14552. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14553. DO CASE
  14554. CASE Noutput = 1
  14555.     Activate Screen
  14556.     ? "Formset1.Form1.Command1.DragDrop"+Cparamstr
  14557. CASE Noutput = 2
  14558.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.DragDrop"+Cparamstr + ;
  14559.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14560. CASE Noutput = 3
  14561.     Wait Window "Formset1.Form1.Command1.DragDrop"+Cparamstr Nowait
  14562. ENDCASE
  14563. ENDPROC
  14564. PROCEDURE DragOver
  14565. Parameters cSource, nXCoord, nYCoord, nState
  14566. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  14567. DO CASE
  14568. CASE Noutput = 1
  14569.     Activate Screen
  14570.     ? "Formset1.Form1.Command1.DragOver"+Cparamstr
  14571. CASE Noutput = 2
  14572.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.DragOver"+Cparamstr + ;
  14573.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14574. CASE Noutput = 3
  14575.     Wait Window "Formset1.Form1.Command1.DragOver"+Cparamstr Nowait
  14576. ENDCASE
  14577. ENDPROC
  14578. PROCEDURE GotFocus
  14579. DO CASE
  14580. CASE Noutput = 1
  14581.     Activate Screen
  14582.     ? "Formset1.Form1.Command1.GotFocus"
  14583. CASE Noutput = 2
  14584.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.GotFocus" + ;
  14585.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14586. CASE Noutput = 3
  14587.     Wait Window "Formset1.Form1.Command1.GotFocus" Nowait
  14588. ENDCASE
  14589. ENDPROC
  14590. PROCEDURE KeyPress
  14591. Parameters nKeyCode, nShiftAltCtrl
  14592. IF lTrackMouse
  14593.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  14594.     DO CASE
  14595.     CASE Noutput = 1
  14596.         Activate Screen
  14597.         ? "Formset1.Form1.Command1.KeyPress"+Cparamstr
  14598.     CASE Noutput = 2
  14599.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.KeyPress"+Cparamstr + ;
  14600.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14601.     CASE Noutput = 3
  14602.         Wait Window "Formset1.Form1.Command1.KeyPress"+Cparamstr Nowait
  14603.     ENDCASE
  14604. ENDIF
  14605. ENDPROC
  14606. PROCEDURE LostFocus
  14607. DO CASE
  14608. CASE Noutput = 1
  14609.     Activate Screen
  14610.     ? "Formset1.Form1.Command1.LostFocus"
  14611. CASE Noutput = 2
  14612.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.LostFocus" + ;
  14613.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14614. CASE Noutput = 3
  14615.     Wait Window "Formset1.Form1.Command1.LostFocus" Nowait
  14616. ENDCASE
  14617. ENDPROC
  14618. PROCEDURE MouseDown
  14619. Parameters nButton, nShift, nXCoord, nYCoord
  14620. IF lTrackMouse
  14621.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14622.     DO CASE
  14623.     CASE Noutput = 1
  14624.         Activate Screen
  14625.         ? "Formset1.Form1.Command1.MouseDown"+Cparamstr
  14626.     CASE Noutput = 2
  14627.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.MouseDown"+Cparamstr + ;
  14628.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14629.     CASE Noutput = 3
  14630.         Wait Window "Formset1.Form1.Command1.MouseDown"+Cparamstr Nowait
  14631.     ENDCASE
  14632. ENDIF
  14633. ENDPROC
  14634. PROCEDURE MouseMove
  14635. Parameters nButton, nShift, nXCoord, nYCoord
  14636. IF lTrackMouse
  14637.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14638.     DO CASE
  14639.     CASE Noutput = 1
  14640.         Activate Screen
  14641.         ? "Formset1.Form1.Command1.MouseMove"+Cparamstr
  14642.     CASE Noutput = 2
  14643.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.MouseMove"+Cparamstr + ;
  14644.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14645.     CASE Noutput = 3
  14646.         Wait Window "Formset1.Form1.Command1.MouseMove"+Cparamstr Nowait
  14647.     ENDCASE
  14648. ENDIF
  14649. ENDPROC
  14650. PROCEDURE MouseUp
  14651. Parameters nButton, nShift, nXCoord, nYCoord
  14652. IF lTrackMouse
  14653.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14654.     DO CASE
  14655.     CASE Noutput = 1
  14656.         Activate Screen
  14657.         ? "Formset1.Form1.Command1.MouseUp"+Cparamstr
  14658.     CASE Noutput = 2
  14659.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.MouseUp"+Cparamstr + ;
  14660.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14661.     CASE Noutput = 3
  14662.         Wait Window "Formset1.Form1.Command1.MouseUp"+Cparamstr Nowait
  14663.     ENDCASE
  14664. ENDIF
  14665. ENDPROC
  14666. PROCEDURE RightClick
  14667. DO CASE
  14668. CASE Noutput = 1
  14669.     Activate Screen
  14670.     ? "Formset1.Form1.Command1.RightClick"
  14671. CASE Noutput = 2
  14672.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.RightClick" + ;
  14673.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14674. CASE Noutput = 3
  14675.     Wait Window "Formset1.Form1.Command1.RightClick" Nowait
  14676. ENDCASE
  14677. ENDPROC
  14678. PROCEDURE Destroy
  14679. DO CASE
  14680. CASE Noutput = 1
  14681.     Activate Screen
  14682.     ? "Formset1.Form1.Command1.Destroy"
  14683. CASE Noutput = 2
  14684.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Destroy" + ;
  14685.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14686. CASE Noutput = 3
  14687.     Wait Window "Formset1.Form1.Command1.Destroy" Nowait
  14688. ENDCASE
  14689. ENDPROC
  14690. PROCEDURE Init
  14691. DO CASE
  14692. CASE Noutput = 1
  14693.     Activate Screen
  14694.     ? "Formset1.Form1.Command1.Init"
  14695. CASE Noutput = 2
  14696.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Init" + ;
  14697.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14698. CASE Noutput = 3
  14699.     Wait Window "Formset1.Form1.Command1.Init" Nowait
  14700. ENDCASE
  14701. ENDPROC
  14702. PROCEDURE When
  14703. DO CASE
  14704. CASE Noutput = 1
  14705.     Activate Screen
  14706.     ? "Formset1.Form1.Command1.When"
  14707. CASE Noutput = 2
  14708.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.When" + ;
  14709.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14710. CASE Noutput = 3
  14711.     Wait Window "Formset1.Form1.Command1.When" Nowait
  14712. ENDCASE
  14713. ENDPROC
  14714. PROCEDURE Valid
  14715. DO CASE
  14716. CASE Noutput = 1
  14717.     Activate Screen
  14718.     ? "Formset1.Form1.Command1.Valid"
  14719. CASE Noutput = 2
  14720.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form1.Command1.Valid" + ;
  14721.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14722. CASE Noutput = 3
  14723.     Wait Window "Formset1.Form1.Command1.Valid" Nowait
  14724. ENDCASE
  14725. ENDPROC
  14726. Formset1.Form1.Command1.Click
  14727. Formset1.Form1.Command1.ClickC
  14728. Formset1.Form1.Command1.Click
  14729. NOUTPUT
  14730. THISFORMSET
  14731. EVENTWIN
  14732. EDIT1
  14733. VALUE6
  14734. Formset1.Form1.Command1.DragDrop
  14735. Formset1.Form1.Command1.DragDrop
  14736. Formset1.Form1.Command1.DragDrop
  14737. CSOURCE
  14738. NXCOORD
  14739. NYCOORD    
  14740. CPARAMSTR
  14741. NOUTPUT
  14742. THISFORMSET
  14743. EVENTWIN
  14744. EDIT1
  14745. VALUEG
  14746. Formset1.Form1.Command1.DragOver
  14747. Formset1.Form1.Command1.DragOver
  14748. Formset1.Form1.Command1.DragOver
  14749. CSOURCE
  14750. NXCOORD
  14751. NYCOORD
  14752. NSTATE    
  14753. CPARAMSTR
  14754. NOUTPUT
  14755. THISFORMSET
  14756. EVENTWIN
  14757. EDIT1
  14758. VALUE
  14759. Formset1.Form1.Command1.GotFocus
  14760. Formset1.Form1.Command1.GotFocusC
  14761. Formset1.Form1.Command1.GotFocus
  14762. NOUTPUT
  14763. THISFORMSET
  14764. EVENTWIN
  14765. EDIT1
  14766. VALUE7
  14767. Formset1.Form1.Command1.KeyPress
  14768. Formset1.Form1.Command1.KeyPress
  14769. Formset1.Form1.Command1.KeyPress
  14770. NKEYCODE
  14771. NSHIFTALTCTRL
  14772. LTRACKMOUSE    
  14773. CPARAMSTR
  14774. NOUTPUT
  14775. THISFORMSET
  14776. EVENTWIN
  14777. EDIT1
  14778. VALUE
  14779. Formset1.Form1.Command1.LostFocus
  14780. Formset1.Form1.Command1.LostFocusC
  14781. Formset1.Form1.Command1.LostFocus
  14782. NOUTPUT
  14783. THISFORMSET
  14784. EVENTWIN
  14785. EDIT1
  14786. VALUE\
  14787. Formset1.Form1.Command1.MouseDown
  14788. Formset1.Form1.Command1.MouseDown
  14789. Formset1.Form1.Command1.MouseDown
  14790. NBUTTON
  14791. NSHIFT
  14792. NXCOORD
  14793. NYCOORD
  14794. LTRACKMOUSE    
  14795. CPARAMSTR
  14796. NOUTPUT
  14797. THISFORMSET
  14798. EVENTWIN
  14799. EDIT1
  14800. VALUE\
  14801. Formset1.Form1.Command1.MouseMove
  14802. Formset1.Form1.Command1.MouseMove
  14803. Formset1.Form1.Command1.MouseMove
  14804. NBUTTON
  14805. NSHIFT
  14806. NXCOORD
  14807. NYCOORD
  14808. LTRACKMOUSE    
  14809. CPARAMSTR
  14810. NOUTPUT
  14811. THISFORMSET
  14812. EVENTWIN
  14813. EDIT1
  14814. VALUEV
  14815. Formset1.Form1.Command1.MouseUp
  14816. Formset1.Form1.Command1.MouseUp
  14817. Formset1.Form1.Command1.MouseUp
  14818. NBUTTON
  14819. NSHIFT
  14820. NXCOORD
  14821. NYCOORD
  14822. LTRACKMOUSE    
  14823. CPARAMSTR
  14824. NOUTPUT
  14825. THISFORMSET
  14826. EVENTWIN
  14827. EDIT1
  14828. VALUE
  14829. Formset1.Form1.Command1.RightClick
  14830. Formset1.Form1.Command1.RightClickC
  14831. Formset1.Form1.Command1.RightClick
  14832. NOUTPUT
  14833. THISFORMSET
  14834. EVENTWIN
  14835. EDIT1
  14836. VALUE
  14837. Formset1.Form1.Command1.Destroy
  14838. Formset1.Form1.Command1.DestroyC
  14839. Formset1.Form1.Command1.Destroy
  14840. NOUTPUT
  14841. THISFORMSET
  14842. EVENTWIN
  14843. EDIT1
  14844. VALUE
  14845. Formset1.Form1.Command1.Init
  14846. Formset1.Form1.Command1.InitC
  14847. Formset1.Form1.Command1.Init
  14848. NOUTPUT
  14849. THISFORMSET
  14850. EVENTWIN
  14851. EDIT1
  14852. VALUE
  14853. Formset1.Form1.Command1.When
  14854. Formset1.Form1.Command1.WhenC
  14855. Formset1.Form1.Command1.When
  14856. NOUTPUT
  14857. THISFORMSET
  14858. EVENTWIN
  14859. EDIT1
  14860. VALUE
  14861. Formset1.Form1.Command1.Valid
  14862. Formset1.Form1.Command1.ValidC
  14863. Formset1.Form1.Command1.Valid
  14864. NOUTPUT
  14865. THISFORMSET
  14866. EVENTWIN
  14867. EDIT1
  14868. VALUE
  14869. Click,
  14870. DragDropA
  14871. DragOver
  14872. GotFocus
  14873. KeyPress
  14874. LostFocus:
  14875. MouseDown[
  14876. MouseMove$
  14877. MouseUp
  14878. RightClick
  14879. Destroy
  14880. Valid
  14881. c:\vfp\samples\controls\events\
  14882. events.scx
  14883. c:\vfp\samples\controls\events\events.scx
  14884. eventwin
  14885. Formset1
  14886. ScaleMode = 3
  14887. Top = 236
  14888. Left = 234
  14889. Height = 144
  14890. Width = 388
  14891. Caption = "Event Window"
  14892. Closable = .F.
  14893. Visible = .F.
  14894. Name = "eventwin"
  14895. editbox
  14896. editbox
  14897. Edit1
  14898. Formset1.eventwin
  14899. WBackColor = 255,255,255
  14900. Height = 144
  14901. Left = 0
  14902. Top = 0
  14903. Width = 389
  14904. Name = "Edit1"
  14905. form2
  14906. Formset1
  14907. ScaleMode = 3
  14908. Top = 24
  14909. Left = 363
  14910. Height = 186
  14911. Width = 259
  14912. BackColor = 192,192,192
  14913. Caption = "Form2"
  14914. WindowState = 0
  14915. Name = "form2"
  14916. PROCEDURE Activate
  14917. DO CASE
  14918. CASE Noutput = 1
  14919.     Activate Screen
  14920.     ? "Formset1.Form2.Activate"
  14921. CASE Noutput = 2
  14922.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Activate" + ;
  14923.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14924. CASE Noutput = 3
  14925.     Wait Window "Formset1.Form2.Activate" Nowait
  14926. ENDCASE
  14927. ENDPROC
  14928. PROCEDURE Click
  14929. DO CASE
  14930. CASE Noutput = 1
  14931.     Activate Screen
  14932.     ? "Formset1.Form2.Click"
  14933. CASE Noutput = 2
  14934.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Click" + ;
  14935.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14936. CASE Noutput = 3
  14937.     Wait Window "Formset1.Form2.Click" Nowait
  14938. ENDCASE
  14939. ENDPROC
  14940. PROCEDURE DblClick
  14941. DO CASE
  14942. CASE Noutput = 1
  14943.     Activate Screen
  14944.     ? "Formset1.Form2.DblClick"
  14945. CASE Noutput = 2
  14946.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.DblClick" + ;
  14947.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14948. CASE Noutput = 3
  14949.     Wait Window "Formset1.Form2.DblClick" Nowait
  14950. ENDCASE
  14951. ENDPROC
  14952. PROCEDURE Deactivate
  14953. DO CASE
  14954. CASE Noutput = 1
  14955.     Activate Screen
  14956.     ? "Formset1.Form2.Deactivate"
  14957. CASE Noutput = 2
  14958.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Deactivate" + ;
  14959.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14960. CASE Noutput = 3
  14961.     Wait Window "Formset1.Form2.Deactivate" Nowait
  14962. ENDCASE
  14963. ENDPROC
  14964. PROCEDURE Destroy
  14965. DO CASE
  14966. CASE Noutput = 1
  14967.     Activate Screen
  14968.     ? "Formset1.Form2.Destroy"
  14969. CASE Noutput = 2
  14970.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Destroy" + ;
  14971.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  14972. CASE Noutput = 3
  14973.     Wait Window "Formset1.Form2.Destroy" Nowait
  14974. ENDCASE
  14975. ENDPROC
  14976. PROCEDURE DragDrop
  14977. Parameters cSource, nXCoord, nYCoord
  14978. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  14979. DO CASE
  14980. CASE Noutput = 1
  14981.     Activate Screen
  14982.     ? "Formset1.Form2.DragDrop"+Cparamstr
  14983. CASE Noutput = 2
  14984.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.DragDrop"+Cparamstr + ;
  14985.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  14986. CASE Noutput = 3
  14987.     Wait Window "Formset1.Form2.DragDrop"+Cparamstr Nowait
  14988. ENDCASE
  14989. ENDPROC
  14990. PROCEDURE DragOver
  14991. Parameters cSource, nXCoord, nYCoord, nState
  14992. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  14993. DO CASE
  14994. CASE Noutput = 1
  14995.     Activate Screen
  14996.     ? "Formset1.Form2.DragOver"+Cparamstr
  14997. CASE Noutput = 2
  14998.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.DragOver"+Cparamstr + ;
  14999.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15000. CASE Noutput = 3
  15001.     Wait Window "Formset1.Form2.DragOver"+Cparamstr Nowait
  15002. ENDCASE
  15003. ENDPROC
  15004. PROCEDURE GotFocus
  15005. DO CASE
  15006. CASE Noutput = 1
  15007.     Activate Screen
  15008.     ? "Formset1.Form2.GotFocus"
  15009. CASE Noutput = 2
  15010.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.GotFocus" + ;
  15011.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15012. CASE Noutput = 3
  15013.     Wait Window "Formset1.Form2.GotFocus" Nowait
  15014. ENDCASE
  15015. ENDPROC
  15016. PROCEDURE Init
  15017. DO CASE
  15018. CASE Noutput = 1
  15019.     Activate Screen
  15020.     ? "Formset1.Form2.Init"
  15021. CASE Noutput = 2
  15022.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Init" + ;
  15023.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15024. CASE Noutput = 3
  15025.     Wait Window "Formset1.Form2.Init" Nowait
  15026. ENDCASE
  15027. ENDPROC
  15028. PROCEDURE KeyPress
  15029. Parameters nKeyCode, nShiftAltCtrl
  15030. IF lTrackMouse
  15031.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  15032.     DO CASE
  15033.     CASE Noutput = 1
  15034.         Activate Screen
  15035.         ? "Formset1.Form2.KeyPress"+Cparamstr
  15036.     CASE Noutput = 2
  15037.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.KeyPress"+Cparamstr + ;
  15038.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15039.     CASE Noutput = 3
  15040.         Wait Window "Formset1.Form2.KeyPress"+Cparamstr Nowait
  15041.     ENDCASE
  15042. ENDIF
  15043. ENDPROC
  15044. PROCEDURE Load
  15045. DO CASE
  15046. CASE Noutput = 1
  15047.     Activate Screen
  15048.     ? "Formset1.Form2.Load"
  15049. CASE Noutput = 2
  15050.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Load" + ;
  15051.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15052. CASE Noutput = 3
  15053.     Wait Window "Formset1.Form2.Load" Nowait
  15054. ENDCASE
  15055. ENDPROC
  15056. PROCEDURE LostFocus
  15057. DO CASE
  15058. CASE Noutput = 1
  15059.     Activate Screen
  15060.     ? "Formset1.Form2.LostFocus"
  15061. CASE Noutput = 2
  15062.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.LostFocus" + ;
  15063.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15064. CASE Noutput = 3
  15065.     Wait Window "Formset1.Form2.LostFocus" Nowait
  15066. ENDCASE
  15067. ENDPROC
  15068. PROCEDURE MouseDown
  15069. Parameters nButton, nShift, nXCoord, nYCoord
  15070. IF lTrackMouse
  15071.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15072.     DO CASE
  15073.     CASE Noutput = 1
  15074.         Activate Screen
  15075.         ? "Formset1.Form2.MouseDown"+Cparamstr
  15076.     CASE Noutput = 2
  15077.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.MouseDown"+Cparamstr + ;
  15078.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15079.     CASE Noutput = 3
  15080.         Wait Window "Formset1.Form2.MouseDown"+Cparamstr Nowait
  15081.     ENDCASE
  15082. ENDIF
  15083. ENDPROC
  15084. PROCEDURE MouseMove
  15085. Parameters nButton, nShift, nXCoord, nYCoord
  15086. IF lTrackMouse
  15087.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15088.     DO CASE
  15089.     CASE Noutput = 1
  15090.         Activate Screen
  15091.         ? "Formset1.Form2.MouseMove"+Cparamstr
  15092.     CASE Noutput = 2
  15093.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.MouseMove"+Cparamstr + ;
  15094.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15095.     CASE Noutput = 3
  15096.         Wait Window "Formset1.Form2.MouseMove"+Cparamstr Nowait
  15097.     ENDCASE
  15098. ENDIF
  15099. ENDPROC
  15100. PROCEDURE MouseUp
  15101. Parameters nButton, nShift, nXCoord, nYCoord
  15102. IF lTrackMouse
  15103.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15104.     DO CASE
  15105.     CASE Noutput = 1
  15106.         Activate Screen
  15107.         ? "Formset1.Form2.MouseUp"+Cparamstr
  15108.     CASE Noutput = 2
  15109.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.MouseUp"+Cparamstr + ;
  15110.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15111.     CASE Noutput = 3
  15112.         Wait Window "Formset1.Form2.MouseUp"+Cparamstr Nowait
  15113.     ENDCASE
  15114. ENDIF
  15115. ENDPROC
  15116. PROCEDURE Paint
  15117. *DO CASE
  15118. *CASE Noutput = 1
  15119. *    Activate Screen
  15120. *    ? "Formset1.Form2.Paint"
  15121. *CASE Noutput = 2
  15122. *    ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Paint" + ;
  15123. *    chr(13) + ThisFormSet.EventWin.Edit1.Value
  15124. *CASE Noutput = 3
  15125. *    Wait Window "Formset1.Form2.Paint" Nowait
  15126. *ENDCASE
  15127. ENDPROC
  15128. PROCEDURE Resize
  15129. DO CASE
  15130. CASE Noutput = 1
  15131.     Activate Screen
  15132.     ? "Formset1.Form2.Resize"
  15133. CASE Noutput = 2
  15134.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Resize" + ;
  15135.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15136. CASE Noutput = 3
  15137.     Wait Window "Formset1.Form2.Resize" Nowait
  15138. ENDCASE
  15139. ENDPROC
  15140. PROCEDURE Unload
  15141. DO CASE
  15142. CASE Noutput = 1
  15143.     Activate Screen
  15144.     ? "Formset1.Form2.Unload"
  15145. CASE Noutput = 2
  15146.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Unload" + ;
  15147.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15148. CASE Noutput = 3
  15149.     Wait Window "Formset1.Form2.Unload" Nowait
  15150. ENDCASE
  15151. ENDPROC
  15152. Formset1.Form2.Activate
  15153. Formset1.Form2.ActivateC
  15154. Formset1.Form2.Activate
  15155. NOUTPUT
  15156. THISFORMSET
  15157. EVENTWIN
  15158. EDIT1
  15159. VALUE
  15160. Formset1.Form2.Click
  15161. Formset1.Form2.ClickC
  15162. Formset1.Form2.Click
  15163. NOUTPUT
  15164. THISFORMSET
  15165. EVENTWIN
  15166. EDIT1
  15167. VALUE
  15168. Formset1.Form2.DblClick
  15169. Formset1.Form2.DblClickC
  15170. Formset1.Form2.DblClick
  15171. NOUTPUT
  15172. THISFORMSET
  15173. EVENTWIN
  15174. EDIT1
  15175. VALUE
  15176. Formset1.Form2.Deactivate
  15177. Formset1.Form2.DeactivateC
  15178. Formset1.Form2.Deactivate
  15179. NOUTPUT
  15180. THISFORMSET
  15181. EVENTWIN
  15182. EDIT1
  15183. VALUE
  15184. Formset1.Form2.Destroy
  15185. Formset1.Form2.DestroyC
  15186. Formset1.Form2.Destroy
  15187. NOUTPUT
  15188. THISFORMSET
  15189. EVENTWIN
  15190. EDIT1
  15191. VALUE
  15192. Formset1.Form2.DragDrop
  15193. Formset1.Form2.DragDrop
  15194. Formset1.Form2.DragDrop
  15195. CSOURCE
  15196. NXCOORD
  15197. NYCOORD    
  15198. CPARAMSTR
  15199. NOUTPUT
  15200. THISFORMSET
  15201. EVENTWIN
  15202. EDIT1
  15203. VALUE,
  15204. Formset1.Form2.DragOver
  15205. Formset1.Form2.DragOver
  15206. Formset1.Form2.DragOver
  15207. CSOURCE
  15208. NXCOORD
  15209. NYCOORD
  15210. NSTATE    
  15211. CPARAMSTR
  15212. NOUTPUT
  15213. THISFORMSET
  15214. EVENTWIN
  15215. EDIT1
  15216. VALUE
  15217. Formset1.Form2.GotFocus
  15218. Formset1.Form2.GotFocusC
  15219. Formset1.Form2.GotFocus
  15220. NOUTPUT
  15221. THISFORMSET
  15222. EVENTWIN
  15223. EDIT1
  15224. VALUE
  15225. Formset1.Form2.Init
  15226. Formset1.Form2.InitC
  15227. Formset1.Form2.Init
  15228. NOUTPUT
  15229. THISFORMSET
  15230. EVENTWIN
  15231. EDIT1
  15232. VALUE
  15233. Formset1.Form2.KeyPress
  15234. Formset1.Form2.KeyPress
  15235. Formset1.Form2.KeyPress
  15236. NKEYCODE
  15237. NSHIFTALTCTRL
  15238. LTRACKMOUSE    
  15239. CPARAMSTR
  15240. NOUTPUT
  15241. THISFORMSET
  15242. EVENTWIN
  15243. EDIT1
  15244. VALUE
  15245. Formset1.Form2.Load
  15246. Formset1.Form2.LoadC
  15247. Formset1.Form2.Load
  15248. NOUTPUT
  15249. THISFORMSET
  15250. EVENTWIN
  15251. EDIT1
  15252. VALUE
  15253. Formset1.Form2.LostFocus
  15254. Formset1.Form2.LostFocusC
  15255. Formset1.Form2.LostFocus
  15256. NOUTPUT
  15257. THISFORMSET
  15258. EVENTWIN
  15259. EDIT1
  15260. VALUEA
  15261. Formset1.Form2.MouseDown
  15262. Formset1.Form2.MouseDown
  15263. Formset1.Form2.MouseDown
  15264. NBUTTON
  15265. NSHIFT
  15266. NXCOORD
  15267. NYCOORD
  15268. LTRACKMOUSE    
  15269. CPARAMSTR
  15270. NOUTPUT
  15271. THISFORMSET
  15272. EVENTWIN
  15273. EDIT1
  15274. VALUEA
  15275. Formset1.Form2.MouseMove
  15276. Formset1.Form2.MouseMove
  15277. Formset1.Form2.MouseMove
  15278. NBUTTON
  15279. NSHIFT
  15280. NXCOORD
  15281. NYCOORD
  15282. LTRACKMOUSE    
  15283. CPARAMSTR
  15284. NOUTPUT
  15285. THISFORMSET
  15286. EVENTWIN
  15287. EDIT1
  15288. VALUE;
  15289. Formset1.Form2.MouseUp
  15290. Formset1.Form2.MouseUp
  15291. Formset1.Form2.MouseUp
  15292. NBUTTON
  15293. NSHIFT
  15294. NXCOORD
  15295. NYCOORD
  15296. LTRACKMOUSE    
  15297. CPARAMSTR
  15298. NOUTPUT
  15299. THISFORMSET
  15300. EVENTWIN
  15301. EDIT1
  15302. VALUE
  15303. Formset1.Form2.Resize
  15304. Formset1.Form2.ResizeC
  15305. Formset1.Form2.Resize
  15306. NOUTPUT
  15307. THISFORMSET
  15308. EVENTWIN
  15309. EDIT1
  15310. VALUE
  15311. Formset1.Form2.Unload
  15312. Formset1.Form2.UnloadC
  15313. Formset1.Form2.Unload
  15314. NOUTPUT
  15315. THISFORMSET
  15316. EVENTWIN
  15317. EDIT1
  15318. VALUE
  15319. Activate,
  15320. Click/
  15321. DblClick)
  15322. Deactivate,
  15323. Destroy5
  15324. DragDrop5
  15325. DragOver
  15326. GotFocus@
  15327. InitC    
  15328. KeyPress:
  15329. LostFocus
  15330. MouseDown
  15331. MouseMoved
  15332. MouseUp
  15333. Paint
  15334. Resize
  15335. Unload
  15336. c:\vfp\samples\controls\events\
  15337. events.scx
  15338. c:\vfp\samples\controls\events\events.scx
  15339.     pageframe
  15340.     pageframe
  15341. Pageframe1
  15342. Formset1.form2
  15343. ErasePage = .T.
  15344. PageCount = 2
  15345. Top = 3
  15346. Left = 7
  15347. Height = 87
  15348. Width = 245
  15349. Name = "Pageframe1"
  15350. Page1.Caption = "Page1"
  15351. Page1.Name = "Page1"
  15352. Page2.Caption = "Page2"
  15353. Page2.Name = "Page2"
  15354. PROCEDURE Init
  15355. DO CASE
  15356. CASE Noutput = 1
  15357.     Activate Screen
  15358.     ? "Formset1.Form2.PageFrame1.Init"
  15359. CASE Noutput = 2
  15360.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Init" + ;
  15361.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15362. CASE Noutput = 3
  15363.     Wait Window "Formset1.Form2.PageFrame1.Init" Nowait
  15364. ENDCASE
  15365. ENDPROC
  15366. PROCEDURE Destroy
  15367. DO CASE
  15368. CASE Noutput = 1
  15369.     Activate Screen
  15370.     ? "Formset1.Form2.PageFrame1.Destroy"
  15371. CASE Noutput = 2
  15372.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Destroy" + ;
  15373.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15374. CASE Noutput = 3
  15375.     Wait Window "Formset1.Form2.PageFrame1.Destroy" Nowait
  15376. ENDCASE
  15377. ENDPROC
  15378. PROCEDURE Click
  15379. DO CASE
  15380. CASE Noutput = 1
  15381.     Activate Screen
  15382.     ? "Formset1.Form2.PageFrame1.Click"
  15383. CASE Noutput = 2
  15384.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Click" + ;
  15385.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15386. CASE Noutput = 3
  15387.     Wait Window "Formset1.Form2.PageFrame1.Click" Nowait
  15388. ENDCASE
  15389. ENDPROC
  15390. PROCEDURE DblClick
  15391. DO CASE
  15392. CASE Noutput = 1
  15393.     Activate Screen
  15394.     ? "Formset1.Form2.PageFrame1.DblClick"
  15395. CASE Noutput = 2
  15396.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.DblClick" + ;
  15397.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15398. CASE Noutput = 3
  15399.     Wait Window "Formset1.Form2.PageFrame1.DblClick" Nowait
  15400. ENDCASE
  15401. ENDPROC
  15402. PROCEDURE DragDrop
  15403. Parameters cSource, nXCoord, nYCoord
  15404. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15405. DO CASE
  15406. CASE Noutput = 1
  15407.     Activate Screen
  15408.     ? "Formset1.Form2.PageFrame1.DragDrop"+Cparamstr
  15409. CASE Noutput = 2
  15410.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.DragDrop"+Cparamstr + ;
  15411.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15412. CASE Noutput = 3
  15413.     Wait Window "Formset1.Form2.PageFrame1.DragDrop"+Cparamstr Nowait
  15414. ENDCASE
  15415. ENDPROC
  15416. PROCEDURE DragOver
  15417. Parameters cSource, nXCoord, nYCoord, nState
  15418. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  15419. DO CASE
  15420. CASE Noutput = 1
  15421.     Activate Screen
  15422.     ? "Formset1.Form2.PageFrame1.DragOver"+Cparamstr
  15423. CASE Noutput = 2
  15424.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.DragOver"+Cparamstr + ;
  15425.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15426. CASE Noutput = 3
  15427.     Wait Window "Formset1.Form2.PageFrame1.DragOver"+Cparamstr Nowait
  15428. ENDCASE
  15429. ENDPROC
  15430. PROCEDURE MouseDown
  15431. Parameters nButton, nShift, nXCoord, nYCoord
  15432. IF lTrackMouse
  15433.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15434.     DO CASE
  15435.     CASE Noutput = 1
  15436.         Activate Screen
  15437.         ? "Formset1.Form2.PageFrame1.MouseDown"+Cparamstr
  15438.     CASE Noutput = 2
  15439.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.MouseDown"+Cparamstr + ;
  15440.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15441.     CASE Noutput = 3
  15442.         Wait Window "Formset1.Form2.PageFrame1.MouseDown"+Cparamstr Nowait
  15443.     ENDCASE
  15444. ENDIF
  15445. ENDPROC
  15446. PROCEDURE MouseMove
  15447. Parameters nButton, nShift, nXCoord, nYCoord
  15448. IF lTrackMouse
  15449.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15450.     DO CASE
  15451.     CASE Noutput = 1
  15452.         Activate Screen
  15453.         ? "Formset1.Form2.PageFrame1.MouseMove"+Cparamstr
  15454.     CASE Noutput = 2
  15455.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.MouseMove"+Cparamstr + ;
  15456.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15457.     CASE Noutput = 3
  15458.         Wait Window "Formset1.Form2.PageFrame1.MouseMove"+Cparamstr Nowait
  15459.     ENDCASE
  15460. ENDIF
  15461. ENDPROC
  15462. PROCEDURE MouseUp
  15463. Parameters nButton, nShift, nXCoord, nYCoord
  15464. IF lTrackMouse
  15465.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15466.     DO CASE
  15467.     CASE Noutput = 1
  15468.         Activate Screen
  15469.         ? "Formset1.Form2.PageFrame1.MouseUp"+Cparamstr
  15470.     CASE Noutput = 2
  15471.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.MouseUp"+Cparamstr + ;
  15472.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15473.     CASE Noutput = 3
  15474.         Wait Window "Formset1.Form2.PageFrame1.MouseUp"+Cparamstr Nowait
  15475.     ENDCASE
  15476. ENDIF
  15477. ENDPROC
  15478. PROCEDURE RightClick
  15479. DO CASE
  15480. CASE Noutput = 1
  15481.     Activate Screen
  15482.     ? "Formset1.Form2.PageFrame1.RightClick"
  15483. CASE Noutput = 2
  15484.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.RightClick" + ;
  15485.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15486. CASE Noutput = 3
  15487.     Wait Window "Formset1.Form2.PageFrame1.RightClick" Nowait
  15488. ENDCASE
  15489. ENDPROC
  15490. PROCEDURE Page1.Activate
  15491. DO CASE
  15492. CASE Noutput = 1
  15493.     Activate Screen
  15494.     ? "Formset1.Form2.PageFrame1.Page1.Activate"
  15495. CASE Noutput = 2
  15496.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Activate" + ;
  15497.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15498. CASE Noutput = 3
  15499.     Wait Window "Formset1.Form2.PageFrame1.Page1.Activate" Nowait
  15500. ENDCASE
  15501. ENDPROC
  15502. PROCEDURE Page1.Deactivate
  15503. DO CASE
  15504. CASE Noutput = 1
  15505.     Activate Screen
  15506.     ? "Formset1.Form2.PageFrame1.Page1.Deactivate"
  15507. CASE Noutput = 2
  15508.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Deactivate" + ;
  15509.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15510. CASE Noutput = 3
  15511.     Wait Window "Formset1.Form2.PageFrame1.Page1.Deactivate" Nowait
  15512. ENDCASE
  15513. ENDPROC
  15514. PROCEDURE Page1.Destroy
  15515. DO CASE
  15516. CASE Noutput = 1
  15517.     Activate Screen
  15518.     ? "Formset1.Form2.PageFrame1.Page1.Destroy"
  15519. CASE Noutput = 2
  15520.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Destroy" + ;
  15521.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15522. CASE Noutput = 3
  15523.     Wait Window "Formset1.Form2.PageFrame1.Page1.Destroy" Nowait
  15524. ENDCASE
  15525. ENDPROC
  15526. PROCEDURE Page1.Init
  15527. DO CASE
  15528. CASE Noutput = 1
  15529.     Activate Screen
  15530.     ? "Formset1.Form2.PageFrame1.Page1.Init"
  15531. CASE Noutput = 2
  15532.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Init" + ;
  15533.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15534. CASE Noutput = 3
  15535.     Wait Window "Formset1.Form2.PageFrame1.Page1.Init" Nowait
  15536. ENDCASE
  15537. ENDPROC
  15538. PROCEDURE Page1.Click
  15539. DO CASE
  15540. CASE Noutput = 1
  15541.     Activate Screen
  15542.     ? "Formset1.Form2.PageFrame1.Page1.Click"
  15543. CASE Noutput = 2
  15544.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.Click" + ;
  15545.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15546. CASE Noutput = 3
  15547.     Wait Window "Formset1.Form2.PageFrame1.Page1.Click" Nowait
  15548. ENDCASE
  15549. ENDPROC
  15550. PROCEDURE Page1.DblClick
  15551. DO CASE
  15552. CASE Noutput = 1
  15553.     Activate Screen
  15554.     ? "Formset1.Form2.PageFrame1.Page1.DblClick"
  15555. CASE Noutput = 2
  15556.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.DblClick" + ;
  15557.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15558. CASE Noutput = 3
  15559.     Wait Window "Formset1.Form2.PageFrame1.Page1.DblClick" Nowait
  15560. ENDCASE
  15561. ENDPROC
  15562. PROCEDURE Page1.DragDrop
  15563. Parameters cSource, nXCoord, nYCoord
  15564. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15565. DO CASE
  15566. CASE Noutput = 1
  15567.     Activate Screen
  15568.     ? "Formset1.Form2.PageFrame1.Page1.DragDrop"+Cparamstr
  15569. CASE Noutput = 2
  15570.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.DragDrop"+Cparamstr + ;
  15571.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15572. CASE Noutput = 3
  15573.     Wait Window "Formset1.Form2.PageFrame1.Page1.DragDrop"+Cparamstr Nowait
  15574. ENDCASE
  15575. ENDPROC
  15576. PROCEDURE Page1.DragOver
  15577. Parameters cSource, nXCoord, nYCoord, nState
  15578. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  15579. DO CASE
  15580. CASE Noutput = 1
  15581.     Activate Screen
  15582.     ? "Formset1.Form2.PageFrame1.Page1.DragOver"+Cparamstr
  15583. CASE Noutput = 2
  15584.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.DragOver"+Cparamstr + ;
  15585.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15586. CASE Noutput = 3
  15587.     Wait Window "Formset1.Form2.PageFrame1.Page1.DragOver"+Cparamstr Nowait
  15588. ENDCASE
  15589. ENDPROC
  15590. PROCEDURE Page1.MouseDown
  15591. Parameters nButton, nShift, nXCoord, nYCoord
  15592. IF lTrackMouse
  15593.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15594.     DO CASE
  15595.     CASE Noutput = 1
  15596.         Activate Screen
  15597.         ? "Formset1.Form2.PageFrame1.Page1.MouseDown"+Cparamstr
  15598.     CASE Noutput = 2
  15599.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.MouseDown"+Cparamstr + ;
  15600.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15601.     CASE Noutput = 3
  15602.         Wait Window "Formset1.Form2.PageFrame1.Page1.MouseDown"+Cparamstr Nowait
  15603.     ENDCASE
  15604. ENDIF
  15605. ENDPROC
  15606. PROCEDURE Page1.MouseMove
  15607. Parameters nButton, nShift, nXCoord, nYCoord
  15608. IF lTrackMouse
  15609.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15610.     DO CASE
  15611.     CASE Noutput = 1
  15612.         Activate Screen
  15613.         ? "Formset1.Form2.PageFrame1.Page1.MouseMove"+Cparamstr
  15614.     CASE Noutput = 2
  15615.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.MouseMove"+Cparamstr + ;
  15616.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15617.     CASE Noutput = 3
  15618.         Wait Window "Formset1.Form2.PageFrame1.Page1.MouseMove"+Cparamstr Nowait
  15619.     ENDCASE
  15620. ENDIF
  15621. ENDPROC
  15622. PROCEDURE Page1.MouseUp
  15623. Parameters nButton, nShift, nXCoord, nYCoord
  15624. IF lTrackMouse
  15625.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15626.     DO CASE
  15627.     CASE Noutput = 1
  15628.         Activate Screen
  15629.         ? "Formset1.Form2.PageFrame1.Page1.MouseUp"+Cparamstr
  15630.     CASE Noutput = 2
  15631.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.MouseUp"+Cparamstr + ;
  15632.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15633.     CASE Noutput = 3
  15634.         Wait Window "Formset1.Form2.PageFrame1.Page1.MouseUp"+Cparamstr Nowait
  15635.     ENDCASE
  15636. ENDIF
  15637. ENDPROC
  15638. PROCEDURE Page1.RightClick
  15639. DO CASE
  15640. CASE Noutput = 1
  15641.     Activate Screen
  15642.     ? "Formset1.Form2.PageFrame1.Page1.RightClick"
  15643. CASE Noutput = 2
  15644.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page1.RightClick" + ;
  15645.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15646. CASE Noutput = 3
  15647.     Wait Window "Formset1.Form2.PageFrame1.Page1.RightClick" Nowait
  15648. ENDCASE
  15649. ENDPROC
  15650. PROCEDURE Page2.Activate
  15651. DO CASE
  15652. CASE Noutput = 1
  15653.     Activate Screen
  15654.     ? "Formset1.Form2.PageFrame1.Page2.Activate"
  15655. CASE Noutput = 2
  15656.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Activate" + ;
  15657.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15658. CASE Noutput = 3
  15659.     Wait Window "Formset1.Form2.PageFrame1.Page2.Activate" Nowait
  15660. ENDCASE
  15661. ENDPROC
  15662. PROCEDURE Page2.Deactivate
  15663. DO CASE
  15664. CASE Noutput = 1
  15665.     Activate Screen
  15666.     ? "Formset1.Form2.PageFrame1.Page2.Deactivate"
  15667. CASE Noutput = 2
  15668.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Deactivate" + ;
  15669.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15670. CASE Noutput = 3
  15671.     Wait Window "Formset1.Form2.PageFrame1.Page2.Deactivate" Nowait
  15672. ENDCASE
  15673. ENDPROC
  15674. PROCEDURE Page2.Destroy
  15675. DO CASE
  15676. CASE Noutput = 1
  15677.     Activate Screen
  15678.     ? "Formset1.Form2.PageFrame1.Page2.Destroy"
  15679. CASE Noutput = 2
  15680.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Destroy" + ;
  15681.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15682. CASE Noutput = 3
  15683.     Wait Window "Formset1.Form2.PageFrame1.Page2.Destroy" Nowait
  15684. ENDCASE
  15685. ENDPROC
  15686. PROCEDURE Page2.Init
  15687. DO CASE
  15688. CASE Noutput = 1
  15689.     Activate Screen
  15690.     ? "Formset1.Form2.PageFrame1.Page2.Init"
  15691. CASE Noutput = 2
  15692.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Init" + ;
  15693.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15694. CASE Noutput = 3
  15695.     Wait Window "Formset1.Form2.PageFrame1.Page2.Init" Nowait
  15696. ENDCASE
  15697. ENDPROC
  15698. PROCEDURE Page2.Click
  15699. DO CASE
  15700. CASE Noutput = 1
  15701.     Activate Screen
  15702.     ? "Formset1.Form2.PageFrame1.Page2.Click"
  15703. CASE Noutput = 2
  15704.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Click" + ;
  15705.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15706. CASE Noutput = 3
  15707.     Wait Window "Formset1.Form2.PageFrame1.Page2.Click" Nowait
  15708. ENDCASE
  15709. ENDPROC
  15710. PROCEDURE Page2.DblClick
  15711. DO CASE
  15712. CASE Noutput = 1
  15713.     Activate Screen
  15714.     ? "Formset1.Form2.PageFrame1.Page2.DblClick"
  15715. CASE Noutput = 2
  15716.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.DblClick" + ;
  15717.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15718. CASE Noutput = 3
  15719.     Wait Window "Formset1.Form2.PageFrame1.Page2.DblClick" Nowait
  15720. ENDCASE
  15721. ENDPROC
  15722. PROCEDURE Page2.DragDrop
  15723. Parameters cSource, nXCoord, nYCoord
  15724. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15725. DO CASE
  15726. CASE Noutput = 1
  15727.     Activate Screen
  15728.     ? "Formset1.Form2.PageFrame1.Page2.DragDrop"+Cparamstr
  15729. CASE Noutput = 2
  15730.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.DragDrop"+Cparamstr + ;
  15731.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15732. CASE Noutput = 3
  15733.     Wait Window "Formset1.Form2.PageFrame1.Page2.DragDrop"+Cparamstr Nowait
  15734. ENDCASE
  15735. ENDPROC
  15736. PROCEDURE Page2.DragOver
  15737. Parameters cSource, nXCoord, nYCoord, nState
  15738. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  15739. DO CASE
  15740. CASE Noutput = 1
  15741.     Activate Screen
  15742.     ? "Formset1.Form2.PageFrame1.Page2.DragOver"+Cparamstr
  15743. CASE Noutput = 2
  15744.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.DragOver"+Cparamstr + ;
  15745.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15746. CASE Noutput = 3
  15747.     Wait Window "Formset1.Form2.PageFrame1.Page2.DragOver"+Cparamstr Nowait
  15748. ENDCASE
  15749. ENDPROC
  15750. PROCEDURE Page2.MouseDown
  15751. Parameters nButton, nShift, nXCoord, nYCoord
  15752. IF lTrackMouse
  15753.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15754.     DO CASE
  15755.     CASE Noutput = 1
  15756.         Activate Screen
  15757.         ? "Formset1.Form2.PageFrame1.Page2.MouseDown"+Cparamstr
  15758.     CASE Noutput = 2
  15759.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.MouseDown"+Cparamstr + ;
  15760.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15761.     CASE Noutput = 3
  15762.         Wait Window "Formset1.Form2.PageFrame1.Page2.MouseDown"+Cparamstr Nowait
  15763.     ENDCASE
  15764. ENDIF
  15765. ENDPROC
  15766. PROCEDURE Page2.MouseMove
  15767. Parameters nButton, nShift, nXCoord, nYCoord
  15768. IF lTrackMouse
  15769.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15770.     DO CASE
  15771.     CASE Noutput = 1
  15772.         Activate Screen
  15773.         ? "Formset1.Form2.PageFrame1.Page2.MouseMove"+Cparamstr
  15774.     CASE Noutput = 2
  15775.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.MouseMove"+Cparamstr + ;
  15776.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15777.     CASE Noutput = 3
  15778.         Wait Window "Formset1.Form2.PageFrame1.Page2.MouseMove"+Cparamstr Nowait
  15779.     ENDCASE
  15780. ENDIF
  15781. ENDPROC
  15782. PROCEDURE Page2.MouseUp
  15783. Parameters nButton, nShift, nXCoord, nYCoord
  15784. IF lTrackMouse
  15785.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  15786.     DO CASE
  15787.     CASE Noutput = 1
  15788.         Activate Screen
  15789.         ? "Formset1.Form2.PageFrame1.Page2.MouseUp"+Cparamstr
  15790.     CASE Noutput = 2
  15791.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.MouseUp"+Cparamstr + ;
  15792.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  15793.     CASE Noutput = 3
  15794.         Wait Window "Formset1.Form2.PageFrame1.Page2.MouseUp"+Cparamstr Nowait
  15795.     ENDCASE
  15796. ENDIF
  15797. ENDPROC
  15798. PROCEDURE Page2.RightClick
  15799. DO CASE
  15800. CASE Noutput = 1
  15801.     Activate Screen
  15802.     ? "Formset1.Form2.PageFrame1.Page2.RightClick"
  15803. CASE Noutput = 2
  15804.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.RightClick" + ;
  15805.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  15806. CASE Noutput = 3
  15807.     Wait Window "Formset1.Form2.PageFrame1.Page2.RightClick" Nowait
  15808. ENDCASE
  15809. ENDPROC
  15810. Formset1.Form2.PageFrame1.Init
  15811. Formset1.Form2.PageFrame1.InitC
  15812. Formset1.Form2.PageFrame1.Init
  15813. NOUTPUT
  15814. THISFORMSET
  15815. EVENTWIN
  15816. EDIT1
  15817. VALUE
  15818. Formset1.Form2.PageFrame1.Destroy
  15819. Formset1.Form2.PageFrame1.DestroyC
  15820. Formset1.Form2.PageFrame1.Destroy
  15821. NOUTPUT
  15822. THISFORMSET
  15823. EVENTWIN
  15824. EDIT1
  15825. VALUE
  15826. Formset1.Form2.PageFrame1.Click
  15827. Formset1.Form2.PageFrame1.ClickC
  15828. Formset1.Form2.PageFrame1.Click
  15829. NOUTPUT
  15830. THISFORMSET
  15831. EVENTWIN
  15832. EDIT1
  15833. VALUE
  15834. Formset1.Form2.PageFrame1.DblClick
  15835. Formset1.Form2.PageFrame1.DblClickC
  15836. Formset1.Form2.PageFrame1.DblClick
  15837. NOUTPUT
  15838. THISFORMSET
  15839. EVENTWIN
  15840. EDIT1
  15841. VALUE<
  15842. Formset1.Form2.PageFrame1.DragDrop
  15843. Formset1.Form2.PageFrame1.DragDrop
  15844. Formset1.Form2.PageFrame1.DragDrop
  15845. CSOURCE
  15846. NXCOORD
  15847. NYCOORD    
  15848. CPARAMSTR
  15849. NOUTPUT
  15850. THISFORMSET
  15851. EVENTWIN
  15852. EDIT1
  15853. VALUEM
  15854. Formset1.Form2.PageFrame1.DragOver
  15855. Formset1.Form2.PageFrame1.DragOver
  15856. Formset1.Form2.PageFrame1.DragOver
  15857. CSOURCE
  15858. NXCOORD
  15859. NYCOORD
  15860. NSTATE    
  15861. CPARAMSTR
  15862. NOUTPUT
  15863. THISFORMSET
  15864. EVENTWIN
  15865. EDIT1
  15866. VALUEb
  15867. Formset1.Form2.PageFrame1.MouseDown
  15868. Formset1.Form2.PageFrame1.MouseDown
  15869. Formset1.Form2.PageFrame1.MouseDown
  15870. NBUTTON
  15871. NSHIFT
  15872. NXCOORD
  15873. NYCOORD
  15874. LTRACKMOUSE    
  15875. CPARAMSTR
  15876. NOUTPUT
  15877. THISFORMSET
  15878. EVENTWIN
  15879. EDIT1
  15880. VALUEb
  15881. Formset1.Form2.PageFrame1.MouseMove
  15882. Formset1.Form2.PageFrame1.MouseMove
  15883. Formset1.Form2.PageFrame1.MouseMove
  15884. NBUTTON
  15885. NSHIFT
  15886. NXCOORD
  15887. NYCOORD
  15888. LTRACKMOUSE    
  15889. CPARAMSTR
  15890. NOUTPUT
  15891. THISFORMSET
  15892. EVENTWIN
  15893. EDIT1
  15894. VALUE\
  15895. Formset1.Form2.PageFrame1.MouseUp
  15896. Formset1.Form2.PageFrame1.MouseUp
  15897. Formset1.Form2.PageFrame1.MouseUp
  15898. NBUTTON
  15899. NSHIFT
  15900. NXCOORD
  15901. NYCOORD
  15902. LTRACKMOUSE    
  15903. CPARAMSTR
  15904. NOUTPUT
  15905. THISFORMSET
  15906. EVENTWIN
  15907. EDIT1
  15908. VALUE
  15909. Formset1.Form2.PageFrame1.RightClick
  15910. Formset1.Form2.PageFrame1.RightClickC
  15911. Formset1.Form2.PageFrame1.RightClick
  15912. NOUTPUT
  15913. THISFORMSET
  15914. EVENTWIN
  15915. EDIT1
  15916. VALUE
  15917. Formset1.Form2.PageFrame1.Page1.Activate
  15918. Formset1.Form2.PageFrame1.Page1.ActivateC
  15919. Formset1.Form2.PageFrame1.Page1.Activate
  15920. NOUTPUT
  15921. THISFORMSET
  15922. EVENTWIN
  15923. EDIT1
  15924. VALUE
  15925. Formset1.Form2.PageFrame1.Page1.Deactivate
  15926. Formset1.Form2.PageFrame1.Page1.DeactivateC
  15927. Formset1.Form2.PageFrame1.Page1.Deactivate
  15928. NOUTPUT
  15929. THISFORMSET
  15930. EVENTWIN
  15931. EDIT1
  15932. VALUE
  15933. Formset1.Form2.PageFrame1.Page1.Destroy
  15934. Formset1.Form2.PageFrame1.Page1.DestroyC
  15935. Formset1.Form2.PageFrame1.Page1.Destroy
  15936. NOUTPUT
  15937. THISFORMSET
  15938. EVENTWIN
  15939. EDIT1
  15940. VALUE
  15941. Formset1.Form2.PageFrame1.Page1.Init
  15942. Formset1.Form2.PageFrame1.Page1.InitC
  15943. Formset1.Form2.PageFrame1.Page1.Init
  15944. NOUTPUT
  15945. THISFORMSET
  15946. EVENTWIN
  15947. EDIT1
  15948. VALUE
  15949. Formset1.Form2.PageFrame1.Page1.Click
  15950. Formset1.Form2.PageFrame1.Page1.ClickC
  15951. Formset1.Form2.PageFrame1.Page1.Click
  15952. NOUTPUT
  15953. THISFORMSET
  15954. EVENTWIN
  15955. EDIT1
  15956. VALUE
  15957. Formset1.Form2.PageFrame1.Page1.DblClick
  15958. Formset1.Form2.PageFrame1.Page1.DblClickC
  15959. Formset1.Form2.PageFrame1.Page1.DblClick
  15960. NOUTPUT
  15961. THISFORMSET
  15962. EVENTWIN
  15963. EDIT1
  15964. VALUEN
  15965. Formset1.Form2.PageFrame1.Page1.DragDrop
  15966. Formset1.Form2.PageFrame1.Page1.DragDrop
  15967. Formset1.Form2.PageFrame1.Page1.DragDrop
  15968. CSOURCE
  15969. NXCOORD
  15970. NYCOORD    
  15971. CPARAMSTR
  15972. NOUTPUT
  15973. THISFORMSET
  15974. EVENTWIN
  15975. EDIT1
  15976. VALUE_
  15977. Formset1.Form2.PageFrame1.Page1.DragOver
  15978. Formset1.Form2.PageFrame1.Page1.DragOver
  15979. Formset1.Form2.PageFrame1.Page1.DragOver
  15980. CSOURCE
  15981. NXCOORD
  15982. NYCOORD
  15983. NSTATE    
  15984. CPARAMSTR
  15985. NOUTPUT
  15986. THISFORMSET
  15987. EVENTWIN
  15988. EDIT1
  15989. VALUEt
  15990. Formset1.Form2.PageFrame1.Page1.MouseDown
  15991. Formset1.Form2.PageFrame1.Page1.MouseDown
  15992. Formset1.Form2.PageFrame1.Page1.MouseDown
  15993. NBUTTON
  15994. NSHIFT
  15995. NXCOORD
  15996. NYCOORD
  15997. LTRACKMOUSE    
  15998. CPARAMSTR
  15999. NOUTPUT
  16000. THISFORMSET
  16001. EVENTWIN
  16002. EDIT1
  16003. VALUEt
  16004. Formset1.Form2.PageFrame1.Page1.MouseMove
  16005. Formset1.Form2.PageFrame1.Page1.MouseMove
  16006. Formset1.Form2.PageFrame1.Page1.MouseMove
  16007. NBUTTON
  16008. NSHIFT
  16009. NXCOORD
  16010. NYCOORD
  16011. LTRACKMOUSE    
  16012. CPARAMSTR
  16013. NOUTPUT
  16014. THISFORMSET
  16015. EVENTWIN
  16016. EDIT1
  16017. VALUEn
  16018. Formset1.Form2.PageFrame1.Page1.MouseUp
  16019. Formset1.Form2.PageFrame1.Page1.MouseUp
  16020. Formset1.Form2.PageFrame1.Page1.MouseUp
  16021. NBUTTON
  16022. NSHIFT
  16023. NXCOORD
  16024. NYCOORD
  16025. LTRACKMOUSE    
  16026. CPARAMSTR
  16027. NOUTPUT
  16028. THISFORMSET
  16029. EVENTWIN
  16030. EDIT1
  16031. VALUE
  16032. Formset1.Form2.PageFrame1.Page1.RightClick
  16033. Formset1.Form2.PageFrame1.Page1.RightClickC
  16034. Formset1.Form2.PageFrame1.Page1.RightClick
  16035. NOUTPUT
  16036. THISFORMSET
  16037. EVENTWIN
  16038. EDIT1
  16039. VALUE
  16040. Formset1.Form2.PageFrame1.Page2.Activate
  16041. Formset1.Form2.PageFrame1.Page2.ActivateC
  16042. Formset1.Form2.PageFrame1.Page2.Activate
  16043. NOUTPUT
  16044. THISFORMSET
  16045. EVENTWIN
  16046. EDIT1
  16047. VALUE
  16048. Formset1.Form2.PageFrame1.Page2.Deactivate
  16049. Formset1.Form2.PageFrame1.Page2.DeactivateC
  16050. Formset1.Form2.PageFrame1.Page2.Deactivate
  16051. NOUTPUT
  16052. THISFORMSET
  16053. EVENTWIN
  16054. EDIT1
  16055. VALUE
  16056. Formset1.Form2.PageFrame1.Page2.Destroy
  16057. Formset1.Form2.PageFrame1.Page2.DestroyC
  16058. Formset1.Form2.PageFrame1.Page2.Destroy
  16059. NOUTPUT
  16060. THISFORMSET
  16061. EVENTWIN
  16062. EDIT1
  16063. VALUE
  16064. Formset1.Form2.PageFrame1.Page2.Init
  16065. Formset1.Form2.PageFrame1.Page2.InitC
  16066. Formset1.Form2.PageFrame1.Page2.Init
  16067. NOUTPUT
  16068. THISFORMSET
  16069. EVENTWIN
  16070. EDIT1
  16071. VALUE
  16072. Formset1.Form2.PageFrame1.Page2.Click
  16073. Formset1.Form2.PageFrame1.Page2.ClickC
  16074. Formset1.Form2.PageFrame1.Page2.Click
  16075. NOUTPUT
  16076. THISFORMSET
  16077. EVENTWIN
  16078. EDIT1
  16079. VALUE
  16080. Formset1.Form2.PageFrame1.Page2.DblClick
  16081. Formset1.Form2.PageFrame1.Page2.DblClickC
  16082. Formset1.Form2.PageFrame1.Page2.DblClick
  16083. NOUTPUT
  16084. THISFORMSET
  16085. EVENTWIN
  16086. EDIT1
  16087. VALUEN
  16088. Formset1.Form2.PageFrame1.Page2.DragDrop
  16089. Formset1.Form2.PageFrame1.Page2.DragDrop
  16090. Formset1.Form2.PageFrame1.Page2.DragDrop
  16091. CSOURCE
  16092. NXCOORD
  16093. NYCOORD    
  16094. CPARAMSTR
  16095. NOUTPUT
  16096. THISFORMSET
  16097. EVENTWIN
  16098. EDIT1
  16099. VALUE_
  16100. Formset1.Form2.PageFrame1.Page2.DragOver
  16101. Formset1.Form2.PageFrame1.Page2.DragOver
  16102. Formset1.Form2.PageFrame1.Page2.DragOver
  16103. CSOURCE
  16104. NXCOORD
  16105. NYCOORD
  16106. NSTATE    
  16107. CPARAMSTR
  16108. NOUTPUT
  16109. THISFORMSET
  16110. EVENTWIN
  16111. EDIT1
  16112. VALUEt
  16113. Formset1.Form2.PageFrame1.Page2.MouseDown
  16114. Formset1.Form2.PageFrame1.Page2.MouseDown
  16115. Formset1.Form2.PageFrame1.Page2.MouseDown
  16116. NBUTTON
  16117. NSHIFT
  16118. NXCOORD
  16119. NYCOORD
  16120. LTRACKMOUSE    
  16121. CPARAMSTR
  16122. NOUTPUT
  16123. THISFORMSET
  16124. EVENTWIN
  16125. EDIT1
  16126. VALUEt
  16127. Formset1.Form2.PageFrame1.Page2.MouseMove
  16128. Formset1.Form2.PageFrame1.Page2.MouseMove
  16129. Formset1.Form2.PageFrame1.Page2.MouseMove
  16130. NBUTTON
  16131. NSHIFT
  16132. NXCOORD
  16133. NYCOORD
  16134. LTRACKMOUSE    
  16135. CPARAMSTR
  16136. NOUTPUT
  16137. THISFORMSET
  16138. EVENTWIN
  16139. EDIT1
  16140. VALUEn
  16141. Formset1.Form2.PageFrame1.Page2.MouseUp
  16142. Formset1.Form2.PageFrame1.Page2.MouseUp
  16143. Formset1.Form2.PageFrame1.Page2.MouseUp
  16144. NBUTTON
  16145. NSHIFT
  16146. NXCOORD
  16147. NYCOORD
  16148. LTRACKMOUSE    
  16149. CPARAMSTR
  16150. NOUTPUT
  16151. THISFORMSET
  16152. EVENTWIN
  16153. EDIT1
  16154. VALUE
  16155. Formset1.Form2.PageFrame1.Page2.RightClick
  16156. Formset1.Form2.PageFrame1.Page2.RightClickC
  16157. Formset1.Form2.PageFrame1.Page2.RightClick
  16158. NOUTPUT
  16159. THISFORMSET
  16160. EVENTWIN
  16161. EDIT1
  16162. VALUE
  16163. Init,
  16164. DestroyD
  16165. Clicke
  16166. DblClick
  16167. DragDrop
  16168. DragOver>
  16169. MouseDown
  16170. MouseMove
  16171. MouseUp
  16172. RightClickX
  16173. Page1.Activate
  16174. Page1.Deactivate
  16175. Page1.Destroy
  16176. Page1.Init'
  16177. Page1.ClickQ
  16178. Page1.DblClick~
  16179. Page1.DragDrop
  16180. Page1.DragOver`
  16181. Page1.MouseDown%
  16182. Page1.MouseMove
  16183. Page1.MouseUp
  16184. Page1.RightClick
  16185. Page2.Activate
  16186. Page2.Deactivate4!
  16187. Page2.Destroyp"
  16188. Page2.Init
  16189. Page2.Click
  16190. Page2.DblClick
  16191. Page2.DragDrop0'
  16192. Page2.DragOver
  16193. Page2.MouseDown
  16194. Page2.MouseMove
  16195. Page2.MouseUpc.
  16196. Page2.RightClick>0
  16197. c:\vfp\samples\controls\events\
  16198. events.scx
  16199. c:\vfp\samples\controls\events\events.scx
  16200. checkbox
  16201. checkbox
  16202. Check1
  16203. Formset1.form2.Pageframe1.Page1
  16204. oTop = 10
  16205. Left = 12
  16206. Height = 17
  16207. Width = 113
  16208. BackColor = 192,192,192
  16209. Caption = "CheckBox"
  16210. Name = "Check1"
  16211. PROCEDURE Click
  16212. DO CASE
  16213. CASE Noutput = 1
  16214.     Activate Screen
  16215.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Click"
  16216. CASE Noutput = 2
  16217.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Click" + ;
  16218.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16219. CASE Noutput = 3
  16220.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Click" Nowait
  16221. ENDCASE
  16222. ENDPROC
  16223. PROCEDURE DragDrop
  16224. Parameters cSource, nXCoord, nYCoord
  16225. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16226. DO CASE
  16227. CASE Noutput = 1
  16228.     Activate Screen
  16229.     ? "Formset1.Form2.PageFrame1.Page2.Check1.DragDrop"+Cparamstr
  16230. CASE Noutput = 2
  16231.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.DragDrop"+Cparamstr + ;
  16232.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16233. CASE Noutput = 3
  16234.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.DragDrop"+Cparamstr Nowait
  16235. ENDCASE
  16236. ENDPROC
  16237. PROCEDURE DragOver
  16238. Parameters cSource, nXCoord, nYCoord, nState
  16239. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  16240. DO CASE
  16241. CASE Noutput = 1
  16242.     Activate Screen
  16243.     ? "Formset1.Form2.PageFrame1.Page2.Check1.DragOver"+Cparamstr
  16244. CASE Noutput = 2
  16245.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.DragOver"+Cparamstr + ;
  16246.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16247. CASE Noutput = 3
  16248.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.DragOver"+Cparamstr Nowait
  16249. ENDCASE
  16250. ENDPROC
  16251. PROCEDURE GotFocus
  16252. DO CASE
  16253. CASE Noutput = 1
  16254.     Activate Screen
  16255.     ? "Formset1.Form2.PageFrame1.Page2.Check1.GotFocus"
  16256. CASE Noutput = 2
  16257.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.GotFocus" + ;
  16258.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16259. CASE Noutput = 3
  16260.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.GotFocus" Nowait
  16261. ENDCASE
  16262. ENDPROC
  16263. PROCEDURE InteractiveChange
  16264. DO CASE
  16265. CASE Noutput = 1
  16266.     Activate Screen
  16267.     ? "Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange"
  16268. CASE Noutput = 2
  16269.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange" + ;
  16270.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16271. CASE Noutput = 3
  16272.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange" Nowait
  16273. ENDCASE
  16274. ENDPROC
  16275. PROCEDURE KeyPress
  16276. Parameters nKeyCode, nShiftAltCtrl
  16277. IF lTrackMouse
  16278.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  16279.     DO CASE
  16280.     CASE Noutput = 1
  16281.         Activate Screen
  16282.         ? "Formset1.Form2.PageFrame1.Page2.Check1.KeyPress"+Cparamstr
  16283.     CASE Noutput = 2
  16284.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.KeyPress"+Cparamstr + ;
  16285.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16286.     CASE Noutput = 3
  16287.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.KeyPress"+Cparamstr Nowait
  16288.     ENDCASE
  16289. ENDIF
  16290. ENDPROC
  16291. PROCEDURE LostFocus
  16292. DO CASE
  16293. CASE Noutput = 1
  16294.     Activate Screen
  16295.     ? "Formset1.Form2.PageFrame1.Page2.Check1.LostFocus"
  16296. CASE Noutput = 2
  16297.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.LostFocus" + ;
  16298.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16299. CASE Noutput = 3
  16300.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.LostFocus" Nowait
  16301. ENDCASE
  16302. ENDPROC
  16303. PROCEDURE MouseDown
  16304. Parameters nButton, nShift, nXCoord, nYCoord
  16305. IF lTrackMouse
  16306.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16307.     DO CASE
  16308.     CASE Noutput = 1
  16309.         Activate Screen
  16310.         ? "Formset1.Form2.PageFrame1.Page2.Check1.MouseDown"+Cparamstr
  16311.     CASE Noutput = 2
  16312.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.MouseDown"+Cparamstr + ;
  16313.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16314.     CASE Noutput = 3
  16315.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.MouseDown"+Cparamstr Nowait
  16316.     ENDCASE
  16317. ENDIF
  16318. ENDPROC
  16319. PROCEDURE MouseMove
  16320. Parameters nButton, nShift, nXCoord, nYCoord
  16321. IF lTrackMouse
  16322.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16323.     DO CASE
  16324.     CASE Noutput = 1
  16325.         Activate Screen
  16326.         ? "Formset1.Form2.PageFrame1.Page2.Check1.MouseMove"+Cparamstr
  16327.     CASE Noutput = 2
  16328.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.MouseMove"+Cparamstr + ;
  16329.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16330.     CASE Noutput = 3
  16331.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.MouseMove"+Cparamstr Nowait
  16332.     ENDCASE
  16333. ENDIF
  16334. ENDPROC
  16335. PROCEDURE MouseUp
  16336. Parameters nButton, nShift, nXCoord, nYCoord
  16337. IF lTrackMouse
  16338.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16339.     DO CASE
  16340.     CASE Noutput = 1
  16341.         Activate Screen
  16342.         ? "Formset1.Form2.PageFrame1.Page2.Check1.MouseUp"+Cparamstr
  16343.     CASE Noutput = 2
  16344.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.MouseUp"+Cparamstr + ;
  16345.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16346.     CASE Noutput = 3
  16347.         Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.MouseUp"+Cparamstr Nowait
  16348.     ENDCASE
  16349. ENDIF
  16350. ENDPROC
  16351. PROCEDURE RightClick
  16352. DO CASE
  16353. CASE Noutput = 1
  16354.     Activate Screen
  16355.     ? "Formset1.Form2.PageFrame1.Page2.Check1.RightClick"
  16356. CASE Noutput = 2
  16357.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.RightClick" + ;
  16358.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16359. CASE Noutput = 3
  16360.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.RightClick" Nowait
  16361. ENDCASE
  16362. ENDPROC
  16363. PROCEDURE Destroy
  16364. DO CASE
  16365. CASE Noutput = 1
  16366.     Activate Screen
  16367.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Destroy"
  16368. CASE Noutput = 2
  16369.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Destroy" + ;
  16370.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16371. CASE Noutput = 3
  16372.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Destroy" Nowait
  16373. ENDCASE
  16374. ENDPROC
  16375. PROCEDURE Init
  16376. DO CASE
  16377. CASE Noutput = 1
  16378.     Activate Screen
  16379.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Init"
  16380. CASE Noutput = 2
  16381.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Init" + ;
  16382.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16383. CASE Noutput = 3
  16384.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Init" Nowait
  16385. ENDCASE
  16386. ENDPROC
  16387. PROCEDURE When
  16388. DO CASE
  16389. CASE Noutput = 1
  16390.     Activate Screen
  16391.     ? "Formset1.Form2.PageFrame1.Page2.Check1.When"
  16392. CASE Noutput = 2
  16393.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.When" + ;
  16394.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16395. CASE Noutput = 3
  16396.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.When" Nowait
  16397. ENDCASE
  16398. ENDPROC
  16399. PROCEDURE Valid
  16400. DO CASE
  16401. CASE Noutput = 1
  16402.     Activate Screen
  16403.     ? "Formset1.Form2.PageFrame1.Page2.Check1.Valid"
  16404. CASE Noutput = 2
  16405.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Check1.Valid" + ;
  16406.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16407. CASE Noutput = 3
  16408.     Wait Window "Formset1.Form2.PageFrame1.Page2.Check1.Valid" Nowait
  16409. ENDCASE
  16410. ENDPROC
  16411. Formset1.Form2.PageFrame1.Page2.Check1.Click
  16412. Formset1.Form2.PageFrame1.Page2.Check1.ClickC
  16413. Formset1.Form2.PageFrame1.Page2.Check1.Click
  16414. NOUTPUT
  16415. THISFORMSET
  16416. EVENTWIN
  16417. EDIT1
  16418. VALUEc
  16419. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  16420. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  16421. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  16422. CSOURCE
  16423. NXCOORD
  16424. NYCOORD    
  16425. CPARAMSTR
  16426. NOUTPUT
  16427. THISFORMSET
  16428. EVENTWIN
  16429. EDIT1
  16430. VALUEt
  16431. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  16432. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  16433. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  16434. CSOURCE
  16435. NXCOORD
  16436. NYCOORD
  16437. NSTATE    
  16438. CPARAMSTR
  16439. NOUTPUT
  16440. THISFORMSET
  16441. EVENTWIN
  16442. EDIT1
  16443. VALUE
  16444. Formset1.Form2.PageFrame1.Page2.Check1.GotFocus
  16445. Formset1.Form2.PageFrame1.Page2.Check1.GotFocusC
  16446. Formset1.Form2.PageFrame1.Page2.Check1.GotFocus
  16447. NOUTPUT
  16448. THISFORMSET
  16449. EVENTWIN
  16450. EDIT1
  16451. VALUE4
  16452. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange
  16453. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChangeC
  16454. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange
  16455. NOUTPUT
  16456. THISFORMSET
  16457. EVENTWIN
  16458. EDIT1
  16459. VALUEd
  16460. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  16461. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  16462. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  16463. NKEYCODE
  16464. NSHIFTALTCTRL
  16465. LTRACKMOUSE    
  16466. CPARAMSTR
  16467. NOUTPUT
  16468. THISFORMSET
  16469. EVENTWIN
  16470. EDIT1
  16471. VALUE
  16472. Formset1.Form2.PageFrame1.Page2.Check1.LostFocus
  16473. Formset1.Form2.PageFrame1.Page2.Check1.LostFocusC
  16474. Formset1.Form2.PageFrame1.Page2.Check1.LostFocus
  16475. NOUTPUT
  16476. THISFORMSET
  16477. EVENTWIN
  16478. EDIT1
  16479. VALUE
  16480. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  16481. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  16482. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  16483. NBUTTON
  16484. NSHIFT
  16485. NXCOORD
  16486. NYCOORD
  16487. LTRACKMOUSE    
  16488. CPARAMSTR
  16489. NOUTPUT
  16490. THISFORMSET
  16491. EVENTWIN
  16492. EDIT1
  16493. VALUE
  16494. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  16495. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  16496. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  16497. NBUTTON
  16498. NSHIFT
  16499. NXCOORD
  16500. NYCOORD
  16501. LTRACKMOUSE    
  16502. CPARAMSTR
  16503. NOUTPUT
  16504. THISFORMSET
  16505. EVENTWIN
  16506. EDIT1
  16507. VALUE
  16508. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  16509. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  16510. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  16511. NBUTTON
  16512. NSHIFT
  16513. NXCOORD
  16514. NYCOORD
  16515. LTRACKMOUSE    
  16516. CPARAMSTR
  16517. NOUTPUT
  16518. THISFORMSET
  16519. EVENTWIN
  16520. EDIT1
  16521. VALUE
  16522. Formset1.Form2.PageFrame1.Page2.Check1.RightClick
  16523. Formset1.Form2.PageFrame1.Page2.Check1.RightClickC
  16524. Formset1.Form2.PageFrame1.Page2.Check1.RightClick
  16525. NOUTPUT
  16526. THISFORMSET
  16527. EVENTWIN
  16528. EDIT1
  16529. VALUE
  16530. Formset1.Form2.PageFrame1.Page2.Check1.Destroy
  16531. Formset1.Form2.PageFrame1.Page2.Check1.DestroyC
  16532. Formset1.Form2.PageFrame1.Page2.Check1.Destroy
  16533. NOUTPUT
  16534. THISFORMSET
  16535. EVENTWIN
  16536. EDIT1
  16537. VALUE
  16538. Formset1.Form2.PageFrame1.Page2.Check1.Init
  16539. Formset1.Form2.PageFrame1.Page2.Check1.InitC
  16540. Formset1.Form2.PageFrame1.Page2.Check1.Init
  16541. NOUTPUT
  16542. THISFORMSET
  16543. EVENTWIN
  16544. EDIT1
  16545. VALUE
  16546. Formset1.Form2.PageFrame1.Page2.Check1.When
  16547. Formset1.Form2.PageFrame1.Page2.Check1.WhenC
  16548. Formset1.Form2.PageFrame1.Page2.Check1.When
  16549. NOUTPUT
  16550. THISFORMSET
  16551. EVENTWIN
  16552. EDIT1
  16553. VALUE
  16554. Formset1.Form2.PageFrame1.Page2.Check1.Valid
  16555. Formset1.Form2.PageFrame1.Page2.Check1.ValidC
  16556. Formset1.Form2.PageFrame1.Page2.Check1.Valid
  16557. NOUTPUT
  16558. THISFORMSET
  16559. EVENTWIN
  16560. EDIT1
  16561. VALUE
  16562. Click,
  16563. DragDropn
  16564. DragOver/
  16565. GotFocus    
  16566. InteractiveChangeT
  16567. KeyPress
  16568. LostFocus
  16569. MouseDown
  16570. MouseMove
  16571. MouseUp
  16572. RightClick
  16573. Destroy
  16574. InitD
  16575. Valid
  16576. c:\vfp\samples\controls\events\
  16577. events.scx
  16578. c:\vfp\samples\controls\events\events.scx
  16579. textbox
  16580. textbox
  16581. Text1
  16582. Formset1.form2.Pageframe1.Page1
  16583. YValue = Text Box        
  16584. Height = 23
  16585. Left = 12
  16586. Top = 32
  16587. Width = 105
  16588. Name = "Text1"
  16589. PROCEDURE Click
  16590. DO CASE
  16591. CASE Noutput = 1
  16592.     Activate Screen
  16593.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Click"
  16594. CASE Noutput = 2
  16595.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Click" + ;
  16596.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16597. CASE Noutput = 3
  16598.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Click" Nowait
  16599. ENDCASE
  16600. ENDPROC
  16601. PROCEDURE DblClick
  16602. DO CASE
  16603. CASE Noutput = 1
  16604.     Activate Screen
  16605.     ? "Formset1.Form2.PageFrame1.Page2.Text1.DblClick"
  16606. CASE Noutput = 2
  16607.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.DblClick" + ;
  16608.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16609. CASE Noutput = 3
  16610.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.DblClick" Nowait
  16611. ENDCASE
  16612. ENDPROC
  16613. PROCEDURE DragDrop
  16614.  Parameters cSource, nXCoord, nYCoord
  16615. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16616. DO CASE
  16617. CASE Noutput = 1
  16618.     Activate Screen
  16619.     ? "Formset1.Form2.PageFrame1.Page2.Text1.DragDrop"+Cparamstr
  16620. CASE Noutput = 2
  16621.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.DragDrop"+Cparamstr + ;
  16622.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16623. CASE Noutput = 3
  16624.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.DragDrop"+Cparamstr Nowait
  16625. ENDCASE
  16626. ENDPROC
  16627. PROCEDURE DragOver
  16628. Parameters cSource, nXCoord, nYCoord, nState
  16629. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  16630. DO CASE
  16631. CASE Noutput = 1
  16632.     Activate Screen
  16633.     ? "Formset1.Form2.PageFrame1.Page2.Text1.DragOver"+Cparamstr
  16634. CASE Noutput = 2
  16635.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.DragOver"+Cparamstr + ;
  16636.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16637. CASE Noutput = 3
  16638.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.DragOver"+Cparamstr Nowait
  16639. ENDCASE
  16640. ENDPROC
  16641. PROCEDURE GotFocus
  16642. DO CASE
  16643. CASE Noutput = 1
  16644.     Activate Screen
  16645.     ? "Formset1.Form2.PageFrame1.Page2.Text1.GotFocus"
  16646. CASE Noutput = 2
  16647.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.GotFocus" + ;
  16648.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16649. CASE Noutput = 3
  16650.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.GotFocus" Nowait
  16651. ENDCASE
  16652. ENDPROC
  16653. PROCEDURE InteractiveChange
  16654. DO CASE
  16655. CASE Noutput = 1
  16656.     Activate Screen
  16657.     ? "Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange"
  16658. CASE Noutput = 2
  16659.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange" + ;
  16660.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16661. CASE Noutput = 3
  16662.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange" Nowait
  16663. ENDCASE
  16664. ENDPROC
  16665. PROCEDURE KeyPress
  16666. Parameters nKeyCode, nShiftAltCtrl
  16667. IF lTrackMouse
  16668.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  16669.     DO CASE
  16670.     CASE Noutput = 1
  16671.         Activate Screen
  16672.         ? "Formset1.Form2.PageFrame1.Page2.Text1.KeyPress"+Cparamstr
  16673.     CASE Noutput = 2
  16674.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.KeyPress"+Cparamstr + ;
  16675.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16676.     CASE Noutput = 3
  16677.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.KeyPress"+Cparamstr Nowait
  16678.     ENDCASE
  16679. ENDIF
  16680. ENDPROC
  16681. PROCEDURE LostFocus
  16682. DO CASE
  16683. CASE Noutput = 1
  16684.     Activate Screen
  16685.     ? "Formset1.Form2.PageFrame1.Page2.Text1.LostFocus"
  16686. CASE Noutput = 2
  16687.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.LostFocus" + ;
  16688.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16689. CASE Noutput = 3
  16690.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.LostFocus" Nowait
  16691. ENDCASE
  16692. ENDPROC
  16693. PROCEDURE MouseDown
  16694. Parameters nButton, nShift, nXCoord, nYCoord
  16695. IF lTrackMouse
  16696.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16697.     DO CASE
  16698.     CASE Noutput = 1
  16699.         Activate Screen
  16700.         ? "Formset1.Form2.PageFrame1.Page2.Text1.MouseDown"+Cparamstr
  16701.     CASE Noutput = 2
  16702.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.MouseDown"+Cparamstr + ;
  16703.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16704.     CASE Noutput = 3
  16705.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.MouseDown"+Cparamstr Nowait
  16706.     ENDCASE
  16707. ENDIF
  16708. ENDPROC
  16709. PROCEDURE MouseMove
  16710. Parameters nButton, nShift, nXCoord, nYCoord
  16711. IF lTrackMouse
  16712.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16713.     DO CASE
  16714.     CASE Noutput = 1
  16715.         Activate Screen
  16716.         ? "Formset1.Form2.PageFrame1.Page2.Text1.MouseMove"+Cparamstr
  16717.     CASE Noutput = 2
  16718.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.MouseMove"+Cparamstr + ;
  16719.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16720.     CASE Noutput = 3
  16721.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.MouseMove"+Cparamstr Nowait
  16722.     ENDCASE
  16723. ENDIF
  16724. ENDPROC
  16725. PROCEDURE MouseUp
  16726. Parameters nButton, nShift, nXCoord, nYCoord
  16727. IF lTrackMouse
  16728.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  16729.     DO CASE
  16730.     CASE Noutput = 1
  16731.         Activate Screen
  16732.         ? "Formset1.Form2.PageFrame1.Page2.Text1.MouseUp"+Cparamstr
  16733.     CASE Noutput = 2
  16734.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.MouseUp"+Cparamstr + ;
  16735.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  16736.     CASE Noutput = 3
  16737.         Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.MouseUp"+Cparamstr Nowait
  16738.     ENDCASE
  16739. ENDIF
  16740. ENDPROC
  16741. PROCEDURE RightClick
  16742. DO CASE
  16743. CASE Noutput = 1
  16744.     Activate Screen
  16745.     ? "Formset1.Form2.PageFrame1.Page2.Text1.RightClick"
  16746. CASE Noutput = 2
  16747.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.RightClick" + ;
  16748.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16749. CASE Noutput = 3
  16750.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.RightClick" Nowait
  16751. ENDCASE
  16752. ENDPROC
  16753. PROCEDURE Destroy
  16754. DO CASE
  16755. CASE Noutput = 1
  16756.     Activate Screen
  16757.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Destroy"
  16758. CASE Noutput = 2
  16759.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Destroy" + ;
  16760.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16761. CASE Noutput = 3
  16762.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Destroy" Nowait
  16763. ENDCASE
  16764. ENDPROC
  16765. PROCEDURE Init
  16766. DO CASE
  16767. CASE Noutput = 1
  16768.     Activate Screen
  16769.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Init"
  16770. CASE Noutput = 2
  16771.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Init" + ;
  16772.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16773. CASE Noutput = 3
  16774.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Init" Nowait
  16775. ENDCASE
  16776. ENDPROC
  16777. PROCEDURE When
  16778. DO CASE
  16779. CASE Noutput = 1
  16780.     Activate Screen
  16781.     ? "Formset1.Form2.PageFrame1.Page2.Text1.When"
  16782. CASE Noutput = 2
  16783.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.When" + ;
  16784.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16785. CASE Noutput = 3
  16786.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.When" Nowait
  16787. ENDCASE
  16788. ENDPROC
  16789. PROCEDURE Valid
  16790. DO CASE
  16791. CASE Noutput = 1
  16792.     Activate Screen
  16793.     ? "Formset1.Form2.PageFrame1.Page2.Text1.Valid"
  16794. CASE Noutput = 2
  16795.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Text1.Valid" + ;
  16796.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16797. CASE Noutput = 3
  16798.     Wait Window "Formset1.Form2.PageFrame1.Page2.Text1.Valid" Nowait
  16799. ENDCASE
  16800. ENDPROC
  16801. Formset1.Form2.PageFrame1.Page2.Text1.Click
  16802. Formset1.Form2.PageFrame1.Page2.Text1.ClickC
  16803. Formset1.Form2.PageFrame1.Page2.Text1.Click
  16804. NOUTPUT
  16805. THISFORMSET
  16806. EVENTWIN
  16807. EDIT1
  16808. VALUE
  16809. Formset1.Form2.PageFrame1.Page2.Text1.DblClick
  16810. Formset1.Form2.PageFrame1.Page2.Text1.DblClickC
  16811. Formset1.Form2.PageFrame1.Page2.Text1.DblClick
  16812. NOUTPUT
  16813. THISFORMSET
  16814. EVENTWIN
  16815. EDIT1
  16816. VALUE`
  16817. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  16818. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  16819. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  16820. CSOURCE
  16821. NXCOORD
  16822. NYCOORD    
  16823. CPARAMSTR
  16824. NOUTPUT
  16825. THISFORMSET
  16826. EVENTWIN
  16827. EDIT1
  16828. VALUEq
  16829. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  16830. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  16831. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  16832. CSOURCE
  16833. NXCOORD
  16834. NYCOORD
  16835. NSTATE    
  16836. CPARAMSTR
  16837. NOUTPUT
  16838. THISFORMSET
  16839. EVENTWIN
  16840. EDIT1
  16841. VALUE
  16842. Formset1.Form2.PageFrame1.Page2.Text1.GotFocus
  16843. Formset1.Form2.PageFrame1.Page2.Text1.GotFocusC
  16844. Formset1.Form2.PageFrame1.Page2.Text1.GotFocus
  16845. NOUTPUT
  16846. THISFORMSET
  16847. EVENTWIN
  16848. EDIT1
  16849. VALUE1
  16850. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange
  16851. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChangeC
  16852. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange
  16853. NOUTPUT
  16854. THISFORMSET
  16855. EVENTWIN
  16856. EDIT1
  16857. VALUEa
  16858. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  16859. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  16860. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  16861. NKEYCODE
  16862. NSHIFTALTCTRL
  16863. LTRACKMOUSE    
  16864. CPARAMSTR
  16865. NOUTPUT
  16866. THISFORMSET
  16867. EVENTWIN
  16868. EDIT1
  16869. VALUE
  16870. Formset1.Form2.PageFrame1.Page2.Text1.LostFocus
  16871. Formset1.Form2.PageFrame1.Page2.Text1.LostFocusC
  16872. Formset1.Form2.PageFrame1.Page2.Text1.LostFocus
  16873. NOUTPUT
  16874. THISFORMSET
  16875. EVENTWIN
  16876. EDIT1
  16877. VALUE
  16878. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  16879. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  16880. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  16881. NBUTTON
  16882. NSHIFT
  16883. NXCOORD
  16884. NYCOORD
  16885. LTRACKMOUSE    
  16886. CPARAMSTR
  16887. NOUTPUT
  16888. THISFORMSET
  16889. EVENTWIN
  16890. EDIT1
  16891. VALUE
  16892. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  16893. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  16894. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  16895. NBUTTON
  16896. NSHIFT
  16897. NXCOORD
  16898. NYCOORD
  16899. LTRACKMOUSE    
  16900. CPARAMSTR
  16901. NOUTPUT
  16902. THISFORMSET
  16903. EVENTWIN
  16904. EDIT1
  16905. VALUE
  16906. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  16907. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  16908. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  16909. NBUTTON
  16910. NSHIFT
  16911. NXCOORD
  16912. NYCOORD
  16913. LTRACKMOUSE    
  16914. CPARAMSTR
  16915. NOUTPUT
  16916. THISFORMSET
  16917. EVENTWIN
  16918. EDIT1
  16919. VALUE
  16920. Formset1.Form2.PageFrame1.Page2.Text1.RightClick
  16921. Formset1.Form2.PageFrame1.Page2.Text1.RightClickC
  16922. Formset1.Form2.PageFrame1.Page2.Text1.RightClick
  16923. NOUTPUT
  16924. THISFORMSET
  16925. EVENTWIN
  16926. EDIT1
  16927. VALUE
  16928. Formset1.Form2.PageFrame1.Page2.Text1.Destroy
  16929. Formset1.Form2.PageFrame1.Page2.Text1.DestroyC
  16930. Formset1.Form2.PageFrame1.Page2.Text1.Destroy
  16931. NOUTPUT
  16932. THISFORMSET
  16933. EVENTWIN
  16934. EDIT1
  16935. VALUE
  16936. Formset1.Form2.PageFrame1.Page2.Text1.Init
  16937. Formset1.Form2.PageFrame1.Page2.Text1.InitC
  16938. Formset1.Form2.PageFrame1.Page2.Text1.Init
  16939. NOUTPUT
  16940. THISFORMSET
  16941. EVENTWIN
  16942. EDIT1
  16943. VALUE
  16944. Formset1.Form2.PageFrame1.Page2.Text1.When
  16945. Formset1.Form2.PageFrame1.Page2.Text1.WhenC
  16946. Formset1.Form2.PageFrame1.Page2.Text1.When
  16947. NOUTPUT
  16948. THISFORMSET
  16949. EVENTWIN
  16950. EDIT1
  16951. VALUE
  16952. Formset1.Form2.PageFrame1.Page2.Text1.Valid
  16953. Formset1.Form2.PageFrame1.Page2.Text1.ValidC
  16954. Formset1.Form2.PageFrame1.Page2.Text1.Valid
  16955. NOUTPUT
  16956. THISFORMSET
  16957. EVENTWIN
  16958. EDIT1
  16959. VALUE
  16960. Click,
  16961. DblClickk
  16962. DragDrop
  16963. DragOverq
  16964. GotFocusH
  16965. InteractiveChange
  16966. KeyPress
  16967. LostFocus
  16968. MouseDown
  16969. MouseMove
  16970. MouseUp
  16971. RightClick
  16972. Destroy#
  16973. Inith
  16974. Valid
  16975. c:\vfp\samples\controls\events\
  16976. events.scx
  16977. c:\vfp\samples\controls\events\events.scx
  16978. combobox
  16979. combobox
  16980. Combo1
  16981. Formset1.form2.Pageframe1.Page2
  16982. RowSourceType = 1
  16983. RowSource = "one,two,three,four,five,six,seven,eight,nine,ten"
  16984. Height = 22
  16985. Left = 9
  16986. Top = 8
  16987. Width = 101
  16988. Name = "Combo1"
  16989. PROCEDURE Click
  16990. DO CASE
  16991. CASE Noutput = 1
  16992.     Activate Screen
  16993.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Click"
  16994. CASE Noutput = 2
  16995.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Click" + ;
  16996.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  16997. CASE Noutput = 3
  16998.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Click" Nowait
  16999. ENDCASE
  17000. ENDPROC
  17001. PROCEDURE DblClick
  17002. DO CASE
  17003. CASE Noutput = 1
  17004.     Activate Screen
  17005.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DblClick"
  17006. CASE Noutput = 2
  17007.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DblClick" + ;
  17008.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17009. CASE Noutput = 3
  17010.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DblClick" Nowait
  17011. ENDCASE
  17012. ENDPROC
  17013. PROCEDURE DownClick
  17014. DO CASE
  17015. CASE Noutput = 1
  17016.     Activate Screen
  17017.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DownClick"
  17018. CASE Noutput = 2
  17019.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DownClick" + ;
  17020.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17021. CASE Noutput = 3
  17022.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DownClick" Nowait
  17023. ENDCASE
  17024. ENDPROC
  17025. PROCEDURE DragDrop
  17026. Parameters cSource, nXCoord, nYCoord
  17027. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17028. DO CASE
  17029. CASE Noutput = 1
  17030.     Activate Screen
  17031.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop"+Cparamstr
  17032. CASE Noutput = 2
  17033.     ThisFormSet.EventWin.Edit1.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop"+Cparamstr + ;
  17034.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17035. CASE Noutput = 3
  17036.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop"+Cparamstr Nowait
  17037. ENDCASE
  17038. ENDPROC
  17039. PROCEDURE DragOver
  17040. Parameters cSource, nXCoord, nYCoord, nState
  17041. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  17042. DO CASE
  17043. CASE Noutput = 1
  17044.     Activate Screen
  17045.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DragOver"+Cparamstr
  17046. CASE Noutput = 2
  17047.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DragOver"+Cparamstr + ;
  17048.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17049. CASE Noutput = 3
  17050.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DragOver"+Cparamstr Nowait
  17051. ENDCASE
  17052. ENDPROC
  17053. PROCEDURE DropDown
  17054. Parameters nIndex
  17055. *Cparamstr = ","+allt(str(nIndex))
  17056. Cparamstr = ""
  17057. DO CASE
  17058. CASE Noutput = 1
  17059.     Activate Screen
  17060.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.DropDown"+Cparamstr
  17061. CASE Noutput = 2
  17062.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.DropDown"+Cparamstr + ;
  17063.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17064. CASE Noutput = 3
  17065.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.DropDown"+Cparamstr Nowait
  17066. ENDCASE
  17067. ENDPROC
  17068. PROCEDURE GotFocus
  17069. DO CASE
  17070. CASE Noutput = 1
  17071.     Activate Screen
  17072.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus"
  17073. CASE Noutput = 2
  17074.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus" + ;
  17075.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17076. CASE Noutput = 3
  17077.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus" Nowait
  17078. ENDCASE
  17079. ENDPROC
  17080. PROCEDURE InteractiveChange
  17081. DO CASE
  17082. CASE Noutput = 1
  17083.     Activate Screen
  17084.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange"
  17085. CASE Noutput = 2
  17086.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange" + ;
  17087.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17088. CASE Noutput = 3
  17089.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange" Nowait
  17090. ENDCASE
  17091. ENDPROC
  17092. PROCEDURE KeyPress
  17093. Parameters nKeyCode, nShiftAltCtrl
  17094. IF lTrackMouse
  17095.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  17096.     DO CASE
  17097.     CASE Noutput = 1
  17098.         Activate Screen
  17099.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress"+Cparamstr
  17100.     CASE Noutput = 2
  17101.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress"+Cparamstr + ;
  17102.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17103.     CASE Noutput = 3
  17104.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress"+Cparamstr Nowait
  17105.     ENDCASE
  17106. ENDIF
  17107. ENDPROC
  17108. PROCEDURE LostFocus
  17109. DO CASE
  17110. CASE Noutput = 1
  17111.     Activate Screen
  17112.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus"
  17113. CASE Noutput = 2
  17114.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus" + ;
  17115.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17116. CASE Noutput = 3
  17117.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus" Nowait
  17118. ENDCASE
  17119. ENDPROC
  17120. PROCEDURE MouseDown
  17121. Parameters nButton, nShift, nXCoord, nYCoord
  17122. IF lTrackMouse
  17123.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17124.     DO CASE
  17125.     CASE Noutput = 1
  17126.         Activate Screen
  17127.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown"+Cparamstr
  17128.     CASE Noutput = 2
  17129.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown"+Cparamstr + ;
  17130.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17131.     CASE Noutput = 3
  17132.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown"+Cparamstr Nowait
  17133.     ENDCASE
  17134. ENDIF
  17135. ENDPROC
  17136. PROCEDURE MouseMove
  17137. Parameters nButton, nShift, nXCoord, nYCoord
  17138. IF lTrackMouse
  17139.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17140.     DO CASE
  17141.     CASE Noutput = 1
  17142.         Activate Screen
  17143.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove"+Cparamstr
  17144.     CASE Noutput = 2
  17145.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove"+Cparamstr + ;
  17146.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17147.     CASE Noutput = 3
  17148.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove"+Cparamstr Nowait
  17149.     ENDCASE
  17150. ENDIF
  17151. ENDPROC
  17152. PROCEDURE MouseUp
  17153. Parameters nButton, nShift, nXCoord, nYCoord
  17154. IF lTrackMouse
  17155.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17156.     DO CASE
  17157.     CASE Noutput = 1
  17158.         Activate Screen
  17159.         ? "Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp"+Cparamstr
  17160.     CASE Noutput = 2
  17161.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp"+Cparamstr + ;
  17162.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17163.     CASE Noutput = 3
  17164.         Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp"+Cparamstr Nowait
  17165.     ENDCASE
  17166. ENDIF
  17167. ENDPROC
  17168. PROCEDURE RightClick
  17169. DO CASE
  17170. CASE Noutput = 1
  17171.     Activate Screen
  17172.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.RightClick"
  17173. CASE Noutput = 2
  17174.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.RightClick" + ;
  17175.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17176. CASE Noutput = 3
  17177.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.RightClick" Nowait
  17178. ENDCASE
  17179. ENDPROC
  17180. PROCEDURE UpClick
  17181. DO CASE
  17182. CASE Noutput = 1
  17183.     Activate Screen
  17184.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.UpClick"
  17185. CASE Noutput = 2
  17186.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.UpClick" + ;
  17187.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17188. CASE Noutput = 3
  17189.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.UpClick" Nowait
  17190. ENDCASE
  17191. ENDPROC
  17192. PROCEDURE Destroy
  17193. DO CASE
  17194. CASE Noutput = 1
  17195.     Activate Screen
  17196.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Destroy"
  17197. CASE Noutput = 2
  17198.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Destroy" + ;
  17199.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17200. CASE Noutput = 3
  17201.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Destroy" Nowait
  17202. ENDCASE
  17203. ENDPROC
  17204. PROCEDURE Init
  17205. DO CASE
  17206. CASE Noutput = 1
  17207.     Activate Screen
  17208.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Init"
  17209. CASE Noutput = 2
  17210.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Init" + ;
  17211.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17212. CASE Noutput = 3
  17213.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Init" Nowait
  17214. ENDCASE
  17215. ENDPROC
  17216. PROCEDURE When
  17217. DO CASE
  17218. CASE Noutput = 1
  17219.     Activate Screen
  17220.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.When"
  17221. CASE Noutput = 2
  17222.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.When" + ;
  17223.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17224. CASE Noutput = 3
  17225.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.When" Nowait
  17226. ENDCASE
  17227. ENDPROC
  17228. PROCEDURE Valid
  17229. DO CASE
  17230. CASE Noutput = 1
  17231.     Activate Screen
  17232.     ? "Formset1.Form2.PageFrame1.Page2.Combo1.Valid"
  17233. CASE Noutput = 2
  17234.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Combo1.Valid" + ;
  17235.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17236. CASE Noutput = 3
  17237.     Wait Window "Formset1.Form2.PageFrame1.Page2.Combo1.Valid" Nowait
  17238. ENDCASE
  17239. ENDPROC
  17240. Formset1.Form2.PageFrame1.Page2.Combo1.Click
  17241. Formset1.Form2.PageFrame1.Page2.Combo1.ClickC
  17242. Formset1.Form2.PageFrame1.Page2.Combo1.Click
  17243. NOUTPUT
  17244. THISFORMSET
  17245. EVENTWIN
  17246. EDIT1
  17247. VALUE
  17248. Formset1.Form2.PageFrame1.Page2.Combo1.DblClick
  17249. Formset1.Form2.PageFrame1.Page2.Combo1.DblClickC
  17250. Formset1.Form2.PageFrame1.Page2.Combo1.DblClick
  17251. NOUTPUT
  17252. THISFORMSET
  17253. EVENTWIN
  17254. EDIT1
  17255. VALUE
  17256. Formset1.Form2.PageFrame1.Page2.Combo1.DownClick
  17257. Formset1.Form2.PageFrame1.Page2.Combo1.DownClickC
  17258. Formset1.Form2.PageFrame1.Page2.Combo1.DownClick
  17259. NOUTPUT
  17260. THISFORMSET
  17261. EVENTWIN
  17262. EDIT1
  17263. VALUEf
  17264. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  17265. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  17266. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  17267. CSOURCE
  17268. NXCOORD
  17269. NYCOORD    
  17270. CPARAMSTR
  17271. NOUTPUT
  17272. THISFORMSET
  17273. EVENTWIN
  17274. EDIT1
  17275. VALUEt
  17276. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  17277. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  17278. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  17279. CSOURCE
  17280. NXCOORD
  17281. NYCOORD
  17282. NSTATE    
  17283. CPARAMSTR
  17284. NOUTPUT
  17285. THISFORMSET
  17286. EVENTWIN
  17287. EDIT1
  17288. VALUE9
  17289. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  17290. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  17291. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  17292. NINDEX    
  17293. CPARAMSTR
  17294. NOUTPUT
  17295. THISFORMSET
  17296. EVENTWIN
  17297. EDIT1
  17298. VALUE
  17299. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus
  17300. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocusC
  17301. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus
  17302. NOUTPUT
  17303. THISFORMSET
  17304. EVENTWIN
  17305. EDIT1
  17306. VALUE4
  17307. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange
  17308. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChangeC
  17309. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange
  17310. NOUTPUT
  17311. THISFORMSET
  17312. EVENTWIN
  17313. EDIT1
  17314. VALUEd
  17315. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  17316. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  17317. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  17318. NKEYCODE
  17319. NSHIFTALTCTRL
  17320. LTRACKMOUSE    
  17321. CPARAMSTR
  17322. NOUTPUT
  17323. THISFORMSET
  17324. EVENTWIN
  17325. EDIT1
  17326. VALUE
  17327. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus
  17328. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocusC
  17329. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus
  17330. NOUTPUT
  17331. THISFORMSET
  17332. EVENTWIN
  17333. EDIT1
  17334. VALUE
  17335. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  17336. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  17337. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  17338. NBUTTON
  17339. NSHIFT
  17340. NXCOORD
  17341. NYCOORD
  17342. LTRACKMOUSE    
  17343. CPARAMSTR
  17344. NOUTPUT
  17345. THISFORMSET
  17346. EVENTWIN
  17347. EDIT1
  17348. VALUE
  17349. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  17350. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  17351. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  17352. NBUTTON
  17353. NSHIFT
  17354. NXCOORD
  17355. NYCOORD
  17356. LTRACKMOUSE    
  17357. CPARAMSTR
  17358. NOUTPUT
  17359. THISFORMSET
  17360. EVENTWIN
  17361. EDIT1
  17362. VALUE
  17363. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  17364. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  17365. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  17366. NBUTTON
  17367. NSHIFT
  17368. NXCOORD
  17369. NYCOORD
  17370. LTRACKMOUSE    
  17371. CPARAMSTR
  17372. NOUTPUT
  17373. THISFORMSET
  17374. EVENTWIN
  17375. EDIT1
  17376. VALUE
  17377. Formset1.Form2.PageFrame1.Page2.Combo1.RightClick
  17378. Formset1.Form2.PageFrame1.Page2.Combo1.RightClickC
  17379. Formset1.Form2.PageFrame1.Page2.Combo1.RightClick
  17380. NOUTPUT
  17381. THISFORMSET
  17382. EVENTWIN
  17383. EDIT1
  17384. VALUE
  17385. Formset1.Form2.PageFrame1.Page2.Combo1.UpClick
  17386. Formset1.Form2.PageFrame1.Page2.Combo1.UpClickC
  17387. Formset1.Form2.PageFrame1.Page2.Combo1.UpClick
  17388. NOUTPUT
  17389. THISFORMSET
  17390. EVENTWIN
  17391. EDIT1
  17392. VALUE
  17393. Formset1.Form2.PageFrame1.Page2.Combo1.Destroy
  17394. Formset1.Form2.PageFrame1.Page2.Combo1.DestroyC
  17395. Formset1.Form2.PageFrame1.Page2.Combo1.Destroy
  17396. NOUTPUT
  17397. THISFORMSET
  17398. EVENTWIN
  17399. EDIT1
  17400. VALUE
  17401. Formset1.Form2.PageFrame1.Page2.Combo1.Init
  17402. Formset1.Form2.PageFrame1.Page2.Combo1.InitC
  17403. Formset1.Form2.PageFrame1.Page2.Combo1.Init
  17404. NOUTPUT
  17405. THISFORMSET
  17406. EVENTWIN
  17407. EDIT1
  17408. VALUE
  17409. Formset1.Form2.PageFrame1.Page2.Combo1.When
  17410. Formset1.Form2.PageFrame1.Page2.Combo1.WhenC
  17411. Formset1.Form2.PageFrame1.Page2.Combo1.When
  17412. NOUTPUT
  17413. THISFORMSET
  17414. EVENTWIN
  17415. EDIT1
  17416. VALUE
  17417. Formset1.Form2.PageFrame1.Page2.Combo1.Valid
  17418. Formset1.Form2.PageFrame1.Page2.Combo1.ValidC
  17419. Formset1.Form2.PageFrame1.Page2.Combo1.Valid
  17420. NOUTPUT
  17421. THISFORMSET
  17422. EVENTWIN
  17423. EDIT1
  17424. VALUE
  17425. Click,
  17426. DblClickn
  17427. DownClick
  17428. DragDrop
  17429. DragOver
  17430. DropDown
  17431. GotFocus#    
  17432. InteractiveChangen
  17433. KeyPress
  17434. LostFocus
  17435. MouseDown
  17436. MouseMove
  17437. MouseUp
  17438. RightClick
  17439. UpClick
  17440. Destroy^
  17441. Valid$
  17442. c:\vfp\samples\controls\events\
  17443. events.scx
  17444. c:\vfp\samples\controls\events\events.scx
  17445. label
  17446. label
  17447. Label1
  17448. Formset1.form2.Pageframe1.Page2
  17449. iBackColor = 0,255,255
  17450. Caption = "Label"
  17451. Height = 17
  17452. Left = 9
  17453. Top = 36
  17454. Width = 105
  17455. Name = "Label1"
  17456. PROCEDURE Click
  17457. DO CASE
  17458. CASE Noutput = 1
  17459.     Activate Screen
  17460.     ? "Formset1.Form2.PageFrame1.Page2.Label1.Click"
  17461. CASE Noutput = 2
  17462.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.Click" + ;
  17463.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17464. CASE Noutput = 3
  17465.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.Click" Nowait
  17466. ENDCASE
  17467. ENDPROC
  17468. PROCEDURE DblClick
  17469. DO CASE
  17470. CASE Noutput = 1
  17471.     Activate Screen
  17472.     ? "Formset1.Form2.PageFrame1.Page2.Label1.DblClick"
  17473. CASE Noutput = 2
  17474.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.DblClick" + ;
  17475.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17476. CASE Noutput = 3
  17477.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.DblClick" Nowait
  17478. ENDCASE
  17479. ENDPROC
  17480. PROCEDURE DragDrop
  17481. Parameters cSource, nXCoord, nYCoord
  17482. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17483. DO CASE
  17484. CASE Noutput = 1
  17485.     Activate Screen
  17486.     ? "Formset1.Form2.PageFrame1.Page2.Label1.DragDrop"+Cparamstr
  17487. CASE Noutput = 2
  17488.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.DragDrop"+Cparamstr + ;
  17489.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17490. CASE Noutput = 3
  17491.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.DragDrop"+Cparamstr Nowait
  17492. ENDCASE
  17493. ENDPROC
  17494. PROCEDURE DragOver
  17495. Parameters cSource, nXCoord, nYCoord, nState
  17496. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  17497. DO CASE
  17498. CASE Noutput = 1
  17499.     Activate Screen
  17500.     ? "Formset1.Form2.PageFrame1.Page2.Label1.DragOver"+Cparamstr
  17501. CASE Noutput = 2
  17502.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.DragOver"+Cparamstr + ;
  17503.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17504. CASE Noutput = 3
  17505.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.DragOver"+Cparamstr Nowait
  17506. ENDCASE
  17507. ENDPROC
  17508. PROCEDURE MouseDown
  17509. Parameters nButton, nShift, nXCoord, nYCoord
  17510. IF lTrackMouse
  17511.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17512.     DO CASE
  17513.     CASE Noutput = 1
  17514.         Activate Screen
  17515.         ? "Formset1.Form2.PageFrame1.Page2.Label1.MouseDown"+Cparamstr
  17516.     CASE Noutput = 2
  17517.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.MouseDown"+Cparamstr + ;
  17518.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17519.     CASE Noutput = 3
  17520.         Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.MouseDown"+Cparamstr Nowait
  17521.     ENDCASE
  17522. ENDIF
  17523. ENDPROC
  17524. PROCEDURE MouseMove
  17525. Parameters nButton, nShift, nXCoord, nYCoord
  17526. IF lTrackMouse
  17527.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17528.     DO CASE
  17529.     CASE Noutput = 1
  17530.         Activate Screen
  17531.         ? "Formset1.Form2.PageFrame1.Page2.Label1.MouseMove"+Cparamstr
  17532.     CASE Noutput = 2
  17533.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.MouseMove"+Cparamstr + ;
  17534.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17535.     CASE Noutput = 3
  17536.         Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.MouseMove"+Cparamstr Nowait
  17537.     ENDCASE
  17538. ENDIF
  17539. ENDPROC
  17540. PROCEDURE MouseUp
  17541. Parameters nButton, nShift, nXCoord, nYCoord
  17542. IF lTrackMouse
  17543.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17544.     DO CASE
  17545.     CASE Noutput = 1
  17546.         Activate Screen
  17547.         ? "Formset1.Form2.PageFrame1.Page2.Label1.MouseUp"+Cparamstr
  17548.     CASE Noutput = 2
  17549.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.MouseUp"+Cparamstr + ;
  17550.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17551.     CASE Noutput = 3
  17552.         Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.MouseUp"+Cparamstr Nowait
  17553.     ENDCASE
  17554. ENDIF
  17555. ENDPROC
  17556. PROCEDURE RightClick
  17557. DO CASE
  17558. CASE Noutput = 1
  17559.     Activate Screen
  17560.     ? "Formset1.Form2.PageFrame1.Page2.Label1.RightClick"
  17561. CASE Noutput = 2
  17562.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.RightClick" + ;
  17563.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17564. CASE Noutput = 3
  17565.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.RightClick" Nowait
  17566. ENDCASE
  17567. ENDPROC
  17568. PROCEDURE Destroy
  17569. DO CASE
  17570. CASE Noutput = 1
  17571.     Activate Screen
  17572.     ? "Formset1.Form2.PageFrame1.Page2.Label1.Destroy"
  17573. CASE Noutput = 2
  17574.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.Destroy" + ;
  17575.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17576. CASE Noutput = 3
  17577.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.Destroy" Nowait
  17578. ENDCASE
  17579. ENDPROC
  17580. PROCEDURE Init
  17581. DO CASE
  17582. CASE Noutput = 1
  17583.     Activate Screen
  17584.     ? "Formset1.Form2.PageFrame1.Page2.Label1.Init"
  17585. CASE Noutput = 2
  17586.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.PageFrame1.Page2.Label1.Init" + ;
  17587.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17588. CASE Noutput = 3
  17589.     Wait Window "Formset1.Form2.PageFrame1.Page2.Label1.Init" Nowait
  17590. ENDCASE
  17591. ENDPROC
  17592. Formset1.Form2.PageFrame1.Page2.Label1.Click
  17593. Formset1.Form2.PageFrame1.Page2.Label1.ClickC
  17594. Formset1.Form2.PageFrame1.Page2.Label1.Click
  17595. NOUTPUT
  17596. THISFORMSET
  17597. EVENTWIN
  17598. EDIT1
  17599. VALUE
  17600. Formset1.Form2.PageFrame1.Page2.Label1.DblClick
  17601. Formset1.Form2.PageFrame1.Page2.Label1.DblClickC
  17602. Formset1.Form2.PageFrame1.Page2.Label1.DblClick
  17603. NOUTPUT
  17604. THISFORMSET
  17605. EVENTWIN
  17606. EDIT1
  17607. VALUEc
  17608. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  17609. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  17610. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  17611. CSOURCE
  17612. NXCOORD
  17613. NYCOORD    
  17614. CPARAMSTR
  17615. NOUTPUT
  17616. THISFORMSET
  17617. EVENTWIN
  17618. EDIT1
  17619. VALUEt
  17620. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  17621. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  17622. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  17623. CSOURCE
  17624. NXCOORD
  17625. NYCOORD
  17626. NSTATE    
  17627. CPARAMSTR
  17628. NOUTPUT
  17629. THISFORMSET
  17630. EVENTWIN
  17631. EDIT1
  17632. VALUE
  17633. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  17634. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  17635. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  17636. NBUTTON
  17637. NSHIFT
  17638. NXCOORD
  17639. NYCOORD
  17640. LTRACKMOUSE    
  17641. CPARAMSTR
  17642. NOUTPUT
  17643. THISFORMSET
  17644. EVENTWIN
  17645. EDIT1
  17646. VALUE
  17647. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  17648. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  17649. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  17650. NBUTTON
  17651. NSHIFT
  17652. NXCOORD
  17653. NYCOORD
  17654. LTRACKMOUSE    
  17655. CPARAMSTR
  17656. NOUTPUT
  17657. THISFORMSET
  17658. EVENTWIN
  17659. EDIT1
  17660. VALUE
  17661. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  17662. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  17663. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  17664. NBUTTON
  17665. NSHIFT
  17666. NXCOORD
  17667. NYCOORD
  17668. LTRACKMOUSE    
  17669. CPARAMSTR
  17670. NOUTPUT
  17671. THISFORMSET
  17672. EVENTWIN
  17673. EDIT1
  17674. VALUE
  17675. Formset1.Form2.PageFrame1.Page2.Label1.RightClick
  17676. Formset1.Form2.PageFrame1.Page2.Label1.RightClickC
  17677. Formset1.Form2.PageFrame1.Page2.Label1.RightClick
  17678. NOUTPUT
  17679. THISFORMSET
  17680. EVENTWIN
  17681. EDIT1
  17682. VALUE
  17683. Formset1.Form2.PageFrame1.Page2.Label1.Destroy
  17684. Formset1.Form2.PageFrame1.Page2.Label1.DestroyC
  17685. Formset1.Form2.PageFrame1.Page2.Label1.Destroy
  17686. NOUTPUT
  17687. THISFORMSET
  17688. EVENTWIN
  17689. EDIT1
  17690. VALUE
  17691. Formset1.Form2.PageFrame1.Page2.Label1.Init
  17692. Formset1.Form2.PageFrame1.Page2.Label1.InitC
  17693. Formset1.Form2.PageFrame1.Page2.Label1.Init
  17694. NOUTPUT
  17695. THISFORMSET
  17696. EVENTWIN
  17697. EDIT1
  17698. VALUE
  17699. Click,
  17700. DblClickn
  17701. DragDrop
  17702. DragOverz
  17703. MouseDownT
  17704. MouseMoveJ
  17705. MouseUp@
  17706. RightClick0
  17707. Destroy
  17708. c:\vfp\samples\controls\events\
  17709. events.scx
  17710. c:\vfp\samples\controls\events\events.scx
  17711. Grid1
  17712. Formset1.form2
  17713. kColumnCount = 2
  17714. BackColor = 0,255,255
  17715. Height = 81
  17716. Left = 7
  17717. Panel = 1
  17718. RecordSource = "customer"
  17719. RecordSourceType = 1
  17720. Top = 94
  17721. Width = 245
  17722. Name = "Grid1"
  17723. Column1.Alignment = 2
  17724. Column1.ControlSource = "customer.contact"
  17725. Column1.Width = 148
  17726. Column1.Name = "Column1"
  17727. Column2.ControlSource = "customer.city"
  17728. Column2.Width = 65
  17729. Column2.Name = "Column2"
  17730. #PROCEDURE BeforeRowColChange
  17731. Parameters nColIndex
  17732. DO CASE
  17733. CASE Noutput = 1
  17734.     Activate Screen
  17735.     ? "Formset1.Form2.Grid1.RowColChange"
  17736. CASE Noutput = 2
  17737.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.RowColChange" + ;
  17738.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17739. CASE Noutput = 3
  17740.     Wait Window "Formset1.Form2.Grid1.RowColChange" Nowait
  17741. ENDCASE
  17742. ENDPROC
  17743. PROCEDURE Click
  17744. DO CASE
  17745. CASE Noutput = 1
  17746.     Activate Screen
  17747.     ? "Formset1.Form2.Grid1.Click"
  17748. CASE Noutput = 2
  17749.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Click" + ;
  17750.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17751. CASE Noutput = 3
  17752.     Wait Window "Formset1.Form2.Grid1.Click" Nowait
  17753. ENDCASE
  17754. ENDPROC
  17755. PROCEDURE Deleted
  17756. Parameters nRecNo
  17757. DO CASE
  17758. CASE Noutput = 1
  17759.     Activate Screen
  17760.     ? "Formset1.Form2.Grid1.Deleted"
  17761. CASE Noutput = 2
  17762.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Deleted" + ;
  17763.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17764. CASE Noutput = 3
  17765.     Wait Window "Formset1.Form2.Grid1.Deleted" Nowait
  17766. ENDCASE
  17767. ENDPROC
  17768. PROCEDURE DblClick
  17769. DO CASE
  17770. CASE Noutput = 1
  17771.     Activate Screen
  17772.     ? "Formset1.Form2.Grid1.DblClick"
  17773. CASE Noutput = 2
  17774.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.DblClick" + ;
  17775.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17776. CASE Noutput = 3
  17777.     Wait Window "Formset1.Form2.Grid1.DblClick" Nowait
  17778. ENDCASE
  17779. ENDPROC
  17780. PROCEDURE DragDrop
  17781. Parameters cSource, nXCoord, nYCoord
  17782. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17783. DO CASE
  17784. CASE Noutput = 1
  17785.     Activate Screen
  17786.     ? "Formset1.Form2.Grid1.DragDrop"+Cparamstr
  17787. CASE Noutput = 2
  17788.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.DragDrop"+Cparamstr + ;
  17789.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17790. CASE Noutput = 3
  17791.     Wait Window "Formset1.Form2.Grid1.DragDrop"+Cparamstr Nowait
  17792. ENDCASE
  17793. ENDPROC
  17794. PROCEDURE DragOver
  17795. Parameters cSource, nXCoord, nYCoord, nState
  17796. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  17797. DO CASE
  17798. CASE Noutput = 1
  17799.     Activate Screen
  17800.     ? "Formset1.Form2.Grid1.DragOver"+Cparamstr
  17801. CASE Noutput = 2
  17802.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.DragOver"+Cparamstr + ;
  17803.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17804. CASE Noutput = 3
  17805.     Wait Window "Formset1.Form2.Grid1.DragOver"+Cparamstr Nowait
  17806. ENDCASE
  17807. ENDPROC
  17808. PROCEDURE MouseDown
  17809. Parameters nButton, nShift, nXCoord, nYCoord
  17810. IF lTrackMouse
  17811.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17812.     DO CASE
  17813.     CASE Noutput = 1
  17814.         Activate Screen
  17815.         ? "Formset1.Form2.Grid1.MouseDown"+Cparamstr
  17816.     CASE Noutput = 2
  17817.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.MouseDown"+Cparamstr + ;
  17818.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17819.     CASE Noutput = 3
  17820.         Wait Window "Formset1.Form2.Grid1.MouseDown"+Cparamstr Nowait
  17821.     ENDCASE
  17822. ENDIF
  17823. ENDPROC
  17824. PROCEDURE MouseMove
  17825. Parameters nButton, nShift, nXCoord, nYCoord
  17826. IF lTrackMouse
  17827.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17828.     DO CASE
  17829.     CASE Noutput = 1
  17830.         Activate Screen
  17831.         ? "Formset1.Form2.Grid1.MouseMove"+Cparamstr
  17832.     CASE Noutput = 2
  17833.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.MouseMove"+Cparamstr + ;
  17834.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17835.     CASE Noutput = 3
  17836.         Wait Window "Formset1.Form2.Grid1.MouseMove"+Cparamstr Nowait
  17837.     ENDCASE
  17838. ENDIF
  17839. ENDPROC
  17840. PROCEDURE MouseUp
  17841. Parameters nButton, nShift, nXCoord, nYCoord
  17842. IF lTrackMouse
  17843.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17844.     DO CASE
  17845.     CASE Noutput = 1
  17846.         Activate Screen
  17847.         ? "Formset1.Form2.Grid1.MouseUp"+Cparamstr
  17848.     CASE Noutput = 2
  17849.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.MouseUp"+Cparamstr + ;
  17850.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17851.     CASE Noutput = 3
  17852.         Wait Window "Formset1.Form2.Grid1.MouseUp"+Cparamstr Nowait
  17853.     ENDCASE
  17854. ENDIF
  17855. ENDPROC
  17856. PROCEDURE RightClick
  17857. DO CASE
  17858. CASE Noutput = 1
  17859.     Activate Screen
  17860.     ? "Formset1.Form2.Grid1.RightClick"
  17861. CASE Noutput = 2
  17862.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.RightClick" + ;
  17863.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17864. CASE Noutput = 3
  17865.     Wait Window "Formset1.Form2.Grid1.RightClick" Nowait
  17866. ENDCASE
  17867. ENDPROC
  17868. PROCEDURE Valid
  17869. DO CASE
  17870. CASE Noutput = 1
  17871.     Activate Screen
  17872.     ? "Formset1.Form2.Grid1.Valid"
  17873. CASE Noutput = 2
  17874.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Valid" + ;
  17875.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17876. CASE Noutput = 3
  17877.     Wait Window "Formset1.Form2.Grid1.Valid" Nowait
  17878. ENDCASE
  17879. ENDPROC
  17880. PROCEDURE When
  17881. DO CASE
  17882. CASE Noutput = 1
  17883.     Activate Screen
  17884.     ? "Formset1.Form2.Grid1.When"
  17885. CASE Noutput = 2
  17886.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.When" + ;
  17887.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17888. CASE Noutput = 3
  17889.     Wait Window "Formset1.Form2.Grid1.When" Nowait
  17890. ENDCASE
  17891. ENDPROC
  17892. PROCEDURE Destroy
  17893. DO CASE
  17894. CASE Noutput = 1
  17895.     Activate Screen
  17896.     ? "Formset1.Form2.Grid1.Destroy"
  17897. CASE Noutput = 2
  17898.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Destroy" + ;
  17899.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17900. CASE Noutput = 3
  17901.     Wait Window "Formset1.Form2.Grid1.Destroy" Nowait
  17902. ENDCASE
  17903. ENDPROC
  17904. PROCEDURE Init
  17905. DO CASE
  17906. CASE Noutput = 1
  17907.     Activate Screen
  17908.     ? "Formset1.Form2.Grid1.Init"
  17909. CASE Noutput = 2
  17910.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Init" + ;
  17911.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  17912. CASE Noutput = 3
  17913.     Wait Window "Formset1.Form2.Grid1.Init" Nowait
  17914. ENDCASE
  17915. ENDPROC
  17916. PROCEDURE Column1.MouseMove
  17917. Parameters nButton, nShift, nXCoord, nYCoord
  17918. IF lTrackMouse
  17919.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17920.     DO CASE
  17921.     CASE Noutput = 1
  17922.         Activate Screen
  17923.         ? "Formset1.Form2.Grid1.Column1.MouseMove"+Cparamstr
  17924.     CASE Noutput = 2
  17925.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.MouseMove"+Cparamstr + ;
  17926.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17927.     CASE Noutput = 3
  17928.         Wait Window "Formset1.Form2.Grid1.Column1.MouseMove"+Cparamstr Nowait
  17929.     ENDCASE
  17930. ENDIF
  17931. ENDPROC
  17932. PROCEDURE Column2.MouseMove
  17933. Parameters nButton, nShift, nXCoord, nYCoord
  17934. IF lTrackMouse
  17935.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  17936.     DO CASE
  17937.     CASE Noutput = 1
  17938.         Activate Screen
  17939.         ? "Formset1.Form2.Grid1.Column2.MouseMove"+Cparamstr
  17940.     CASE Noutput = 2
  17941.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.MouseMove"+Cparamstr + ;
  17942.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  17943.     CASE Noutput = 3
  17944.         Wait Window "Formset1.Form2.Grid1.Column2.MouseMove"+Cparamstr Nowait
  17945.     ENDCASE
  17946. ENDIF
  17947. ENDPROC
  17948. Formset1.Form2.Grid1.RowColChange
  17949. Formset1.Form2.Grid1.RowColChangeC
  17950. Formset1.Form2.Grid1.RowColChange
  17951. NCOLINDEX
  17952. NOUTPUT
  17953. THISFORMSET
  17954. EVENTWIN
  17955. EDIT1
  17956. VALUE
  17957. Formset1.Form2.Grid1.Click
  17958. Formset1.Form2.Grid1.ClickC
  17959. Formset1.Form2.Grid1.Click
  17960. NOUTPUT
  17961. THISFORMSET
  17962. EVENTWIN
  17963. EDIT1
  17964. VALUE
  17965. Formset1.Form2.Grid1.Deleted
  17966. Formset1.Form2.Grid1.DeletedC
  17967. Formset1.Form2.Grid1.Deleted
  17968. NRECNO
  17969. NOUTPUT
  17970. THISFORMSET
  17971. EVENTWIN
  17972. EDIT1
  17973. VALUE
  17974. Formset1.Form2.Grid1.DblClick
  17975. Formset1.Form2.Grid1.DblClickC
  17976. Formset1.Form2.Grid1.DblClick
  17977. NOUTPUT
  17978. THISFORMSET
  17979. EVENTWIN
  17980. EDIT1
  17981. VALUE-
  17982. Formset1.Form2.Grid1.DragDrop
  17983. Formset1.Form2.Grid1.DragDrop
  17984. Formset1.Form2.Grid1.DragDrop
  17985. CSOURCE
  17986. NXCOORD
  17987. NYCOORD    
  17988. CPARAMSTR
  17989. NOUTPUT
  17990. THISFORMSET
  17991. EVENTWIN
  17992. EDIT1
  17993. VALUE>
  17994. Formset1.Form2.Grid1.DragOver
  17995. Formset1.Form2.Grid1.DragOver
  17996. Formset1.Form2.Grid1.DragOver
  17997. CSOURCE
  17998. NXCOORD
  17999. NYCOORD
  18000. NSTATE    
  18001. CPARAMSTR
  18002. NOUTPUT
  18003. THISFORMSET
  18004. EVENTWIN
  18005. EDIT1
  18006. VALUES
  18007. Formset1.Form2.Grid1.MouseDown
  18008. Formset1.Form2.Grid1.MouseDown
  18009. Formset1.Form2.Grid1.MouseDown
  18010. NBUTTON
  18011. NSHIFT
  18012. NXCOORD
  18013. NYCOORD
  18014. LTRACKMOUSE    
  18015. CPARAMSTR
  18016. NOUTPUT
  18017. THISFORMSET
  18018. EVENTWIN
  18019. EDIT1
  18020. VALUES
  18021. Formset1.Form2.Grid1.MouseMove
  18022. Formset1.Form2.Grid1.MouseMove
  18023. Formset1.Form2.Grid1.MouseMove
  18024. NBUTTON
  18025. NSHIFT
  18026. NXCOORD
  18027. NYCOORD
  18028. LTRACKMOUSE    
  18029. CPARAMSTR
  18030. NOUTPUT
  18031. THISFORMSET
  18032. EVENTWIN
  18033. EDIT1
  18034. VALUEM
  18035. Formset1.Form2.Grid1.MouseUp
  18036. Formset1.Form2.Grid1.MouseUp
  18037. Formset1.Form2.Grid1.MouseUp
  18038. NBUTTON
  18039. NSHIFT
  18040. NXCOORD
  18041. NYCOORD
  18042. LTRACKMOUSE    
  18043. CPARAMSTR
  18044. NOUTPUT
  18045. THISFORMSET
  18046. EVENTWIN
  18047. EDIT1
  18048. VALUE
  18049. Formset1.Form2.Grid1.RightClick
  18050. Formset1.Form2.Grid1.RightClickC
  18051. Formset1.Form2.Grid1.RightClick
  18052. NOUTPUT
  18053. THISFORMSET
  18054. EVENTWIN
  18055. EDIT1
  18056. VALUE
  18057. Formset1.Form2.Grid1.Valid
  18058. Formset1.Form2.Grid1.ValidC
  18059. Formset1.Form2.Grid1.Valid
  18060. NOUTPUT
  18061. THISFORMSET
  18062. EVENTWIN
  18063. EDIT1
  18064. VALUE
  18065. Formset1.Form2.Grid1.When
  18066. Formset1.Form2.Grid1.WhenC
  18067. Formset1.Form2.Grid1.When
  18068. NOUTPUT
  18069. THISFORMSET
  18070. EVENTWIN
  18071. EDIT1
  18072. VALUE
  18073. Formset1.Form2.Grid1.Destroy
  18074. Formset1.Form2.Grid1.DestroyC
  18075. Formset1.Form2.Grid1.Destroy
  18076. NOUTPUT
  18077. THISFORMSET
  18078. EVENTWIN
  18079. EDIT1
  18080. VALUE
  18081. Formset1.Form2.Grid1.Init
  18082. Formset1.Form2.Grid1.InitC
  18083. Formset1.Form2.Grid1.Init
  18084. NOUTPUT
  18085. THISFORMSET
  18086. EVENTWIN
  18087. EDIT1
  18088. VALUEk
  18089. Formset1.Form2.Grid1.Column1.MouseMove
  18090. Formset1.Form2.Grid1.Column1.MouseMove
  18091. Formset1.Form2.Grid1.Column1.MouseMove
  18092. NBUTTON
  18093. NSHIFT
  18094. NXCOORD
  18095. NYCOORD
  18096. LTRACKMOUSE    
  18097. CPARAMSTR
  18098. NOUTPUT
  18099. THISFORMSET
  18100. EVENTWIN
  18101. EDIT1
  18102. VALUEk
  18103. Formset1.Form2.Grid1.Column2.MouseMove
  18104. Formset1.Form2.Grid1.Column2.MouseMove
  18105. Formset1.Form2.Grid1.Column2.MouseMove
  18106. NBUTTON
  18107. NSHIFT
  18108. NXCOORD
  18109. NYCOORD
  18110. LTRACKMOUSE    
  18111. CPARAMSTR
  18112. NOUTPUT
  18113. THISFORMSET
  18114. EVENTWIN
  18115. EDIT1
  18116. VALUE
  18117. BeforeRowColChange,
  18118. Click_
  18119. Deletedk
  18120. DblClick
  18121. DragDrop
  18122. DragOver,
  18123. MouseDown
  18124. MouseMove
  18125. MouseUpP
  18126. RightClick
  18127. Valid%
  18128. When1
  18129. Destroy:
  18130. InitL
  18131. Column1.MouseMoveU
  18132. Column2.MouseMove-
  18133. c:\vfp\samples\controls\events\
  18134. events.scx
  18135. c:\vfp\samples\controls\events\events.scx
  18136. header
  18137. header
  18138. Header1
  18139. Formset1.form2.Grid1.Column1
  18140. -Caption = "Customer Name"
  18141. Name = "Header1"
  18142. FPROCEDURE Click
  18143. DO CASE
  18144. CASE Noutput = 1
  18145.     Activate Screen
  18146.     ? "Formset1.Form2.Grid1.Column1.Header1.Click"
  18147. CASE Noutput = 2
  18148.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.Click" + ;
  18149.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18150. CASE Noutput = 3
  18151.     Wait Window "Formset1.Form2.Grid1.Column1.Header1.Click" Nowait
  18152. ENDCASE
  18153. ENDPROC
  18154. PROCEDURE DblClick
  18155. DO CASE
  18156. CASE Noutput = 1
  18157.     Activate Screen
  18158.     ? "Formset1.Form2.Grid1.Column1.Header1.DblClick"
  18159. CASE Noutput = 2
  18160.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.DblClick" + ;
  18161.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18162. CASE Noutput = 3
  18163.     Wait Window "Formset1.Form2.Grid1.Column1.Header1.DblClick" Nowait
  18164. ENDCASE
  18165. ENDPROC
  18166. PROCEDURE MouseDown
  18167. Parameters nButton, nShift, nXCoord, nYCoord
  18168. IF lTrackMouse
  18169.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18170.     DO CASE
  18171.     CASE Noutput = 1
  18172.         Activate Screen
  18173.         ? "Formset1.Form2.Grid1.Column1.Header1.MouseDown"+Cparamstr
  18174.     CASE Noutput = 2
  18175.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.MouseDown"+Cparamstr + ;
  18176.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18177.     CASE Noutput = 3
  18178.         Wait Window "Formset1.Form2.Grid1.Column1.Header1.MouseDown"+Cparamstr Nowait
  18179.     ENDCASE
  18180. ENDIF
  18181. ENDPROC
  18182. PROCEDURE MouseMove
  18183. Parameters nButton, nShift, nXCoord, nYCoord
  18184. IF lTrackMouse
  18185.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18186.     DO CASE
  18187.     CASE Noutput = 1
  18188.         Activate Screen
  18189.         ? "Formset1.Form2.Grid1.Column1.Header1.MouseMove"+Cparamstr
  18190.     CASE Noutput = 2
  18191.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.MouseMove"+Cparamstr + ;
  18192.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18193.     CASE Noutput = 3
  18194.         Wait Window "Formset1.Form2.Grid1.Column1.Header1.MouseMove"+Cparamstr Nowait
  18195.     ENDCASE
  18196. ENDIF
  18197. ENDPROC
  18198. PROCEDURE MouseUp
  18199. Parameters nButton, nShift, nXCoord, nYCoord
  18200. IF lTrackMouse
  18201.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18202.     DO CASE
  18203.     CASE Noutput = 1
  18204.         Activate Screen
  18205.         ? "Formset1.Form2.Grid1.Column1.Header1.MouseUp"+Cparamstr
  18206.     CASE Noutput = 2
  18207.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.MouseUp"+Cparamstr + ;
  18208.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18209.     CASE Noutput = 3
  18210.         Wait Window "Formset1.Form2.Grid1.Column1.Header1.MouseUp"+Cparamstr Nowait
  18211.     ENDCASE
  18212. ENDIF
  18213. ENDPROC
  18214. PROCEDURE RightClick
  18215. DO CASE
  18216. CASE Noutput = 1
  18217.     Activate Screen
  18218.     ? "Formset1.Form2.Grid1.Column1.Header1.RightClick"
  18219. CASE Noutput = 2
  18220.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column1.Header1.RightClick" + ;
  18221.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18222. CASE Noutput = 3
  18223.     Wait Window "Formset1.Form2.Grid1.Column1.Header1.RightClick" Nowait
  18224. ENDCASE
  18225. ENDPROC
  18226. Formset1.Form2.Grid1.Column1.Header1.Click
  18227. Formset1.Form2.Grid1.Column1.Header1.ClickC
  18228. Formset1.Form2.Grid1.Column1.Header1.Click
  18229. NOUTPUT
  18230. THISFORMSET
  18231. EVENTWIN
  18232. EDIT1
  18233. VALUE
  18234. Formset1.Form2.Grid1.Column1.Header1.DblClick
  18235. Formset1.Form2.Grid1.Column1.Header1.DblClickC
  18236. Formset1.Form2.Grid1.Column1.Header1.DblClick
  18237. NOUTPUT
  18238. THISFORMSET
  18239. EVENTWIN
  18240. EDIT1
  18241. VALUE
  18242. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  18243. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  18244. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  18245. NBUTTON
  18246. NSHIFT
  18247. NXCOORD
  18248. NYCOORD
  18249. LTRACKMOUSE    
  18250. CPARAMSTR
  18251. NOUTPUT
  18252. THISFORMSET
  18253. EVENTWIN
  18254. EDIT1
  18255. VALUE
  18256. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  18257. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  18258. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  18259. NBUTTON
  18260. NSHIFT
  18261. NXCOORD
  18262. NYCOORD
  18263. LTRACKMOUSE    
  18264. CPARAMSTR
  18265. NOUTPUT
  18266. THISFORMSET
  18267. EVENTWIN
  18268. EDIT1
  18269. VALUE}
  18270. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  18271. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  18272. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  18273. NBUTTON
  18274. NSHIFT
  18275. NXCOORD
  18276. NYCOORD
  18277. LTRACKMOUSE    
  18278. CPARAMSTR
  18279. NOUTPUT
  18280. THISFORMSET
  18281. EVENTWIN
  18282. EDIT1
  18283. VALUE
  18284. Formset1.Form2.Grid1.Column1.Header1.RightClick
  18285. Formset1.Form2.Grid1.Column1.Header1.RightClickC
  18286. Formset1.Form2.Grid1.Column1.Header1.RightClick
  18287. NOUTPUT
  18288. THISFORMSET
  18289. EVENTWIN
  18290. EDIT1
  18291. VALUE
  18292. Click,
  18293. DblClickh
  18294. MouseDown
  18295. MouseMove
  18296. MouseUp
  18297. RightClickw
  18298. c:\vfp\samples\controls\events\
  18299. events.scx
  18300. c:\vfp\samples\controls\events\events.scx
  18301. header
  18302. header
  18303. Header2
  18304. Formset1.form2.Grid1.Column2
  18305. 6Alignment = 2
  18306. Caption = "Country"
  18307. Name = "Header2"
  18308. FPROCEDURE Click
  18309. DO CASE
  18310. CASE Noutput = 1
  18311.     Activate Screen
  18312.     ? "Formset1.Form2.Grid1.Column2.Header2.Click"
  18313. CASE Noutput = 2
  18314.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.Click" + ;
  18315.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18316. CASE Noutput = 3
  18317.     Wait Window "Formset1.Form2.Grid1.Column2.Header2.Click" Nowait
  18318. ENDCASE
  18319. ENDPROC
  18320. PROCEDURE DblClick
  18321. DO CASE
  18322. CASE Noutput = 1
  18323.     Activate Screen
  18324.     ? "Formset1.Form2.Grid1.Column2.Header2.DblClick"
  18325. CASE Noutput = 2
  18326.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.DblClick" + ;
  18327.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18328. CASE Noutput = 3
  18329.     Wait Window "Formset1.Form2.Grid1.Column2.Header2.DblClick" Nowait
  18330. ENDCASE
  18331. ENDPROC
  18332. PROCEDURE MouseDown
  18333. Parameters nButton, nShift, nXCoord, nYCoord
  18334. IF lTrackMouse
  18335.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18336.     DO CASE
  18337.     CASE Noutput = 1
  18338.         Activate Screen
  18339.         ? "Formset1.Form2.Grid1.Column2.Header2.MouseDown"+Cparamstr
  18340.     CASE Noutput = 2
  18341.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.MouseDown"+Cparamstr + ;
  18342.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18343.     CASE Noutput = 3
  18344.         Wait Window "Formset1.Form2.Grid1.Column2.Header2.MouseDown"+Cparamstr Nowait
  18345.     ENDCASE
  18346. ENDIF
  18347. ENDPROC
  18348. PROCEDURE MouseMove
  18349. Parameters nButton, nShift, nXCoord, nYCoord
  18350. IF lTrackMouse
  18351.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18352.     DO CASE
  18353.     CASE Noutput = 1
  18354.         Activate Screen
  18355.         ? "Formset1.Form2.Grid1.Column2.Header2.MouseMove"+Cparamstr
  18356.     CASE Noutput = 2
  18357.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.MouseMove"+Cparamstr + ;
  18358.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18359.     CASE Noutput = 3
  18360.         Wait Window "Formset1.Form2.Grid1.Column2.Header2.MouseMove"+Cparamstr Nowait
  18361.     ENDCASE
  18362. ENDIF
  18363. ENDPROC
  18364. PROCEDURE MouseUp
  18365. Parameters nButton, nShift, nXCoord, nYCoord
  18366. IF lTrackMouse
  18367.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18368.     DO CASE
  18369.     CASE Noutput = 1
  18370.         Activate Screen
  18371.         ? "Formset1.Form2.Grid1.Column2.Header2.MouseUp"+Cparamstr
  18372.     CASE Noutput = 2
  18373.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.MouseUp"+Cparamstr + ;
  18374.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18375.     CASE Noutput = 3
  18376.         Wait Window "Formset1.Form2.Grid1.Column2.Header2.MouseUp"+Cparamstr Nowait
  18377.     ENDCASE
  18378. ENDIF
  18379. ENDPROC
  18380. PROCEDURE RightClick
  18381. DO CASE
  18382. CASE Noutput = 1
  18383.     Activate Screen
  18384.     ? "Formset1.Form2.Grid1.Column2.Header2.RightClick"
  18385. CASE Noutput = 2
  18386.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.Grid1.Column2.Header2.RightClick" + ;
  18387.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18388. CASE Noutput = 3
  18389.     Wait Window "Formset1.Form2.Grid1.Column2.Header2.RightClick" Nowait
  18390. ENDCASE
  18391. ENDPROC
  18392. Formset1.Form2.Grid1.Column2.Header2.Click
  18393. Formset1.Form2.Grid1.Column2.Header2.ClickC
  18394. Formset1.Form2.Grid1.Column2.Header2.Click
  18395. NOUTPUT
  18396. THISFORMSET
  18397. EVENTWIN
  18398. EDIT1
  18399. VALUE
  18400. Formset1.Form2.Grid1.Column2.Header2.DblClick
  18401. Formset1.Form2.Grid1.Column2.Header2.DblClickC
  18402. Formset1.Form2.Grid1.Column2.Header2.DblClick
  18403. NOUTPUT
  18404. THISFORMSET
  18405. EVENTWIN
  18406. EDIT1
  18407. VALUE
  18408. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  18409. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  18410. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  18411. NBUTTON
  18412. NSHIFT
  18413. NXCOORD
  18414. NYCOORD
  18415. LTRACKMOUSE    
  18416. CPARAMSTR
  18417. NOUTPUT
  18418. THISFORMSET
  18419. EVENTWIN
  18420. EDIT1
  18421. VALUE
  18422. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  18423. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  18424. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  18425. NBUTTON
  18426. NSHIFT
  18427. NXCOORD
  18428. NYCOORD
  18429. LTRACKMOUSE    
  18430. CPARAMSTR
  18431. NOUTPUT
  18432. THISFORMSET
  18433. EVENTWIN
  18434. EDIT1
  18435. VALUE}
  18436. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  18437. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  18438. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  18439. NBUTTON
  18440. NSHIFT
  18441. NXCOORD
  18442. NYCOORD
  18443. LTRACKMOUSE    
  18444. CPARAMSTR
  18445. NOUTPUT
  18446. THISFORMSET
  18447. EVENTWIN
  18448. EDIT1
  18449. VALUE
  18450. Formset1.Form2.Grid1.Column2.Header2.RightClick
  18451. Formset1.Form2.Grid1.Column2.Header2.RightClickC
  18452. Formset1.Form2.Grid1.Column2.Header2.RightClick
  18453. NOUTPUT
  18454. THISFORMSET
  18455. EVENTWIN
  18456. EDIT1
  18457. VALUE
  18458. Click,
  18459. DblClickh
  18460. MouseDown
  18461. MouseMove
  18462. MouseUp
  18463. RightClickw
  18464. c:\vfp\samples\controls\events\
  18465. events.scx
  18466. c:\vfp\samples\controls\events\events.scx
  18467. optiongroup
  18468. optiongroup
  18469. Optiongroup1
  18470. Formset1.form2
  18471. ButtonCount = 3
  18472. BackColor = 192,192,192
  18473. Caption = "Optiongroup1"
  18474. Height = 54
  18475. Left = 156
  18476. Top = 31
  18477. Width = 83
  18478. Name = "Optiongroup1"
  18479. Option1.BackColor = 192,192,192
  18480. Option1.Caption = "Option 1"
  18481. Option1.Height = 15
  18482. Option1.Left = 5
  18483. Option1.Top = 3
  18484. Option1.Width = 71
  18485. Option1.Name = "Option1"
  18486. Option2.BackColor = 192,192,192
  18487. Option2.Caption = "Option 2"
  18488. Option2.Height = 15
  18489. Option2.Left = 5
  18490. Option2.Top = 20
  18491. Option2.Width = 71
  18492. Option2.Name = "Option2"
  18493. Option3.BackColor = 192,192,192
  18494. Option3.BackStyle = 1
  18495. Option3.Caption = "Option 3"
  18496. Option3.Height = 15
  18497. Option3.Left = 5
  18498. Option3.Top = 37
  18499. Option3.Width = 71
  18500. Option3.Name = "Option3"
  18501. c!PROCEDURE Click
  18502. DO CASE
  18503. CASE Noutput = 1
  18504.     Activate Screen
  18505.     ? "Formset1.Form2.OptionGroup1.Click"
  18506. CASE Noutput = 2
  18507.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Click" + ;
  18508.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18509. CASE Noutput = 3
  18510.     Wait Window "Formset1.Form2.OptionGroup1.Click" Nowait
  18511. ENDCASE
  18512. ENDPROC
  18513. PROCEDURE DblClick
  18514. DO CASE
  18515. CASE Noutput = 1
  18516.     Activate Screen
  18517.     ? "Formset1.Form2.OptionGroup1.DblClick"
  18518. CASE Noutput = 2
  18519.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.DblClick" + ;
  18520.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18521. CASE Noutput = 3
  18522.     Wait Window "Formset1.Form2.OptionGroup1.DblClick" Nowait
  18523. ENDCASE
  18524. ENDPROC
  18525. PROCEDURE DragDrop
  18526. Parameters cSource, nXCoord, nYCoord
  18527. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18528. DO CASE
  18529. CASE Noutput = 1
  18530.     Activate Screen
  18531.     ? "Formset1.Form2.OptionGroup1.DragDrop"+Cparamstr
  18532. CASE Noutput = 2
  18533.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.DragDrop"+Cparamstr + ;
  18534.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18535. CASE Noutput = 3
  18536.     Wait Window "Formset1.Form2.OptionGroup1.DragDrop"+Cparamstr Nowait
  18537. ENDCASE
  18538. ENDPROC
  18539. PROCEDURE DragOver
  18540. Parameters cSource, nXCoord, nYCoord, nState
  18541. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  18542. DO CASE
  18543. CASE Noutput = 1
  18544.     Activate Screen
  18545.     ? "Formset1.Form2.OptionGroup1.DragOver"+Cparamstr
  18546. CASE Noutput = 2
  18547.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.DragOver"+Cparamstr + ;
  18548.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18549. CASE Noutput = 3
  18550.     Wait Window "Formset1.Form2.OptionGroup1.DragOver"+Cparamstr Nowait
  18551. ENDCASE
  18552. ENDPROC
  18553. PROCEDURE InteractiveChange
  18554. DO CASE
  18555. CASE Noutput = 1
  18556.     Activate Screen
  18557.     ? "Formset1.Form2.OptionGroup1.InteractiveChange"
  18558. CASE Noutput = 2
  18559.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.InteractiveChange" + ;
  18560.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18561. CASE Noutput = 3
  18562.     Wait Window "Formset1.Form2.OptionGroup1.InteractiveChange" Nowait
  18563. ENDCASE
  18564. ENDPROC
  18565. PROCEDURE MouseDown
  18566. Parameters nButton, nShift, nXCoord, nYCoord
  18567. IF lTrackMouse
  18568.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18569.     DO CASE
  18570.     CASE Noutput = 1
  18571.         Activate Screen
  18572.         ? "Formset1.Form2.OptionGroup1.MouseDown"+Cparamstr
  18573.     CASE Noutput = 2
  18574.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.MouseDown"+Cparamstr + ;
  18575.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18576.     CASE Noutput = 3
  18577.         Wait Window "Formset1.Form2.OptionGroup1.MouseDown"+Cparamstr Nowait
  18578.     ENDCASE
  18579. ENDIF
  18580. ENDPROC
  18581. PROCEDURE MouseMove
  18582. Parameters nButton, nShift, nXCoord, nYCoord
  18583. IF lTrackMouse
  18584.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18585.     DO CASE
  18586.     CASE Noutput = 1
  18587.         Activate Screen
  18588.         ? "Formset1.Form2.OptionGroup1.MouseMove"+Cparamstr
  18589.     CASE Noutput = 2
  18590.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.MouseMove"+Cparamstr + ;
  18591.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18592.     CASE Noutput = 3
  18593.         Wait Window "Formset1.Form2.OptionGroup1.MouseMove"+Cparamstr Nowait
  18594.     ENDCASE
  18595. ENDIF
  18596. ENDPROC
  18597. PROCEDURE MouseUp
  18598. Parameters nButton, nShift, nXCoord, nYCoord
  18599. IF lTrackMouse
  18600.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18601.     DO CASE
  18602.     CASE Noutput = 1
  18603.         Activate Screen
  18604.         ? "Formset1.Form2.OptionGroup1.MouseUp"+Cparamstr
  18605.     CASE Noutput = 2
  18606.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.MouseUp"+Cparamstr + ;
  18607.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18608.     CASE Noutput = 3
  18609.         Wait Window "Formset1.Form2.OptionGroup1.MouseUp"+Cparamstr Nowait
  18610.     ENDCASE
  18611. ENDIF
  18612. ENDPROC
  18613. PROCEDURE RightClick
  18614. DO CASE
  18615. CASE Noutput = 1
  18616.     Activate Screen
  18617.     ? "Formset1.Form2.OptionGroup1.RightClick"
  18618. CASE Noutput = 2
  18619.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.RightClick" + ;
  18620.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18621. CASE Noutput = 3
  18622.     Wait Window "Formset1.Form2.OptionGroup1.RightClick" Nowait
  18623. ENDCASE
  18624. ENDPROC
  18625. PROCEDURE Init
  18626. DO CASE
  18627. CASE Noutput = 1
  18628.     Activate Screen
  18629.     ? "Formset1.Form2.OptionGroup1.Init"
  18630. CASE Noutput = 2
  18631.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Init" + ;
  18632.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18633. CASE Noutput = 3
  18634.     Wait Window "Formset1.Form2.OptionGroup1.Init" Nowait
  18635. ENDCASE
  18636. ENDPROC
  18637. PROCEDURE When
  18638. DO CASE
  18639. CASE Noutput = 1
  18640.     Activate Screen
  18641.     ? "Formset1.Form2.OptionGroup1.When"
  18642. CASE Noutput = 2
  18643.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.When" + ;
  18644.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18645. CASE Noutput = 3
  18646.     Wait Window "Formset1.Form2.OptionGroup1.When" Nowait
  18647. ENDCASE
  18648. ENDPROC
  18649. PROCEDURE Valid
  18650. DO CASE
  18651. CASE Noutput = 1
  18652.     Activate Screen
  18653.     ? "Formset1.Form2.OptionGroup1.Valid"
  18654. CASE Noutput = 2
  18655.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Valid" + ;
  18656.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18657. CASE Noutput = 3
  18658.     Wait Window "Formset1.Form2.OptionGroup1.Valid" Nowait
  18659. ENDCASE
  18660. ENDPROC
  18661. PROCEDURE Option1.Click
  18662. DO CASE
  18663. CASE Noutput = 1
  18664.     Activate Screen
  18665.     ? "Formset1.Form2.OptionGroup1.Option1.Click"
  18666. CASE Noutput = 2
  18667.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Click" + ;
  18668.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18669. CASE Noutput = 3
  18670.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Click" Nowait
  18671. ENDCASE
  18672. ENDPROC
  18673. PROCEDURE Option1.DblClick
  18674. DO CASE
  18675. CASE Noutput = 1
  18676.     Activate Screen
  18677.     ? "Formset1.Form2.OptionGroup1.Option1.DblClick"
  18678. CASE Noutput = 2
  18679.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.DblClick" + ;
  18680.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18681. CASE Noutput = 3
  18682.     Wait Window "Formset1.Form2.OptionGroup1.Option1.DblClick" Nowait
  18683. ENDCASE
  18684. ENDPROC
  18685. PROCEDURE Option1.DragDrop
  18686. Parameters cSource, nXCoord, nYCoord
  18687. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18688. DO CASE
  18689. CASE Noutput = 1
  18690.     Activate Screen
  18691.     ? "Formset1.Form2.OptionGroup1.Option1.DragDrop"+Cparamstr
  18692. CASE Noutput = 2
  18693.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.DragDrop"+Cparamstr + ;
  18694.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18695. CASE Noutput = 3
  18696.     Wait Window "Formset1.Form2.OptionGroup1.Option1.DragDrop"+Cparamstr Nowait
  18697. ENDCASE
  18698. ENDPROC
  18699. PROCEDURE Option1.DragOver
  18700. Parameters cSource, nXCoord, nYCoord, nState
  18701. Cparamstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  18702. DO CASE
  18703. CASE Noutput = 1
  18704.     Activate Screen
  18705.     ? "Formset1.Form2.OptionGroup1.Option1.DragOver"+Cparamstr
  18706. CASE Noutput = 2
  18707.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.DragOver"+Cparamstr + ;
  18708.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18709. CASE Noutput = 3
  18710.     Wait Window "Formset1.Form2.OptionGroup1.Option1.DragOver"+Cparamstr Nowait
  18711. ENDCASE
  18712. ENDPROC
  18713. PROCEDURE Option1.GotFocus
  18714. DO CASE
  18715. CASE Noutput = 1
  18716.     Activate Screen
  18717.     ? "Formset1.Form2.OptionGroup1.Option1.GotFocus"
  18718. CASE Noutput = 2
  18719.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.GotFocus" + ;
  18720.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18721. CASE Noutput = 3
  18722.     Wait Window "Formset1.Form2.OptionGroup1.Option1.GotFocus" Nowait
  18723. ENDCASE
  18724. ENDPROC
  18725. PROCEDURE Option1.KeyPress
  18726. Parameters nKeyCode, nShiftAltCtrl
  18727. IF lTrackMouse
  18728.     Cparamstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  18729.     DO CASE
  18730.     CASE Noutput = 1
  18731.         Activate Screen
  18732.         ? "Formset1.Form2.OptionGroup1.Option1.KeyPress"+Cparamstr
  18733.     CASE Noutput = 2
  18734.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.KeyPress"+Cparamstr + ;
  18735.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18736.     CASE Noutput = 3
  18737.         Wait Window "Formset1.Form2.OptionGroup1.Option1.KeyPress"+Cparamstr Nowait
  18738.     ENDCASE
  18739. ENDIF
  18740. ENDPROC
  18741. PROCEDURE Option1.LostFocus
  18742. DO CASE
  18743. CASE Noutput = 1
  18744.     Activate Screen
  18745.     ? "Formset1.Form2.OptionGroup1.Option1.LostFocus"
  18746. CASE Noutput = 2
  18747.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.LostFocus" + ;
  18748.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18749. CASE Noutput = 3
  18750.     Wait Window "Formset1.Form2.OptionGroup1.Option1.LostFocus" Nowait
  18751. ENDCASE
  18752. ENDPROC
  18753. PROCEDURE Option1.MouseDown
  18754. Parameters nButton, nShift, nXCoord, nYCoord
  18755. IF lTrackMouse
  18756.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18757.     DO CASE
  18758.     CASE Noutput = 1
  18759.         Activate Screen
  18760.         ? "Formset1.Form2.OptionGroup1.Option1.MouseDown"+Cparamstr
  18761.     CASE Noutput = 2
  18762.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.MouseDown"+Cparamstr + ;
  18763.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18764.     CASE Noutput = 3
  18765.         Wait Window "Formset1.Form2.OptionGroup1.Option1.MouseDown"+Cparamstr Nowait
  18766.     ENDCASE
  18767. ENDIF
  18768. ENDPROC
  18769. PROCEDURE Option1.MouseMove
  18770. Parameters nButton, nShift, nXCoord, nYCoord
  18771. IF lTrackMouse
  18772.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18773.     DO CASE
  18774.     CASE Noutput = 1
  18775.         Activate Screen
  18776.         ? "Formset1.Form2.OptionGroup1.Option1.MouseMove"+Cparamstr
  18777.     CASE Noutput = 2
  18778.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.MouseMove"+Cparamstr + ;
  18779.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18780.     CASE Noutput = 3
  18781.         Wait Window "Formset1.Form2.OptionGroup1.Option1.MouseMove"+Cparamstr Nowait
  18782.     ENDCASE
  18783. ENDIF
  18784. ENDPROC
  18785. PROCEDURE Option1.MouseUp
  18786. Parameters nButton, nShift, nXCoord, nYCoord
  18787. IF lTrackMouse
  18788.     Cparamstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18789.     DO CASE
  18790.     CASE Noutput = 1
  18791.         Activate Screen
  18792.         ? "Formset1.Form2.OptionGroup1.Option1.MouseUp"+Cparamstr
  18793.     CASE Noutput = 2
  18794.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.MouseUp"+Cparamstr + ;
  18795.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18796.     CASE Noutput = 3
  18797.         Wait Window "Formset1.Form2.OptionGroup1.Option1.MouseUp"+Cparamstr Nowait
  18798.     ENDCASE
  18799. ENDIF
  18800. ENDPROC
  18801. PROCEDURE Option1.RightClick
  18802. DO CASE
  18803. CASE Noutput = 1
  18804.     Activate Screen
  18805.     ? "Formset1.Form2.OptionGroup1.Option1.RightClick"
  18806. CASE Noutput = 2
  18807.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.RightClick" + ;
  18808.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18809. CASE Noutput = 3
  18810.     Wait Window "Formset1.Form2.OptionGroup1.Option1.RightClick" Nowait
  18811. ENDCASE
  18812. ENDPROC
  18813. PROCEDURE Option1.Destroy
  18814. DO CASE
  18815. CASE Noutput = 1
  18816.     Activate Screen
  18817.     ? "Formset1.Form2.OptionGroup1.Option1.Destroy"
  18818. CASE Noutput = 2
  18819.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Destroy" + ;
  18820.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18821. CASE Noutput = 3
  18822.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Destroy" Nowait
  18823. ENDCASE
  18824. ENDPROC
  18825. PROCEDURE Option1.Init
  18826. DO CASE
  18827. CASE Noutput = 1
  18828.     Activate Screen
  18829.     ? "Formset1.Form2.OptionGroup1.Option1.Init"
  18830. CASE Noutput = 2
  18831.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Init" + ;
  18832.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18833. CASE Noutput = 3
  18834.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Init" Nowait
  18835. ENDCASE
  18836. ENDPROC
  18837. PROCEDURE Option1.When
  18838. DO CASE
  18839. CASE Noutput = 1
  18840.     Activate Screen
  18841.     ? "Formset1.Form2.OptionGroup1.Option1.When"
  18842. CASE Noutput = 2
  18843.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.When" + ;
  18844.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18845. CASE Noutput = 3
  18846.     Wait Window "Formset1.Form2.OptionGroup1.Option1.When" Nowait
  18847. ENDCASE
  18848. ENDPROC
  18849. PROCEDURE Option1.Valid
  18850. DO CASE
  18851. CASE Noutput = 1
  18852.     Activate Screen
  18853.     ? "Formset1.Form2.OptionGroup1.Option1.Valid"
  18854. CASE Noutput = 2
  18855.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option1.Valid" + ;
  18856.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18857. CASE Noutput = 3
  18858.     Wait Window "Formset1.Form2.OptionGroup1.Option1.Valid" Nowait
  18859. ENDCASE
  18860. ENDPROC
  18861. PROCEDURE Option2.Click
  18862. DO CASE
  18863. CASE Noutput = 1
  18864.     Activate Screen
  18865.     ? "Formset1.Form2.OptionGroup1.Option2.Click"
  18866. CASE Noutput = 2
  18867.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Click" + ;
  18868.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18869. CASE Noutput = 3
  18870.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Click" Nowait
  18871. ENDCASE
  18872. ENDPROC
  18873. PROCEDURE Option2.DblClick
  18874. DO CASE
  18875. CASE Noutput = 1
  18876.     Activate Screen
  18877.     ? "Formset1.Form2.OptionGroup1.Option2.DblClick"
  18878. CASE Noutput = 2
  18879.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.DblClick" + ;
  18880.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18881. CASE Noutput = 3
  18882.     Wait Window "Formset1.Form2.OptionGroup1.Option2.DblClick" Nowait
  18883. ENDCASE
  18884. ENDPROC
  18885. PROCEDURE Option2.DragDrop
  18886. Parameters cSource, nXCoord, nYCoord
  18887. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18888. DO CASE
  18889. CASE Noutput = 1
  18890.     Activate Screen
  18891.     ? "Formset1.Form2.OptionGroup1.Option2.DragDrop"+paramstr
  18892. CASE Noutput = 2
  18893.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.DragDrop"+paramstr + ;
  18894.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18895. CASE Noutput = 3
  18896.     Wait Window "Formset1.Form2.OptionGroup1.Option2.DragDrop"+paramstr Nowait
  18897. ENDCASE
  18898. ENDPROC
  18899. PROCEDURE Option2.DragOver
  18900. Parameters cSource, nXCoord, nYCoord, nState
  18901. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  18902. DO CASE
  18903. CASE Noutput = 1
  18904.     Activate Screen
  18905.     ? "Formset1.Form2.OptionGroup1.Option2.DragOver"+paramstr
  18906. CASE Noutput = 2
  18907.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.DragOver"+paramstr + ;
  18908.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18909. CASE Noutput = 3
  18910.     Wait Window "Formset1.Form2.OptionGroup1.Option2.DragOver"+paramstr Nowait
  18911. ENDCASE
  18912. ENDPROC
  18913. PROCEDURE Option2.GotFocus
  18914. DO CASE
  18915. CASE Noutput = 1
  18916.     Activate Screen
  18917.     ? "Formset1.Form2.OptionGroup1.Option2.GotFocus"
  18918. CASE Noutput = 2
  18919.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.GotFocus" + ;
  18920.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18921. CASE Noutput = 3
  18922.     Wait Window "Formset1.Form2.OptionGroup1.Option2.GotFocus" Nowait
  18923. ENDCASE
  18924. ENDPROC
  18925. PROCEDURE Option2.KeyPress
  18926. Parameters nKeyCode, nShiftAltCtrl
  18927. IF lTrackMouse
  18928.     paramstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  18929.     DO CASE
  18930.     CASE Noutput = 1
  18931.         Activate Screen
  18932.         ? "Formset1.Form2.OptionGroup1.Option2.KeyPress"+paramstr
  18933.     CASE Noutput = 2
  18934.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.KeyPress"+paramstr + ;
  18935.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18936.     CASE Noutput = 3
  18937.         Wait Window "Formset1.Form2.OptionGroup1.Option2.KeyPress"+paramstr Nowait
  18938.     ENDCASE
  18939. ENDIF
  18940. ENDPROC
  18941. PROCEDURE Option2.LostFocus
  18942. DO CASE
  18943. CASE Noutput = 1
  18944.     Activate Screen
  18945.     ? "Formset1.Form2.OptionGroup1.Option2.LostFocus"
  18946. CASE Noutput = 2
  18947.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.LostFocus" + ;
  18948.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  18949. CASE Noutput = 3
  18950.     Wait Window "Formset1.Form2.OptionGroup1.Option2.LostFocus" Nowait
  18951. ENDCASE
  18952. ENDPROC
  18953. PROCEDURE Option2.MouseDown
  18954. Parameters nButton, nShift, nXCoord, nYCoord
  18955. IF lTrackMouse
  18956.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18957.     DO CASE
  18958.     CASE Noutput = 1
  18959.         Activate Screen
  18960.         ? "Formset1.Form2.OptionGroup1.Option2.MouseDown"+paramstr
  18961.     CASE Noutput = 2
  18962.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.MouseDown"+paramstr + ;
  18963.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18964.     CASE Noutput = 3
  18965.         Wait Window "Formset1.Form2.OptionGroup1.Option2.MouseDown"+paramstr Nowait
  18966.     ENDCASE
  18967. ENDIF
  18968. ENDPROC
  18969. PROCEDURE Option2.MouseMove
  18970. Parameters nButton, nShift, nXCoord, nYCoord
  18971. IF lTrackMouse
  18972.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18973.     DO CASE
  18974.     CASE Noutput = 1
  18975.         Activate Screen
  18976.         ? "Formset1.Form2.OptionGroup1.Option2.MouseMove"+paramstr
  18977.     CASE Noutput = 2
  18978.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.MouseMove"+paramstr + ;
  18979.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18980.     CASE Noutput = 3
  18981.         Wait Window "Formset1.Form2.OptionGroup1.Option2.MouseMove"+paramstr Nowait
  18982.     ENDCASE
  18983. ENDIF
  18984. ENDPROC
  18985. PROCEDURE Option2.MouseUp
  18986. Parameters nButton, nShift, nXCoord, nYCoord
  18987. IF lTrackMouse
  18988.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  18989.     DO CASE
  18990.     CASE Noutput = 1
  18991.         Activate Screen
  18992.         ? "Formset1.Form2.OptionGroup1.Option2.MouseUp"+paramstr
  18993.     CASE Noutput = 2
  18994.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.MouseUp"+paramstr + ;
  18995.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  18996.     CASE Noutput = 3
  18997.         Wait Window "Formset1.Form2.OptionGroup1.Option2.MouseUp"+paramstr Nowait
  18998.     ENDCASE
  18999. ENDIF
  19000. ENDPROC
  19001. PROCEDURE Option2.RightClick
  19002. DO CASE
  19003. CASE Noutput = 1
  19004.     Activate Screen
  19005.     ? "Formset1.Form2.OptionGroup1.Option2.RightClick"
  19006. CASE Noutput = 2
  19007.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.RightClick" + ;
  19008.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19009. CASE Noutput = 3
  19010.     Wait Window "Formset1.Form2.OptionGroup1.Option2.RightClick" Nowait
  19011. ENDCASE
  19012. ENDPROC
  19013. PROCEDURE Option2.Destroy
  19014. DO CASE
  19015. CASE Noutput = 1
  19016.     Activate Screen
  19017.     ? "Formset1.Form2.OptionGroup1.Option2.Destroy"
  19018. CASE Noutput = 2
  19019.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Destroy" + ;
  19020.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19021. CASE Noutput = 3
  19022.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Destroy" Nowait
  19023. ENDCASE
  19024. ENDPROC
  19025. PROCEDURE Option2.Init
  19026. DO CASE
  19027. CASE Noutput = 1
  19028.     Activate Screen
  19029.     ? "Formset1.Form2.OptionGroup1.Option2.Init"
  19030. CASE Noutput = 2
  19031.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Init" + ;
  19032.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19033. CASE Noutput = 3
  19034.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Init" Nowait
  19035. ENDCASE
  19036. ENDPROC
  19037. PROCEDURE Option2.When
  19038. DO CASE
  19039. CASE Noutput = 1
  19040.     Activate Screen
  19041.     ? "Formset1.Form2.OptionGroup1.Option2.When"
  19042. CASE Noutput = 2
  19043.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.When" + ;
  19044.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19045. CASE Noutput = 3
  19046.     Wait Window "Formset1.Form2.OptionGroup1.Option2.When" Nowait
  19047. ENDCASE
  19048. ENDPROC
  19049. PROCEDURE Option2.Valid
  19050. DO CASE
  19051. CASE Noutput = 1
  19052.     Activate Screen
  19053.     ? "Formset1.Form2.OptionGroup1.Option2.Valid"
  19054. CASE Noutput = 2
  19055.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option2.Valid" + ;
  19056.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19057. CASE Noutput = 3
  19058.     Wait Window "Formset1.Form2.OptionGroup1.Option2.Valid" Nowait
  19059. ENDCASE
  19060. ENDPROC
  19061. PROCEDURE Option3.Click
  19062. DO CASE
  19063. CASE Noutput = 1
  19064.     Activate Screen
  19065.     ? "Formset1.Form2.OptionGroup1.Option3.Click"
  19066. CASE Noutput = 2
  19067.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Click" + ;
  19068.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19069. CASE Noutput = 3
  19070.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Click" Nowait
  19071. ENDCASE
  19072. ENDPROC
  19073. PROCEDURE Option3.DblClick
  19074. DO CASE
  19075. CASE Noutput = 1
  19076.     Activate Screen
  19077.     ? "Formset1.Form2.OptionGroup1.Option3.DblClick"
  19078. CASE Noutput = 2
  19079.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.DblClick" + ;
  19080.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19081. CASE Noutput = 3
  19082.     Wait Window "Formset1.Form2.OptionGroup1.Option3.DblClick" Nowait
  19083. ENDCASE
  19084. ENDPROC
  19085. PROCEDURE Option3.DragDrop
  19086. Parameters cSource, nXCoord, nYCoord
  19087. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  19088. DO CASE
  19089. CASE Noutput = 1
  19090.     Activate Screen
  19091.     ? "Formset1.Form2.OptionGroup1.Option3.DragDrop"+paramstr
  19092. CASE Noutput = 2
  19093.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.DragDrop"+paramstr + ;
  19094.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  19095. CASE Noutput = 3
  19096.     Wait Window "Formset1.Form2.OptionGroup1.Option3.DragDrop"+paramstr Nowait
  19097. ENDCASE
  19098. ENDPROC
  19099. PROCEDURE Option3.DragOver
  19100. Parameters cSource, nXCoord, nYCoord, nState
  19101. paramstr = ","+cSource.name+","+allt(str(nXCoord))+","+allt(str(nYCoord))+","+allt(str(nState))
  19102. DO CASE
  19103. CASE Noutput = 1
  19104.     Activate Screen
  19105.     ? "Formset1.Form2.OptionGroup1.Option3.DragOver"+paramstr
  19106. CASE Noutput = 2
  19107.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.DragOver"+paramstr + ;
  19108.     CHR(13) + ThisFormSet.EventWin.Edit1.Value
  19109. CASE Noutput = 3
  19110.     Wait Window "Formset1.Form2.OptionGroup1.Option3.DragOver"+paramstr Nowait
  19111. ENDCASE
  19112. ENDPROC
  19113. PROCEDURE Option3.GotFocus
  19114. DO CASE
  19115. CASE Noutput = 1
  19116.     Activate Screen
  19117.     ? "Formset1.Form2.OptionGroup1.Option3.GotFocus"
  19118. CASE Noutput = 2
  19119.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.GotFocus" + ;
  19120.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19121. CASE Noutput = 3
  19122.     Wait Window "Formset1.Form2.OptionGroup1.Option3.GotFocus" Nowait
  19123. ENDCASE
  19124. ENDPROC
  19125. PROCEDURE Option3.KeyPress
  19126. Parameters nKeyCode, nShiftAltCtrl
  19127. IF lTrackMouse
  19128.     paramstr = ","+allt(str(nKeyCode))+","+allt(str(nShiftAltCtrl))
  19129.     DO CASE
  19130.     CASE Noutput = 1
  19131.         Activate Screen
  19132.         ? "Formset1.Form2.OptionGroup1.Option3.KeyPress"+paramstr
  19133.     CASE Noutput = 2
  19134.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.KeyPress"+paramstr + ;
  19135.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  19136.     CASE Noutput = 3
  19137.         Wait Window "Formset1.Form2.OptionGroup1.Option3.KeyPress"+paramstr Nowait
  19138.     ENDCASE
  19139. ENDIF
  19140. ENDPROC
  19141. PROCEDURE Option3.LostFocus
  19142. DO CASE
  19143. CASE Noutput = 1
  19144.     Activate Screen
  19145.     ? "Formset1.Form2.OptionGroup1.Option3.LostFocus"
  19146. CASE Noutput = 2
  19147.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.LostFocus" + ;
  19148.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19149. CASE Noutput = 3
  19150.     Wait Window "Formset1.Form2.OptionGroup1.Option3.LostFocus" Nowait
  19151. ENDCASE
  19152. ENDPROC
  19153. PROCEDURE Option3.MouseDown
  19154. Parameters nButton, nShift, nXCoord, nYCoord
  19155. IF lTrackMouse
  19156.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  19157.     DO CASE
  19158.     CASE Noutput = 1
  19159.         Activate Screen
  19160.         ? "Formset1.Form2.OptionGroup1.Option3.MouseDown"+paramstr
  19161.     CASE Noutput = 2
  19162.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.MouseDown"+paramstr + ;
  19163.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  19164.     CASE Noutput = 3
  19165.         Wait Window "Formset1.Form2.OptionGroup1.Option3.MouseDown"+paramstr Nowait
  19166.     ENDCASE
  19167. ENDIF
  19168. ENDPROC
  19169. PROCEDURE Option3.MouseMove
  19170. Parameters nButton, nShift, nXCoord, nYCoord
  19171. IF lTrackMouse
  19172.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  19173.     DO CASE
  19174.     CASE Noutput = 1
  19175.         Activate Screen
  19176.         ? "Formset1.Form2.OptionGroup1.Option3.MouseMove"+paramstr
  19177.     CASE Noutput = 2
  19178.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.MouseMove"+paramstr + ;
  19179.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  19180.     CASE Noutput = 3
  19181.         Wait Window "Formset1.Form2.OptionGroup1.Option3.MouseMove"+paramstr Nowait
  19182.     ENDCASE
  19183. ENDIF
  19184. ENDPROC
  19185. PROCEDURE Option3.MouseUp
  19186. Parameters nButton, nShift, nXCoord, nYCoord
  19187. IF lTrackMouse
  19188.     paramstr = ","+allt(str(nButton))+","+allt(str(nShift))+","+allt(str(nXCoord))+","+allt(str(nYCoord))
  19189.     DO CASE
  19190.     CASE Noutput = 1
  19191.         Activate Screen
  19192.         ? "Formset1.Form2.OptionGroup1.Option3.MouseUp"+paramstr
  19193.     CASE Noutput = 2
  19194.         ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.MouseUp"+paramstr + ;
  19195.         CHR(13) + ThisFormSet.EventWin.Edit1.Value
  19196.     CASE Noutput = 3
  19197.         Wait Window "Formset1.Form2.OptionGroup1.Option3.MouseUp"+paramstr Nowait
  19198.     ENDCASE
  19199. ENDIF
  19200. ENDPROC
  19201. PROCEDURE Option3.RightClick
  19202. DO CASE
  19203. CASE Noutput = 1
  19204.     Activate Screen
  19205.     ? "Formset1.Form2.OptionGroup1.Option3.RightClick"
  19206. CASE Noutput = 2
  19207.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.RightClick" + ;
  19208.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19209. CASE Noutput = 3
  19210.     Wait Window "Formset1.Form2.OptionGroup1.Option3.RightClick" Nowait
  19211. ENDCASE
  19212. ENDPROC
  19213. PROCEDURE Option3.Destroy
  19214. DO CASE
  19215. CASE Noutput = 1
  19216.     Activate Screen
  19217.     ? "Formset1.Form2.OptionGroup1.Option3.Destroy"
  19218. CASE Noutput = 2
  19219.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Destroy" + ;
  19220.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19221. CASE Noutput = 3
  19222.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Destroy" Nowait
  19223. ENDCASE
  19224. ENDPROC
  19225. PROCEDURE Option3.Init
  19226. DO CASE
  19227. CASE Noutput = 1
  19228.     Activate Screen
  19229.     ? "Formset1.Form2.OptionGroup1.Option3.Init"
  19230. CASE Noutput = 2
  19231.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Init" + ;
  19232.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19233. CASE Noutput = 3
  19234.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Init" Nowait
  19235. ENDCASE
  19236. ENDPROC
  19237. PROCEDURE Option3.When
  19238. DO CASE
  19239. CASE Noutput = 1
  19240.     Activate Screen
  19241.     ? "Formset1.Form2.OptionGroup1.Option3.When"
  19242. CASE Noutput = 2
  19243.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.When" + ;
  19244.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19245. CASE Noutput = 3
  19246.     Wait Window "Formset1.Form2.OptionGroup1.Option3.When" Nowait
  19247. ENDCASE
  19248. ENDPROC
  19249. PROCEDURE Option3.Valid
  19250. DO CASE
  19251. CASE Noutput = 1
  19252.     Activate Screen
  19253.     ? "Formset1.Form2.OptionGroup1.Option3.Valid"
  19254. CASE Noutput = 2
  19255.     ThisFormSet.EventWin.Edit1.Value = "Formset1.Form2.OptionGroup1.Option3.Valid" + ;
  19256.     chr(13) + ThisFormSet.EventWin.Edit1.Value
  19257. CASE Noutput = 3
  19258.     Wait Window "Formset1.Form2.OptionGroup1.Option3.Valid" Nowait
  19259. ENDCASE
  19260. ENDPROC
  19261. Formset1.Form2.OptionGroup1.Click
  19262. Formset1.Form2.OptionGroup1.ClickC
  19263. Formset1.Form2.OptionGroup1.Click
  19264. NOUTPUT
  19265. THISFORMSET
  19266. EVENTWIN
  19267. EDIT1
  19268. VALUE
  19269. Formset1.Form2.OptionGroup1.DblClick
  19270. Formset1.Form2.OptionGroup1.DblClickC
  19271. Formset1.Form2.OptionGroup1.DblClick
  19272. NOUTPUT
  19273. THISFORMSET
  19274. EVENTWIN
  19275. EDIT1
  19276. VALUEB
  19277. Formset1.Form2.OptionGroup1.DragDrop
  19278. Formset1.Form2.OptionGroup1.DragDrop
  19279. Formset1.Form2.OptionGroup1.DragDrop
  19280. CSOURCE
  19281. NXCOORD
  19282. NYCOORD    
  19283. CPARAMSTR
  19284. NOUTPUT
  19285. THISFORMSET
  19286. EVENTWIN
  19287. EDIT1
  19288. VALUES
  19289. Formset1.Form2.OptionGroup1.DragOver
  19290. Formset1.Form2.OptionGroup1.DragOver
  19291. Formset1.Form2.OptionGroup1.DragOver
  19292. CSOURCE
  19293. NXCOORD
  19294. NYCOORD
  19295. NSTATE    
  19296. CPARAMSTR
  19297. NOUTPUT
  19298. THISFORMSET
  19299. EVENTWIN
  19300. EDIT1
  19301. VALUE
  19302. Formset1.Form2.OptionGroup1.InteractiveChange
  19303. Formset1.Form2.OptionGroup1.InteractiveChangeC
  19304. Formset1.Form2.OptionGroup1.InteractiveChange
  19305. NOUTPUT
  19306. THISFORMSET
  19307. EVENTWIN
  19308. EDIT1
  19309. VALUEh
  19310. Formset1.Form2.OptionGroup1.MouseDown
  19311. Formset1.Form2.OptionGroup1.MouseDown
  19312. Formset1.Form2.OptionGroup1.MouseDown
  19313. NBUTTON
  19314. NSHIFT
  19315. NXCOORD
  19316. NYCOORD
  19317. LTRACKMOUSE    
  19318. CPARAMSTR
  19319. NOUTPUT
  19320. THISFORMSET
  19321. EVENTWIN
  19322. EDIT1
  19323. VALUEh
  19324. Formset1.Form2.OptionGroup1.MouseMove
  19325. Formset1.Form2.OptionGroup1.MouseMove
  19326. Formset1.Form2.OptionGroup1.MouseMove
  19327. NBUTTON
  19328. NSHIFT
  19329. NXCOORD
  19330. NYCOORD
  19331. LTRACKMOUSE    
  19332. CPARAMSTR
  19333. NOUTPUT
  19334. THISFORMSET
  19335. EVENTWIN
  19336. EDIT1
  19337. VALUEb
  19338. Formset1.Form2.OptionGroup1.MouseUp
  19339. Formset1.Form2.OptionGroup1.MouseUp
  19340. Formset1.Form2.OptionGroup1.MouseUp
  19341. NBUTTON
  19342. NSHIFT
  19343. NXCOORD
  19344. NYCOORD
  19345. LTRACKMOUSE    
  19346. CPARAMSTR
  19347. NOUTPUT
  19348. THISFORMSET
  19349. EVENTWIN
  19350. EDIT1
  19351. VALUE
  19352. Formset1.Form2.OptionGroup1.RightClick
  19353. Formset1.Form2.OptionGroup1.RightClickC
  19354. Formset1.Form2.OptionGroup1.RightClick
  19355. NOUTPUT
  19356. THISFORMSET
  19357. EVENTWIN
  19358. EDIT1
  19359. VALUE
  19360. Formset1.Form2.OptionGroup1.Init
  19361. Formset1.Form2.OptionGroup1.InitC
  19362. Formset1.Form2.OptionGroup1.Init
  19363. NOUTPUT
  19364. THISFORMSET
  19365. EVENTWIN
  19366. EDIT1
  19367. VALUE
  19368. Formset1.Form2.OptionGroup1.When
  19369. Formset1.Form2.OptionGroup1.WhenC
  19370. Formset1.Form2.OptionGroup1.When
  19371. NOUTPUT
  19372. THISFORMSET
  19373. EVENTWIN
  19374. EDIT1
  19375. VALUE
  19376. Formset1.Form2.OptionGroup1.Valid
  19377. Formset1.Form2.OptionGroup1.ValidC
  19378. Formset1.Form2.OptionGroup1.Valid
  19379. NOUTPUT
  19380. THISFORMSET
  19381. EVENTWIN
  19382. EDIT1
  19383. VALUE
  19384. Formset1.Form2.OptionGroup1.Option1.Click
  19385. Formset1.Form2.OptionGroup1.Option1.ClickC
  19386. Formset1.Form2.OptionGroup1.Option1.Click
  19387. NOUTPUT
  19388. THISFORMSET
  19389. EVENTWIN
  19390. EDIT1
  19391. VALUE
  19392. Formset1.Form2.OptionGroup1.Option1.DblClick
  19393. Formset1.Form2.OptionGroup1.Option1.DblClickC
  19394. Formset1.Form2.OptionGroup1.Option1.DblClick
  19395. NOUTPUT
  19396. THISFORMSET
  19397. EVENTWIN
  19398. EDIT1
  19399. VALUEZ
  19400. Formset1.Form2.OptionGroup1.Option1.DragDrop
  19401. Formset1.Form2.OptionGroup1.Option1.DragDrop
  19402. Formset1.Form2.OptionGroup1.Option1.DragDrop
  19403. CSOURCE
  19404. NXCOORD
  19405. NYCOORD    
  19406. CPARAMSTR
  19407. NOUTPUT
  19408. THISFORMSET
  19409. EVENTWIN
  19410. EDIT1
  19411. VALUEk
  19412. Formset1.Form2.OptionGroup1.Option1.DragOver
  19413. Formset1.Form2.OptionGroup1.Option1.DragOver
  19414. Formset1.Form2.OptionGroup1.Option1.DragOver
  19415. CSOURCE
  19416. NXCOORD
  19417. NYCOORD
  19418. NSTATE    
  19419. CPARAMSTR
  19420. NOUTPUT
  19421. THISFORMSET
  19422. EVENTWIN
  19423. EDIT1
  19424. VALUE
  19425. Formset1.Form2.OptionGroup1.Option1.GotFocus
  19426. Formset1.Form2.OptionGroup1.Option1.GotFocusC
  19427. Formset1.Form2.OptionGroup1.Option1.GotFocus
  19428. NOUTPUT
  19429. THISFORMSET
  19430. EVENTWIN
  19431. EDIT1
  19432. VALUE[
  19433. Formset1.Form2.OptionGroup1.Option1.KeyPress
  19434. Formset1.Form2.OptionGroup1.Option1.KeyPress
  19435. Formset1.Form2.OptionGroup1.Option1.KeyPress
  19436. NKEYCODE
  19437. NSHIFTALTCTRL
  19438. LTRACKMOUSE    
  19439. CPARAMSTR
  19440. NOUTPUT
  19441. THISFORMSET
  19442. EVENTWIN
  19443. EDIT1
  19444. VALUE
  19445. Formset1.Form2.OptionGroup1.Option1.LostFocus
  19446. Formset1.Form2.OptionGroup1.Option1.LostFocusC
  19447. Formset1.Form2.OptionGroup1.Option1.LostFocus
  19448. NOUTPUT
  19449. THISFORMSET
  19450. EVENTWIN
  19451. EDIT1
  19452. VALUE
  19453. Formset1.Form2.OptionGroup1.Option1.MouseDown
  19454. Formset1.Form2.OptionGroup1.Option1.MouseDown
  19455. Formset1.Form2.OptionGroup1.Option1.MouseDown
  19456. NBUTTON
  19457. NSHIFT
  19458. NXCOORD
  19459. NYCOORD
  19460. LTRACKMOUSE    
  19461. CPARAMSTR
  19462. NOUTPUT
  19463. THISFORMSET
  19464. EVENTWIN
  19465. EDIT1
  19466. VALUE
  19467. Formset1.Form2.OptionGroup1.Option1.MouseMove
  19468. Formset1.Form2.OptionGroup1.Option1.MouseMove
  19469. Formset1.Form2.OptionGroup1.Option1.MouseMove
  19470. NBUTTON
  19471. NSHIFT
  19472. NXCOORD
  19473. NYCOORD
  19474. LTRACKMOUSE    
  19475. CPARAMSTR
  19476. NOUTPUT
  19477. THISFORMSET
  19478. EVENTWIN
  19479. EDIT1
  19480. VALUEz
  19481. Formset1.Form2.OptionGroup1.Option1.MouseUp
  19482. Formset1.Form2.OptionGroup1.Option1.MouseUp
  19483. Formset1.Form2.OptionGroup1.Option1.MouseUp
  19484. NBUTTON
  19485. NSHIFT
  19486. NXCOORD
  19487. NYCOORD
  19488. LTRACKMOUSE    
  19489. CPARAMSTR
  19490. NOUTPUT
  19491. THISFORMSET
  19492. EVENTWIN
  19493. EDIT1
  19494. VALUE
  19495. Formset1.Form2.OptionGroup1.Option1.RightClick
  19496. Formset1.Form2.OptionGroup1.Option1.RightClickC
  19497. Formset1.Form2.OptionGroup1.Option1.RightClick
  19498. NOUTPUT
  19499. THISFORMSET
  19500. EVENTWIN
  19501. EDIT1
  19502. VALUE
  19503. Formset1.Form2.OptionGroup1.Option1.Destroy
  19504. Formset1.Form2.OptionGroup1.Option1.DestroyC
  19505. Formset1.Form2.OptionGroup1.Option1.Destroy
  19506. NOUTPUT
  19507. THISFORMSET
  19508. EVENTWIN
  19509. EDIT1
  19510. VALUE
  19511. Formset1.Form2.OptionGroup1.Option1.Init
  19512. Formset1.Form2.OptionGroup1.Option1.InitC
  19513. Formset1.Form2.OptionGroup1.Option1.Init
  19514. NOUTPUT
  19515. THISFORMSET
  19516. EVENTWIN
  19517. EDIT1
  19518. VALUE
  19519. Formset1.Form2.OptionGroup1.Option1.When
  19520. Formset1.Form2.OptionGroup1.Option1.WhenC
  19521. Formset1.Form2.OptionGroup1.Option1.When
  19522. NOUTPUT
  19523. THISFORMSET
  19524. EVENTWIN
  19525. EDIT1
  19526. VALUE
  19527. Formset1.Form2.OptionGroup1.Option1.Valid
  19528. Formset1.Form2.OptionGroup1.Option1.ValidC
  19529. Formset1.Form2.OptionGroup1.Option1.Valid
  19530. NOUTPUT
  19531. THISFORMSET
  19532. EVENTWIN
  19533. EDIT1
  19534. VALUE
  19535. Formset1.Form2.OptionGroup1.Option2.Click
  19536. Formset1.Form2.OptionGroup1.Option2.ClickC
  19537. Formset1.Form2.OptionGroup1.Option2.Click
  19538. NOUTPUT
  19539. THISFORMSET
  19540. EVENTWIN
  19541. EDIT1
  19542. VALUE
  19543. Formset1.Form2.OptionGroup1.Option2.DblClick
  19544. Formset1.Form2.OptionGroup1.Option2.DblClickC
  19545. Formset1.Form2.OptionGroup1.Option2.DblClick
  19546. NOUTPUT
  19547. THISFORMSET
  19548. EVENTWIN
  19549. EDIT1
  19550. VALUEZ
  19551. Formset1.Form2.OptionGroup1.Option2.DragDrop
  19552. Formset1.Form2.OptionGroup1.Option2.DragDrop
  19553. Formset1.Form2.OptionGroup1.Option2.DragDrop
  19554. CSOURCE
  19555. NXCOORD
  19556. NYCOORD
  19557. PARAMSTR
  19558. NOUTPUT
  19559. THISFORMSET
  19560. EVENTWIN
  19561. EDIT1
  19562. VALUEk
  19563. Formset1.Form2.OptionGroup1.Option2.DragOver
  19564. Formset1.Form2.OptionGroup1.Option2.DragOver
  19565. Formset1.Form2.OptionGroup1.Option2.DragOver
  19566. CSOURCE
  19567. NXCOORD
  19568. NYCOORD
  19569. NSTATE
  19570. PARAMSTR
  19571. NOUTPUT
  19572. THISFORMSET
  19573. EVENTWIN
  19574. EDIT1
  19575. VALUE
  19576. Formset1.Form2.OptionGroup1.Option2.GotFocus
  19577. Formset1.Form2.OptionGroup1.Option2.GotFocusC
  19578. Formset1.Form2.OptionGroup1.Option2.GotFocus
  19579. NOUTPUT
  19580. THISFORMSET
  19581. EVENTWIN
  19582. EDIT1
  19583. VALUE[
  19584. Formset1.Form2.OptionGroup1.Option2.KeyPress
  19585. Formset1.Form2.OptionGroup1.Option2.KeyPress
  19586. Formset1.Form2.OptionGroup1.Option2.KeyPress
  19587. NKEYCODE
  19588. NSHIFTALTCTRL
  19589. LTRACKMOUSE
  19590. PARAMSTR
  19591. NOUTPUT
  19592. THISFORMSET
  19593. EVENTWIN
  19594. EDIT1
  19595. VALUE
  19596. Formset1.Form2.OptionGroup1.Option2.LostFocus
  19597. Formset1.Form2.OptionGroup1.Option2.LostFocusC
  19598. Formset1.Form2.OptionGroup1.Option2.LostFocus
  19599. NOUTPUT
  19600. THISFORMSET
  19601. EVENTWIN
  19602. EDIT1
  19603. VALUE
  19604. Formset1.Form2.OptionGroup1.Option2.MouseDown
  19605. Formset1.Form2.OptionGroup1.Option2.MouseDown
  19606. Formset1.Form2.OptionGroup1.Option2.MouseDown
  19607. NBUTTON
  19608. NSHIFT
  19609. NXCOORD
  19610. NYCOORD
  19611. LTRACKMOUSE
  19612. PARAMSTR
  19613. NOUTPUT
  19614. THISFORMSET
  19615. EVENTWIN
  19616. EDIT1
  19617. VALUE
  19618. Formset1.Form2.OptionGroup1.Option2.MouseMove
  19619. Formset1.Form2.OptionGroup1.Option2.MouseMove
  19620. Formset1.Form2.OptionGroup1.Option2.MouseMove
  19621. NBUTTON
  19622. NSHIFT
  19623. NXCOORD
  19624. NYCOORD
  19625. LTRACKMOUSE
  19626. PARAMSTR
  19627. NOUTPUT
  19628. THISFORMSET
  19629. EVENTWIN
  19630. EDIT1
  19631. VALUEz
  19632. Formset1.Form2.OptionGroup1.Option2.MouseUp
  19633. Formset1.Form2.OptionGroup1.Option2.MouseUp
  19634. Formset1.Form2.OptionGroup1.Option2.MouseUp
  19635. NBUTTON
  19636. NSHIFT
  19637. NXCOORD
  19638. NYCOORD
  19639. LTRACKMOUSE
  19640. PARAMSTR
  19641. NOUTPUT
  19642. THISFORMSET
  19643. EVENTWIN
  19644. EDIT1
  19645. VALUE
  19646. Formset1.Form2.OptionGroup1.Option2.RightClick
  19647. Formset1.Form2.OptionGroup1.Option2.RightClickC
  19648. Formset1.Form2.OptionGroup1.Option2.RightClick
  19649. NOUTPUT
  19650. THISFORMSET
  19651. EVENTWIN
  19652. EDIT1
  19653. VALUE
  19654. Formset1.Form2.OptionGroup1.Option2.Destroy
  19655. Formset1.Form2.OptionGroup1.Option2.DestroyC
  19656. Formset1.Form2.OptionGroup1.Option2.Destroy
  19657. NOUTPUT
  19658. THISFORMSET
  19659. EVENTWIN
  19660. EDIT1
  19661. VALUE
  19662. Formset1.Form2.OptionGroup1.Option2.Init
  19663. Formset1.Form2.OptionGroup1.Option2.InitC
  19664. Formset1.Form2.OptionGroup1.Option2.Init
  19665. NOUTPUT
  19666. THISFORMSET
  19667. EVENTWIN
  19668. EDIT1
  19669. VALUE
  19670. Formset1.Form2.OptionGroup1.Option2.When
  19671. Formset1.Form2.OptionGroup1.Option2.WhenC
  19672. Formset1.Form2.OptionGroup1.Option2.When
  19673. NOUTPUT
  19674. THISFORMSET
  19675. EVENTWIN
  19676. EDIT1
  19677. VALUE
  19678. Formset1.Form2.OptionGroup1.Option2.Valid
  19679. Formset1.Form2.OptionGroup1.Option2.ValidC
  19680. Formset1.Form2.OptionGroup1.Option2.Valid
  19681. NOUTPUT
  19682. THISFORMSET
  19683. EVENTWIN
  19684. EDIT1
  19685. VALUE
  19686. Formset1.Form2.OptionGroup1.Option3.Click
  19687. Formset1.Form2.OptionGroup1.Option3.ClickC
  19688. Formset1.Form2.OptionGroup1.Option3.Click
  19689. NOUTPUT
  19690. THISFORMSET
  19691. EVENTWIN
  19692. EDIT1
  19693. VALUE
  19694. Formset1.Form2.OptionGroup1.Option3.DblClick
  19695. Formset1.Form2.OptionGroup1.Option3.DblClickC
  19696. Formset1.Form2.OptionGroup1.Option3.DblClick
  19697. NOUTPUT
  19698. THISFORMSET
  19699. EVENTWIN
  19700. EDIT1
  19701. VALUEZ
  19702. Formset1.Form2.OptionGroup1.Option3.DragDrop
  19703. Formset1.Form2.OptionGroup1.Option3.DragDrop
  19704. Formset1.Form2.OptionGroup1.Option3.DragDrop
  19705. CSOURCE
  19706. NXCOORD
  19707. NYCOORD
  19708. PARAMSTR
  19709. NOUTPUT
  19710. THISFORMSET
  19711. EVENTWIN
  19712. EDIT1
  19713. VALUEk
  19714. Formset1.Form2.OptionGroup1.Option3.DragOver
  19715. Formset1.Form2.OptionGroup1.Option3.DragOver
  19716. Formset1.Form2.OptionGroup1.Option3.DragOver
  19717. CSOURCE
  19718. NXCOORD
  19719. NYCOORD
  19720. NSTATE
  19721. PARAMSTR
  19722. NOUTPUT
  19723. THISFORMSET
  19724. EVENTWIN
  19725. EDIT1
  19726. VALUE
  19727. Formset1.Form2.OptionGroup1.Option3.GotFocus
  19728. Formset1.Form2.OptionGroup1.Option3.GotFocusC
  19729. Formset1.Form2.OptionGroup1.Option3.GotFocus
  19730. NOUTPUT
  19731. THISFORMSET
  19732. EVENTWIN
  19733. EDIT1
  19734. VALUE[
  19735. Formset1.Form2.OptionGroup1.Option3.KeyPress
  19736. Formset1.Form2.OptionGroup1.Option3.KeyPress
  19737. Formset1.Form2.OptionGroup1.Option3.KeyPress
  19738. NKEYCODE
  19739. NSHIFTALTCTRL
  19740. LTRACKMOUSE
  19741. PARAMSTR
  19742. NOUTPUT
  19743. THISFORMSET
  19744. EVENTWIN
  19745. EDIT1
  19746. VALUE
  19747. Formset1.Form2.OptionGroup1.Option3.LostFocus
  19748. Formset1.Form2.OptionGroup1.Option3.LostFocusC
  19749. Formset1.Form2.OptionGroup1.Option3.LostFocus
  19750. NOUTPUT
  19751. THISFORMSET
  19752. EVENTWIN
  19753. EDIT1
  19754. VALUE
  19755. Formset1.Form2.OptionGroup1.Option3.MouseDown
  19756. Formset1.Form2.OptionGroup1.Option3.MouseDown
  19757. Formset1.Form2.OptionGroup1.Option3.MouseDown
  19758. NBUTTON
  19759. NSHIFT
  19760. NXCOORD
  19761. NYCOORD
  19762. LTRACKMOUSE
  19763. PARAMSTR
  19764. NOUTPUT
  19765. THISFORMSET
  19766. EVENTWIN
  19767. EDIT1
  19768. VALUE
  19769. Formset1.Form2.OptionGroup1.Option3.MouseMove
  19770. Formset1.Form2.OptionGroup1.Option3.MouseMove
  19771. Formset1.Form2.OptionGroup1.Option3.MouseMove
  19772. NBUTTON
  19773. NSHIFT
  19774. NXCOORD
  19775. NYCOORD
  19776. LTRACKMOUSE
  19777. PARAMSTR
  19778. NOUTPUT
  19779. THISFORMSET
  19780. EVENTWIN
  19781. EDIT1
  19782. VALUEz
  19783. Formset1.Form2.OptionGroup1.Option3.MouseUp
  19784. Formset1.Form2.OptionGroup1.Option3.MouseUp
  19785. Formset1.Form2.OptionGroup1.Option3.MouseUp
  19786. NBUTTON
  19787. NSHIFT
  19788. NXCOORD
  19789. NYCOORD
  19790. LTRACKMOUSE
  19791. PARAMSTR
  19792. NOUTPUT
  19793. THISFORMSET
  19794. EVENTWIN
  19795. EDIT1
  19796. VALUE
  19797. Formset1.Form2.OptionGroup1.Option3.RightClick
  19798. Formset1.Form2.OptionGroup1.Option3.RightClickC
  19799. Formset1.Form2.OptionGroup1.Option3.RightClick
  19800. NOUTPUT
  19801. THISFORMSET
  19802. EVENTWIN
  19803. EDIT1
  19804. VALUE
  19805. Formset1.Form2.OptionGroup1.Option3.Destroy
  19806. Formset1.Form2.OptionGroup1.Option3.DestroyC
  19807. Formset1.Form2.OptionGroup1.Option3.Destroy
  19808. NOUTPUT
  19809. THISFORMSET
  19810. EVENTWIN
  19811. EDIT1
  19812. VALUE
  19813. Formset1.Form2.OptionGroup1.Option3.Init
  19814. Formset1.Form2.OptionGroup1.Option3.InitC
  19815. Formset1.Form2.OptionGroup1.Option3.Init
  19816. NOUTPUT
  19817. THISFORMSET
  19818. EVENTWIN
  19819. EDIT1
  19820. VALUE
  19821. Formset1.Form2.OptionGroup1.Option3.When
  19822. Formset1.Form2.OptionGroup1.Option3.WhenC
  19823. Formset1.Form2.OptionGroup1.Option3.When
  19824. NOUTPUT
  19825. THISFORMSET
  19826. EVENTWIN
  19827. EDIT1
  19828. VALUE
  19829. Formset1.Form2.OptionGroup1.Option3.Valid
  19830. Formset1.Form2.OptionGroup1.Option3.ValidC
  19831. Formset1.Form2.OptionGroup1.Option3.Valid
  19832. NOUTPUT
  19833. THISFORMSET
  19834. EVENTWIN
  19835. EDIT1
  19836. VALUE
  19837. Click,
  19838. DblClickM
  19839. DragDropw
  19840. DragOver
  19841. InteractiveChange
  19842. MouseDown
  19843. MouseMove
  19844. MouseUp
  19845. RightClick
  19846. Valid
  19847. Option1.Click
  19848. Option1.DblClickT
  19849. Option1.DragDrop
  19850. Option1.DragOverN
  19851. Option1.GotFocus
  19852. Option1.KeyPressa
  19853. Option1.LostFocus
  19854. Option1.MouseDownd
  19855. Option1.MouseMoveQ
  19856. Option1.MouseUp>
  19857. Option1.RightClick%!
  19858. Option1.Destroym"
  19859. Option1.Init
  19860. Option1.When
  19861. Option1.Valid
  19862. Option2.ClickQ'
  19863. Option2.DblClick
  19864. Option2.DragDrop
  19865. Option2.DragOver
  19866. Option2.GotFocusS-
  19867. Option2.KeyPress
  19868. Option2.LostFocusR0
  19869. Option2.MouseDown
  19870. Option2.MouseMove
  19871. Option2.MouseUpo5
  19872. Option2.RightClickU7
  19873. Option2.Destroy
  19874. Option2.Init
  19875. Option2.When
  19876. Option2.ValidH<
  19877. Option3.Click
  19878. Option3.DblClick
  19879. Option3.DragDrop
  19880. Option3.DragOver
  19881. Option3.GotFocus
  19882. Option3.KeyPress
  19883. Option3.LostFocus
  19884. Option3.MouseDown
  19885. Option3.MouseMove
  19886. Option3.MouseUp
  19887. Option3.RightClick
  19888. Option3.Destroy
  19889. Option3.Init
  19890. Option3.WhenBQ
  19891. Option3.ValidxR
  19892. c:\vfp\samples\controls\events\
  19893. events.scx
  19894. c:\vfp\samples\controls\events\events.scx
  19895. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  19896. Formset1.Activate
  19897. Formset1.ActivateC
  19898. Formset1.Activate
  19899. NOUTPUT
  19900. THISFORMSET
  19901. EVENTWIN
  19902. EDIT1
  19903. VALUE
  19904. LDONE
  19905. Formset1.Deactivate
  19906. Formset1.DeactivateC
  19907. Formset1.Deactivate
  19908. NOUTPUT
  19909. THISFORMSET
  19910. EVENTWIN
  19911. EDIT1
  19912. VALUE
  19913. Formset1.Destroy
  19914. Formset1.DestroyC
  19915. Formset1.Destroy
  19916. NOUTPUT
  19917. THISFORMSET
  19918. EVENTWIN
  19919. EDIT1
  19920. VALUE
  19921. Formset1.Init
  19922. Formset1.InitC
  19923. Formset1.Init
  19924. NOUTPUT
  19925. THISFORMSET
  19926. EVENTWIN
  19927. EDIT1
  19928. VALUE*
  19929. ERROR CC
  19930. NERROR
  19931. CMETHOD
  19932. NLINE
  19933. Formset1.Load
  19934. Formset1.LoadC
  19935. Formset1.Load
  19936. TOOLBAR
  19937. NOUTPUT
  19938. THISFORMSET
  19939. EVENTWIN
  19940. EDIT1
  19941. VALUE
  19942. Formset1.Unload
  19943. Formset1.UnloadC
  19944. Formset1.Unload
  19945. mainb
  19946. NOUTPUT
  19947. THISFORMSET
  19948. EVENTWIN
  19949. EDIT1
  19950. VALUE
  19951. Activate,
  19952. Deactivate7
  19953. Destroy.
  19954. Error
  19955. LoadG
  19956. UnloadP
  19957. c:\vfp\samples\controls\events\
  19958. events.scx
  19959. c:\vfp\samples\controls\events\events.scx
  19960. Formset1.Form1.Activate
  19961. Formset1.Form1.ActivateC
  19962. Formset1.Form1.Activate
  19963. NOUTPUT
  19964. THISFORMSET
  19965. EVENTWIN
  19966. EDIT1
  19967. VALUE
  19968. Formset1.Form1.Click
  19969. Formset1.Form1.ClickC
  19970. Formset1.Form1.Click
  19971. NOUTPUT
  19972. THISFORMSET
  19973. EVENTWIN
  19974. EDIT1
  19975. VALUE
  19976. Formset1.Form1.DblClick
  19977. Formset1.Form1.DblClickC
  19978. Formset1.Form1.DblClick
  19979. NOUTPUT
  19980. THISFORMSET
  19981. EVENTWIN
  19982. EDIT1
  19983. VALUE
  19984. Formset1.Form1.Deactivate
  19985. Formset1.Form1.DeactivateC
  19986. Formset1.Form1.Deactivate
  19987. NOUTPUT
  19988. THISFORMSET
  19989. EVENTWIN
  19990. EDIT1
  19991. VALUE
  19992. Formset1.Form1.Destroy
  19993. Formset1.Form1.DestroyC
  19994. Formset1.Form1.Destroy
  19995. NOUTPUT
  19996. THISFORMSET
  19997. EVENTWIN
  19998. EDIT1
  19999. VALUE
  20000. Formset1.Form1.DragDrop 
  20001. Formset1.Form1.DragDrop 
  20002. Formset1.Form1.DragDrop 
  20003. CSOURCE
  20004. NXCOORD
  20005. NYCOORD    
  20006. CPARAMSTR
  20007. NOUTPUT
  20008. THISFORMSET
  20009. EVENTWIN
  20010. EDIT1
  20011. VALUE/
  20012. Formset1.Form1.DragOver 
  20013. Formset1.Form1.DragOver 
  20014. Formset1.Form1.DragOver 
  20015. CSOURCE
  20016. NXCOORD
  20017. NYCOORD
  20018. NSTATE    
  20019. CPARAMSTR
  20020. NOUTPUT
  20021. THISFORMSET
  20022. EVENTWIN
  20023. EDIT1
  20024. VALUE
  20025. Formset1.Form1.GotFocus
  20026. Formset1.Form1.GotFocusC
  20027. Formset1.Form1.GotFocus
  20028. NOUTPUT
  20029. THISFORMSET
  20030. EVENTWIN
  20031. EDIT1
  20032. VALUE
  20033. Formset1.Form1.KeyPress 
  20034. Formset1.Form1.KeyPress 
  20035. Formset1.Form1.KeyPress 
  20036. NKEYCODE
  20037. NSHIFTALTCTRL    
  20038. CPARAMSTR
  20039. NOUTPUT
  20040. THISFORMSET
  20041. EVENTWIN
  20042. EDIT1
  20043. VALUE
  20044. Formset1.Form1.Load
  20045. Formset1.Form1.LoadC
  20046. Formset1.Form1.Load
  20047. NOUTPUT
  20048. OFORMSET
  20049. THISFORMSET
  20050. EVENTWIN
  20051. EDIT1
  20052. VALUE
  20053. Formset1.Form1.LostFocus
  20054. Formset1.Form1.LostFocusC
  20055. Formset1.Form1.LostFocus
  20056. NOUTPUT
  20057. THISFORMSET
  20058. EVENTWIN
  20059. EDIT1
  20060. VALUED
  20061. Formset1.Form1.MouseDown 
  20062. Formset1.Form1.MouseDown 
  20063. Formset1.Form1.MouseDown 
  20064. NBUTTON
  20065. NSHIFT
  20066. NXCOORD
  20067. NYCOORD
  20068. LTRACKMOUSE    
  20069. CPARAMSTR
  20070. NOUTPUT
  20071. THISFORMSET
  20072. EVENTWIN
  20073. EDIT1
  20074. VALUED
  20075. Formset1.Form1.MouseMove 
  20076. Formset1.Form1.MouseMove 
  20077. Formset1.Form1.MouseMove 
  20078. NBUTTON
  20079. NSHIFT
  20080. NXCOORD
  20081. NYCOORD
  20082. LTRACKMOUSE    
  20083. CPARAMSTR
  20084. NOUTPUT
  20085. THISFORMSET
  20086. EVENTWIN
  20087. EDIT1
  20088. VALUE>
  20089. Formset1.Form1.MouseUp 
  20090. Formset1.Form1.MouseUp 
  20091. Formset1.Form1.MouseUp 
  20092. NBUTTON
  20093. NSHIFT
  20094. NXCOORD
  20095. NYCOORD
  20096. LTRACKMOUSE    
  20097. CPARAMSTR
  20098. NOUTPUT
  20099. THISFORMSET
  20100. EVENTWIN
  20101. EDIT1
  20102. VALUE
  20103. Formset1.Form1.Resize
  20104. Formset1.Form1.ResizeC
  20105. Formset1.Form1.Resize
  20106. NOUTPUT
  20107. THISFORMSET
  20108. EVENTWIN
  20109. EDIT1
  20110. VALUE
  20111. Formset1.Form1.Unload
  20112. Formset1.Form1.UnloadC
  20113. Formset1.Form1.Unload
  20114. NOUTPUT
  20115. THISFORMSET
  20116. EVENTWIN
  20117. EDIT1
  20118. VALUE    
  20119. EVENTTOOL
  20120. Activate,
  20121. Click/
  20122. DblClick)
  20123. Deactivate,
  20124. Destroy5
  20125. DragDrop5
  20126. DragOver
  20127. GotFocusF
  20128. KeyPressI    
  20129. LostFocus
  20130. MouseDown
  20131. MouseMove}
  20132. MouseUp.
  20133. Paint
  20134. Resize
  20135. Unload
  20136. c:\vfp\samples\controls\events\
  20137. events.scx
  20138. c:\vfp\samples\controls\events\events.scx
  20139. NBUTTON
  20140. NSHIFT
  20141. NXCOORD
  20142. NYCOORD
  20143. DRAG&
  20144. NBUTTON
  20145. NSHIFT
  20146. NXCOORD
  20147. NYCOORD
  20148. DRAG    
  20149. MouseDown,
  20150. MouseUp
  20151. c:\vfp\samples\controls\events\
  20152. events.scx
  20153. c:\vfp\samples\controls\events\events.scx
  20154. Formset1.Form1.Spinner1.Click
  20155. Formset1.Form1.Spinner1.ClickC
  20156. Formset1.Form1.Spinner1.Click
  20157. NOUTPUT
  20158. THISFORMSET
  20159. EVENTWIN
  20160. EDIT1
  20161. VALUE
  20162. Formset1.Form1.Spinner1.DblClick
  20163. Formset1.Form1.Spinner1.DblClickC
  20164. Formset1.Form1.Spinner1.DblClick
  20165. NOUTPUT
  20166. THISFORMSET
  20167. EVENTWIN
  20168. EDIT1
  20169. VALUE
  20170. Formset1.Form1.Spinner1.DownClick
  20171. Formset1.Form1.Spinner1.DownClickC
  20172. Formset1.Form1.Spinner1.DownClick
  20173. NOUTPUT
  20174. THISFORMSET
  20175. EVENTWIN
  20176. EDIT1
  20177. VALUE6
  20178. Formset1.Form1.Spinner1.DragDrop
  20179. Formset1.Form1.Spinner1.DragDrop
  20180. Formset1.Form1.Spinner1.DragDrop
  20181. CSOURCE
  20182. NXCOORD
  20183. NYCOORD    
  20184. CPARAMSTR
  20185. NOUTPUT
  20186. THISFORMSET
  20187. EVENTWIN
  20188. EDIT1
  20189. VALUEG
  20190. Formset1.Form1.Spinner1.DragOver
  20191. Formset1.Form1.Spinner1.DragOver
  20192. Formset1.Form1.Spinner1.DragOver
  20193. CSOURCE
  20194. NXCOORD
  20195. NYCOORD
  20196. NSTATE    
  20197. CPARAMSTR
  20198. NOUTPUT
  20199. THISFORMSET
  20200. EVENTWIN
  20201. EDIT1
  20202. VALUE
  20203. Formset1.Form1.Spinner1.GotFocus
  20204. Formset1.Form1.Spinner1.GotFocusC
  20205. Formset1.Form1.Spinner1.GotFocus
  20206. NOUTPUT
  20207. THISFORMSET
  20208. EVENTWIN
  20209. EDIT1
  20210. VALUE
  20211. Formset1.Form1.Spinner1.InteractiveChange
  20212. Formset1.Form1.Spinner1.InteractiveChangeC
  20213. Formset1.Form1.Spinner1.InteractiveChange
  20214. NOUTPUT
  20215. THISFORMSET
  20216. EVENTWIN
  20217. EDIT1
  20218. VALUE7
  20219. Formset1.Form1.Spinner1.KeyPress
  20220. Formset1.Form1.Spinner1.KeyPress
  20221. Formset1.Form1.Spinner1.KeyPress
  20222. NKEYCODE
  20223. NSHIFTALTCTRL
  20224. LTRACKMOUSE    
  20225. CPARAMSTR
  20226. NOUTPUT
  20227. THISFORMSET
  20228. EVENTWIN
  20229. EDIT1
  20230. VALUE
  20231. Formset1.Form1.Spinner1.LostFocus
  20232. Formset1.Form1.Spinner1.LostFocusC
  20233. Formset1.Form1.Spinner1.LostFocus
  20234. NOUTPUT
  20235. THISFORMSET
  20236. EVENTWIN
  20237. EDIT1
  20238. VALUE\
  20239. Formset1.Form1.Spinner1.MouseDown
  20240. Formset1.Form1.Spinner1.MouseDown
  20241. Formset1.Form1.Spinner1.MouseDown
  20242. NBUTTON
  20243. NSHIFT
  20244. NXCOORD
  20245. NYCOORD
  20246. LTRACKMOUSE    
  20247. CPARAMSTR
  20248. NOUTPUT
  20249. THISFORMSET
  20250. EVENTWIN
  20251. EDIT1
  20252. VALUE\
  20253. Formset1.Form1.Spinner1.MouseMove
  20254. Formset1.Form1.Spinner1.MouseMove
  20255. Formset1.Form1.Spinner1.MouseMove
  20256. NBUTTON
  20257. NSHIFT
  20258. NXCOORD
  20259. NYCOORD
  20260. LTRACKMOUSE    
  20261. CPARAMSTR
  20262. NOUTPUT
  20263. THISFORMSET
  20264. EVENTWIN
  20265. EDIT1
  20266. VALUEV
  20267. Formset1.Form1.Spinner1.MouseUp
  20268. Formset1.Form1.Spinner1.MouseUp
  20269. Formset1.Form1.Spinner1.MouseUp
  20270. NBUTTON
  20271. NSHIFT
  20272. NXCOORD
  20273. NYCOORD
  20274. LTRACKMOUSE    
  20275. CPARAMSTR
  20276. NOUTPUT
  20277. THISFORMSET
  20278. EVENTWIN
  20279. EDIT1
  20280. VALUE
  20281. Formset1.Form1.Spinner1.RightClick
  20282. Formset1.Form1.Spinner1.RightClickC
  20283. Formset1.Form1.Spinner1.RightClick
  20284. NOUTPUT
  20285. THISFORMSET
  20286. EVENTWIN
  20287. EDIT1
  20288. VALUE
  20289. Formset1.Form1.Spinner1.UpClick
  20290. Formset1.Form1.Spinner1.UpClickC
  20291. Formset1.Form1.Spinner1.UpClick
  20292. NOUTPUT
  20293. THISFORMSET
  20294. EVENTWIN
  20295. EDIT1
  20296. VALUE
  20297. Formset1.Form1.Spinner1.Init
  20298. Formset1.Form1.Spinner1.InitC
  20299. Formset1.Form1.Spinner1.Init
  20300. NOUTPUT
  20301. THISFORMSET
  20302. EVENTWIN
  20303. EDIT1
  20304. VALUE
  20305. Formset1.Form1.Spinner1.When
  20306. Formset1.Form1.Spinner1.WhenC
  20307. Formset1.Form1.Spinner1.When
  20308. NOUTPUT
  20309. THISFORMSET
  20310. EVENTWIN
  20311. EDIT1
  20312. VALUE
  20313. Formset1.Form1.Spinner1.Valid
  20314. Formset1.Form1.Spinner1.ValidC
  20315. Formset1.Form1.Spinner1.Valid
  20316. NOUTPUT
  20317. THISFORMSET
  20318. EVENTWIN
  20319. EDIT1
  20320. VALUE
  20321. Click,
  20322. DblClickA
  20323. DownClick_
  20324. DragDrop
  20325. DragOver
  20326. GotFocus
  20327. InteractiveChange
  20328. KeyPress
  20329. LostFocus
  20330. MouseDown
  20331. MouseMove
  20332. MouseUpe
  20333. RightClick(
  20334. UpClickL
  20335. Initg
  20336. Wheny
  20337. Valid
  20338. c:\vfp\samples\controls\events\
  20339. events.scx
  20340. c:\vfp\samples\controls\events\events.scx
  20341. Formset1.Form1.Command1.Click
  20342. Formset1.Form1.Command1.ClickC
  20343. Formset1.Form1.Command1.Click
  20344. NOUTPUT
  20345. THISFORMSET
  20346. EVENTWIN
  20347. EDIT1
  20348. VALUE6
  20349. Formset1.Form1.Command1.DragDrop
  20350. Formset1.Form1.Command1.DragDrop
  20351. Formset1.Form1.Command1.DragDrop
  20352. CSOURCE
  20353. NXCOORD
  20354. NYCOORD    
  20355. CPARAMSTR
  20356. NOUTPUT
  20357. THISFORMSET
  20358. EVENTWIN
  20359. EDIT1
  20360. VALUEG
  20361. Formset1.Form1.Command1.DragOver
  20362. Formset1.Form1.Command1.DragOver
  20363. Formset1.Form1.Command1.DragOver
  20364. CSOURCE
  20365. NXCOORD
  20366. NYCOORD
  20367. NSTATE    
  20368. CPARAMSTR
  20369. NOUTPUT
  20370. THISFORMSET
  20371. EVENTWIN
  20372. EDIT1
  20373. VALUE
  20374. Formset1.Form1.Command1.GotFocus
  20375. Formset1.Form1.Command1.GotFocusC
  20376. Formset1.Form1.Command1.GotFocus
  20377. NOUTPUT
  20378. THISFORMSET
  20379. EVENTWIN
  20380. EDIT1
  20381. VALUE7
  20382. Formset1.Form1.Command1.KeyPress
  20383. Formset1.Form1.Command1.KeyPress
  20384. Formset1.Form1.Command1.KeyPress
  20385. NKEYCODE
  20386. NSHIFTALTCTRL
  20387. LTRACKMOUSE    
  20388. CPARAMSTR
  20389. NOUTPUT
  20390. THISFORMSET
  20391. EVENTWIN
  20392. EDIT1
  20393. VALUE
  20394. Formset1.Form1.Command1.LostFocus
  20395. Formset1.Form1.Command1.LostFocusC
  20396. Formset1.Form1.Command1.LostFocus
  20397. NOUTPUT
  20398. THISFORMSET
  20399. EVENTWIN
  20400. EDIT1
  20401. VALUE\
  20402. Formset1.Form1.Command1.MouseDown
  20403. Formset1.Form1.Command1.MouseDown
  20404. Formset1.Form1.Command1.MouseDown
  20405. NBUTTON
  20406. NSHIFT
  20407. NXCOORD
  20408. NYCOORD
  20409. LTRACKMOUSE    
  20410. CPARAMSTR
  20411. NOUTPUT
  20412. THISFORMSET
  20413. EVENTWIN
  20414. EDIT1
  20415. VALUE\
  20416. Formset1.Form1.Command1.MouseMove
  20417. Formset1.Form1.Command1.MouseMove
  20418. Formset1.Form1.Command1.MouseMove
  20419. NBUTTON
  20420. NSHIFT
  20421. NXCOORD
  20422. NYCOORD
  20423. LTRACKMOUSE    
  20424. CPARAMSTR
  20425. NOUTPUT
  20426. THISFORMSET
  20427. EVENTWIN
  20428. EDIT1
  20429. VALUEV
  20430. Formset1.Form1.Command1.MouseUp
  20431. Formset1.Form1.Command1.MouseUp
  20432. Formset1.Form1.Command1.MouseUp
  20433. NBUTTON
  20434. NSHIFT
  20435. NXCOORD
  20436. NYCOORD
  20437. LTRACKMOUSE    
  20438. CPARAMSTR
  20439. NOUTPUT
  20440. THISFORMSET
  20441. EVENTWIN
  20442. EDIT1
  20443. VALUE
  20444. Formset1.Form1.Command1.RightClick
  20445. Formset1.Form1.Command1.RightClickC
  20446. Formset1.Form1.Command1.RightClick
  20447. NOUTPUT
  20448. THISFORMSET
  20449. EVENTWIN
  20450. EDIT1
  20451. VALUE
  20452. Formset1.Form1.Command1.Destroy
  20453. Formset1.Form1.Command1.DestroyC
  20454. Formset1.Form1.Command1.Destroy
  20455. NOUTPUT
  20456. THISFORMSET
  20457. EVENTWIN
  20458. EDIT1
  20459. VALUE
  20460. Formset1.Form1.Command1.Init
  20461. Formset1.Form1.Command1.InitC
  20462. Formset1.Form1.Command1.Init
  20463. NOUTPUT
  20464. THISFORMSET
  20465. EVENTWIN
  20466. EDIT1
  20467. VALUE
  20468. Formset1.Form1.Command1.When
  20469. Formset1.Form1.Command1.WhenC
  20470. Formset1.Form1.Command1.When
  20471. NOUTPUT
  20472. THISFORMSET
  20473. EVENTWIN
  20474. EDIT1
  20475. VALUE
  20476. Formset1.Form1.Command1.Valid
  20477. Formset1.Form1.Command1.ValidC
  20478. Formset1.Form1.Command1.Valid
  20479. NOUTPUT
  20480. THISFORMSET
  20481. EVENTWIN
  20482. EDIT1
  20483. VALUE
  20484. Click,
  20485. DragDropA
  20486. DragOver
  20487. GotFocus
  20488. KeyPress
  20489. LostFocus:
  20490. MouseDown[
  20491. MouseMove$
  20492. MouseUp
  20493. RightClick
  20494. Destroy
  20495. Valid
  20496. c:\vfp\samples\controls\events\
  20497. events.scx
  20498. c:\vfp\samples\controls\events\events.scx
  20499. Formset1.Form2.Activate
  20500. Formset1.Form2.ActivateC
  20501. Formset1.Form2.Activate
  20502. NOUTPUT
  20503. THISFORMSET
  20504. EVENTWIN
  20505. EDIT1
  20506. VALUE
  20507. Formset1.Form2.Click
  20508. Formset1.Form2.ClickC
  20509. Formset1.Form2.Click
  20510. NOUTPUT
  20511. THISFORMSET
  20512. EVENTWIN
  20513. EDIT1
  20514. VALUE
  20515. Formset1.Form2.DblClick
  20516. Formset1.Form2.DblClickC
  20517. Formset1.Form2.DblClick
  20518. NOUTPUT
  20519. THISFORMSET
  20520. EVENTWIN
  20521. EDIT1
  20522. VALUE
  20523. Formset1.Form2.Deactivate
  20524. Formset1.Form2.DeactivateC
  20525. Formset1.Form2.Deactivate
  20526. NOUTPUT
  20527. THISFORMSET
  20528. EVENTWIN
  20529. EDIT1
  20530. VALUE
  20531. Formset1.Form2.Destroy
  20532. Formset1.Form2.DestroyC
  20533. Formset1.Form2.Destroy
  20534. NOUTPUT
  20535. THISFORMSET
  20536. EVENTWIN
  20537. EDIT1
  20538. VALUE
  20539. Formset1.Form2.DragDrop
  20540. Formset1.Form2.DragDrop
  20541. Formset1.Form2.DragDrop
  20542. CSOURCE
  20543. NXCOORD
  20544. NYCOORD    
  20545. CPARAMSTR
  20546. NOUTPUT
  20547. THISFORMSET
  20548. EVENTWIN
  20549. EDIT1
  20550. VALUE,
  20551. Formset1.Form2.DragOver
  20552. Formset1.Form2.DragOver
  20553. Formset1.Form2.DragOver
  20554. CSOURCE
  20555. NXCOORD
  20556. NYCOORD
  20557. NSTATE    
  20558. CPARAMSTR
  20559. NOUTPUT
  20560. THISFORMSET
  20561. EVENTWIN
  20562. EDIT1
  20563. VALUE
  20564. Formset1.Form2.GotFocus
  20565. Formset1.Form2.GotFocusC
  20566. Formset1.Form2.GotFocus
  20567. NOUTPUT
  20568. THISFORMSET
  20569. EVENTWIN
  20570. EDIT1
  20571. VALUE
  20572. Formset1.Form2.Init
  20573. Formset1.Form2.InitC
  20574. Formset1.Form2.Init
  20575. NOUTPUT
  20576. THISFORMSET
  20577. EVENTWIN
  20578. EDIT1
  20579. VALUE
  20580. Formset1.Form2.KeyPress
  20581. Formset1.Form2.KeyPress
  20582. Formset1.Form2.KeyPress
  20583. NKEYCODE
  20584. NSHIFTALTCTRL
  20585. LTRACKMOUSE    
  20586. CPARAMSTR
  20587. NOUTPUT
  20588. THISFORMSET
  20589. EVENTWIN
  20590. EDIT1
  20591. VALUE
  20592. Formset1.Form2.Load
  20593. Formset1.Form2.LoadC
  20594. Formset1.Form2.Load
  20595. NOUTPUT
  20596. THISFORMSET
  20597. EVENTWIN
  20598. EDIT1
  20599. VALUE
  20600. Formset1.Form2.LostFocus
  20601. Formset1.Form2.LostFocusC
  20602. Formset1.Form2.LostFocus
  20603. NOUTPUT
  20604. THISFORMSET
  20605. EVENTWIN
  20606. EDIT1
  20607. VALUEA
  20608. Formset1.Form2.MouseDown
  20609. Formset1.Form2.MouseDown
  20610. Formset1.Form2.MouseDown
  20611. NBUTTON
  20612. NSHIFT
  20613. NXCOORD
  20614. NYCOORD
  20615. LTRACKMOUSE    
  20616. CPARAMSTR
  20617. NOUTPUT
  20618. THISFORMSET
  20619. EVENTWIN
  20620. EDIT1
  20621. VALUEA
  20622. Formset1.Form2.MouseMove
  20623. Formset1.Form2.MouseMove
  20624. Formset1.Form2.MouseMove
  20625. NBUTTON
  20626. NSHIFT
  20627. NXCOORD
  20628. NYCOORD
  20629. LTRACKMOUSE    
  20630. CPARAMSTR
  20631. NOUTPUT
  20632. THISFORMSET
  20633. EVENTWIN
  20634. EDIT1
  20635. VALUE;
  20636. Formset1.Form2.MouseUp
  20637. Formset1.Form2.MouseUp
  20638. Formset1.Form2.MouseUp
  20639. NBUTTON
  20640. NSHIFT
  20641. NXCOORD
  20642. NYCOORD
  20643. LTRACKMOUSE    
  20644. CPARAMSTR
  20645. NOUTPUT
  20646. THISFORMSET
  20647. EVENTWIN
  20648. EDIT1
  20649. VALUE
  20650. Formset1.Form2.Resize
  20651. Formset1.Form2.ResizeC
  20652. Formset1.Form2.Resize
  20653. NOUTPUT
  20654. THISFORMSET
  20655. EVENTWIN
  20656. EDIT1
  20657. VALUE
  20658. Formset1.Form2.Unload
  20659. Formset1.Form2.UnloadC
  20660. Formset1.Form2.Unload
  20661. NOUTPUT
  20662. THISFORMSET
  20663. EVENTWIN
  20664. EDIT1
  20665. VALUE
  20666. Activate,
  20667. Click/
  20668. DblClick)
  20669. Deactivate,
  20670. Destroy5
  20671. DragDrop5
  20672. DragOver
  20673. GotFocus@
  20674. InitC    
  20675. KeyPress:
  20676. LostFocus
  20677. MouseDown
  20678. MouseMoved
  20679. MouseUp
  20680. Paint
  20681. Resize
  20682. Unload
  20683. c:\vfp\samples\controls\events\
  20684. events.scx
  20685. c:\vfp\samples\controls\events\events.scx
  20686. Formset1.Form2.PageFrame1.Init
  20687. Formset1.Form2.PageFrame1.InitC
  20688. Formset1.Form2.PageFrame1.Init
  20689. NOUTPUT
  20690. THISFORMSET
  20691. EVENTWIN
  20692. EDIT1
  20693. VALUE
  20694. Formset1.Form2.PageFrame1.Destroy
  20695. Formset1.Form2.PageFrame1.DestroyC
  20696. Formset1.Form2.PageFrame1.Destroy
  20697. NOUTPUT
  20698. THISFORMSET
  20699. EVENTWIN
  20700. EDIT1
  20701. VALUE
  20702. Formset1.Form2.PageFrame1.Click
  20703. Formset1.Form2.PageFrame1.ClickC
  20704. Formset1.Form2.PageFrame1.Click
  20705. NOUTPUT
  20706. THISFORMSET
  20707. EVENTWIN
  20708. EDIT1
  20709. VALUE
  20710. Formset1.Form2.PageFrame1.DblClick
  20711. Formset1.Form2.PageFrame1.DblClickC
  20712. Formset1.Form2.PageFrame1.DblClick
  20713. NOUTPUT
  20714. THISFORMSET
  20715. EVENTWIN
  20716. EDIT1
  20717. VALUE<
  20718. Formset1.Form2.PageFrame1.DragDrop
  20719. Formset1.Form2.PageFrame1.DragDrop
  20720. Formset1.Form2.PageFrame1.DragDrop
  20721. CSOURCE
  20722. NXCOORD
  20723. NYCOORD    
  20724. CPARAMSTR
  20725. NOUTPUT
  20726. THISFORMSET
  20727. EVENTWIN
  20728. EDIT1
  20729. VALUEM
  20730. Formset1.Form2.PageFrame1.DragOver
  20731. Formset1.Form2.PageFrame1.DragOver
  20732. Formset1.Form2.PageFrame1.DragOver
  20733. CSOURCE
  20734. NXCOORD
  20735. NYCOORD
  20736. NSTATE    
  20737. CPARAMSTR
  20738. NOUTPUT
  20739. THISFORMSET
  20740. EVENTWIN
  20741. EDIT1
  20742. VALUEb
  20743. Formset1.Form2.PageFrame1.MouseDown
  20744. Formset1.Form2.PageFrame1.MouseDown
  20745. Formset1.Form2.PageFrame1.MouseDown
  20746. NBUTTON
  20747. NSHIFT
  20748. NXCOORD
  20749. NYCOORD
  20750. LTRACKMOUSE    
  20751. CPARAMSTR
  20752. NOUTPUT
  20753. THISFORMSET
  20754. EVENTWIN
  20755. EDIT1
  20756. VALUEb
  20757. Formset1.Form2.PageFrame1.MouseMove
  20758. Formset1.Form2.PageFrame1.MouseMove
  20759. Formset1.Form2.PageFrame1.MouseMove
  20760. NBUTTON
  20761. NSHIFT
  20762. NXCOORD
  20763. NYCOORD
  20764. LTRACKMOUSE    
  20765. CPARAMSTR
  20766. NOUTPUT
  20767. THISFORMSET
  20768. EVENTWIN
  20769. EDIT1
  20770. VALUE\
  20771. Formset1.Form2.PageFrame1.MouseUp
  20772. Formset1.Form2.PageFrame1.MouseUp
  20773. Formset1.Form2.PageFrame1.MouseUp
  20774. NBUTTON
  20775. NSHIFT
  20776. NXCOORD
  20777. NYCOORD
  20778. LTRACKMOUSE    
  20779. CPARAMSTR
  20780. NOUTPUT
  20781. THISFORMSET
  20782. EVENTWIN
  20783. EDIT1
  20784. VALUE
  20785. Formset1.Form2.PageFrame1.RightClick
  20786. Formset1.Form2.PageFrame1.RightClickC
  20787. Formset1.Form2.PageFrame1.RightClick
  20788. NOUTPUT
  20789. THISFORMSET
  20790. EVENTWIN
  20791. EDIT1
  20792. VALUE
  20793. Formset1.Form2.PageFrame1.Page1.Activate
  20794. Formset1.Form2.PageFrame1.Page1.ActivateC
  20795. Formset1.Form2.PageFrame1.Page1.Activate
  20796. NOUTPUT
  20797. THISFORMSET
  20798. EVENTWIN
  20799. EDIT1
  20800. VALUE
  20801. Formset1.Form2.PageFrame1.Page1.Deactivate
  20802. Formset1.Form2.PageFrame1.Page1.DeactivateC
  20803. Formset1.Form2.PageFrame1.Page1.Deactivate
  20804. NOUTPUT
  20805. THISFORMSET
  20806. EVENTWIN
  20807. EDIT1
  20808. VALUE
  20809. Formset1.Form2.PageFrame1.Page1.Destroy
  20810. Formset1.Form2.PageFrame1.Page1.DestroyC
  20811. Formset1.Form2.PageFrame1.Page1.Destroy
  20812. NOUTPUT
  20813. THISFORMSET
  20814. EVENTWIN
  20815. EDIT1
  20816. VALUE
  20817. Formset1.Form2.PageFrame1.Page1.Init
  20818. Formset1.Form2.PageFrame1.Page1.InitC
  20819. Formset1.Form2.PageFrame1.Page1.Init
  20820. NOUTPUT
  20821. THISFORMSET
  20822. EVENTWIN
  20823. EDIT1
  20824. VALUE
  20825. Formset1.Form2.PageFrame1.Page1.Click
  20826. Formset1.Form2.PageFrame1.Page1.ClickC
  20827. Formset1.Form2.PageFrame1.Page1.Click
  20828. NOUTPUT
  20829. THISFORMSET
  20830. EVENTWIN
  20831. EDIT1
  20832. VALUE
  20833. Formset1.Form2.PageFrame1.Page1.DblClick
  20834. Formset1.Form2.PageFrame1.Page1.DblClickC
  20835. Formset1.Form2.PageFrame1.Page1.DblClick
  20836. NOUTPUT
  20837. THISFORMSET
  20838. EVENTWIN
  20839. EDIT1
  20840. VALUEN
  20841. Formset1.Form2.PageFrame1.Page1.DragDrop
  20842. Formset1.Form2.PageFrame1.Page1.DragDrop
  20843. Formset1.Form2.PageFrame1.Page1.DragDrop
  20844. CSOURCE
  20845. NXCOORD
  20846. NYCOORD    
  20847. CPARAMSTR
  20848. NOUTPUT
  20849. THISFORMSET
  20850. EVENTWIN
  20851. EDIT1
  20852. VALUE_
  20853. Formset1.Form2.PageFrame1.Page1.DragOver
  20854. Formset1.Form2.PageFrame1.Page1.DragOver
  20855. Formset1.Form2.PageFrame1.Page1.DragOver
  20856. CSOURCE
  20857. NXCOORD
  20858. NYCOORD
  20859. NSTATE    
  20860. CPARAMSTR
  20861. NOUTPUT
  20862. THISFORMSET
  20863. EVENTWIN
  20864. EDIT1
  20865. VALUEt
  20866. Formset1.Form2.PageFrame1.Page1.MouseDown
  20867. Formset1.Form2.PageFrame1.Page1.MouseDown
  20868. Formset1.Form2.PageFrame1.Page1.MouseDown
  20869. NBUTTON
  20870. NSHIFT
  20871. NXCOORD
  20872. NYCOORD
  20873. LTRACKMOUSE    
  20874. CPARAMSTR
  20875. NOUTPUT
  20876. THISFORMSET
  20877. EVENTWIN
  20878. EDIT1
  20879. VALUEt
  20880. Formset1.Form2.PageFrame1.Page1.MouseMove
  20881. Formset1.Form2.PageFrame1.Page1.MouseMove
  20882. Formset1.Form2.PageFrame1.Page1.MouseMove
  20883. NBUTTON
  20884. NSHIFT
  20885. NXCOORD
  20886. NYCOORD
  20887. LTRACKMOUSE    
  20888. CPARAMSTR
  20889. NOUTPUT
  20890. THISFORMSET
  20891. EVENTWIN
  20892. EDIT1
  20893. VALUEn
  20894. Formset1.Form2.PageFrame1.Page1.MouseUp
  20895. Formset1.Form2.PageFrame1.Page1.MouseUp
  20896. Formset1.Form2.PageFrame1.Page1.MouseUp
  20897. NBUTTON
  20898. NSHIFT
  20899. NXCOORD
  20900. NYCOORD
  20901. LTRACKMOUSE    
  20902. CPARAMSTR
  20903. NOUTPUT
  20904. THISFORMSET
  20905. EVENTWIN
  20906. EDIT1
  20907. VALUE
  20908. Formset1.Form2.PageFrame1.Page1.RightClick
  20909. Formset1.Form2.PageFrame1.Page1.RightClickC
  20910. Formset1.Form2.PageFrame1.Page1.RightClick
  20911. NOUTPUT
  20912. THISFORMSET
  20913. EVENTWIN
  20914. EDIT1
  20915. VALUE
  20916. Formset1.Form2.PageFrame1.Page2.Activate
  20917. Formset1.Form2.PageFrame1.Page2.ActivateC
  20918. Formset1.Form2.PageFrame1.Page2.Activate
  20919. NOUTPUT
  20920. THISFORMSET
  20921. EVENTWIN
  20922. EDIT1
  20923. VALUE
  20924. Formset1.Form2.PageFrame1.Page2.Deactivate
  20925. Formset1.Form2.PageFrame1.Page2.DeactivateC
  20926. Formset1.Form2.PageFrame1.Page2.Deactivate
  20927. NOUTPUT
  20928. THISFORMSET
  20929. EVENTWIN
  20930. EDIT1
  20931. VALUE
  20932. Formset1.Form2.PageFrame1.Page2.Destroy
  20933. Formset1.Form2.PageFrame1.Page2.DestroyC
  20934. Formset1.Form2.PageFrame1.Page2.Destroy
  20935. NOUTPUT
  20936. THISFORMSET
  20937. EVENTWIN
  20938. EDIT1
  20939. VALUE
  20940. Formset1.Form2.PageFrame1.Page2.Init
  20941. Formset1.Form2.PageFrame1.Page2.InitC
  20942. Formset1.Form2.PageFrame1.Page2.Init
  20943. NOUTPUT
  20944. THISFORMSET
  20945. EVENTWIN
  20946. EDIT1
  20947. VALUE
  20948. Formset1.Form2.PageFrame1.Page2.Click
  20949. Formset1.Form2.PageFrame1.Page2.ClickC
  20950. Formset1.Form2.PageFrame1.Page2.Click
  20951. NOUTPUT
  20952. THISFORMSET
  20953. EVENTWIN
  20954. EDIT1
  20955. VALUE
  20956. Formset1.Form2.PageFrame1.Page2.DblClick
  20957. Formset1.Form2.PageFrame1.Page2.DblClickC
  20958. Formset1.Form2.PageFrame1.Page2.DblClick
  20959. NOUTPUT
  20960. THISFORMSET
  20961. EVENTWIN
  20962. EDIT1
  20963. VALUEN
  20964. Formset1.Form2.PageFrame1.Page2.DragDrop
  20965. Formset1.Form2.PageFrame1.Page2.DragDrop
  20966. Formset1.Form2.PageFrame1.Page2.DragDrop
  20967. CSOURCE
  20968. NXCOORD
  20969. NYCOORD    
  20970. CPARAMSTR
  20971. NOUTPUT
  20972. THISFORMSET
  20973. EVENTWIN
  20974. EDIT1
  20975. VALUE_
  20976. Formset1.Form2.PageFrame1.Page2.DragOver
  20977. Formset1.Form2.PageFrame1.Page2.DragOver
  20978. Formset1.Form2.PageFrame1.Page2.DragOver
  20979. CSOURCE
  20980. NXCOORD
  20981. NYCOORD
  20982. NSTATE    
  20983. CPARAMSTR
  20984. NOUTPUT
  20985. THISFORMSET
  20986. EVENTWIN
  20987. EDIT1
  20988. VALUEt
  20989. Formset1.Form2.PageFrame1.Page2.MouseDown
  20990. Formset1.Form2.PageFrame1.Page2.MouseDown
  20991. Formset1.Form2.PageFrame1.Page2.MouseDown
  20992. NBUTTON
  20993. NSHIFT
  20994. NXCOORD
  20995. NYCOORD
  20996. LTRACKMOUSE    
  20997. CPARAMSTR
  20998. NOUTPUT
  20999. THISFORMSET
  21000. EVENTWIN
  21001. EDIT1
  21002. VALUEt
  21003. Formset1.Form2.PageFrame1.Page2.MouseMove
  21004. Formset1.Form2.PageFrame1.Page2.MouseMove
  21005. Formset1.Form2.PageFrame1.Page2.MouseMove
  21006. NBUTTON
  21007. NSHIFT
  21008. NXCOORD
  21009. NYCOORD
  21010. LTRACKMOUSE    
  21011. CPARAMSTR
  21012. NOUTPUT
  21013. THISFORMSET
  21014. EVENTWIN
  21015. EDIT1
  21016. VALUEn
  21017. Formset1.Form2.PageFrame1.Page2.MouseUp
  21018. Formset1.Form2.PageFrame1.Page2.MouseUp
  21019. Formset1.Form2.PageFrame1.Page2.MouseUp
  21020. NBUTTON
  21021. NSHIFT
  21022. NXCOORD
  21023. NYCOORD
  21024. LTRACKMOUSE    
  21025. CPARAMSTR
  21026. NOUTPUT
  21027. THISFORMSET
  21028. EVENTWIN
  21029. EDIT1
  21030. VALUE
  21031. Formset1.Form2.PageFrame1.Page2.RightClick
  21032. Formset1.Form2.PageFrame1.Page2.RightClickC
  21033. Formset1.Form2.PageFrame1.Page2.RightClick
  21034. NOUTPUT
  21035. THISFORMSET
  21036. EVENTWIN
  21037. EDIT1
  21038. VALUE
  21039. Init,
  21040. DestroyD
  21041. Clicke
  21042. DblClick
  21043. DragDrop
  21044. DragOver>
  21045. MouseDown
  21046. MouseMove
  21047. MouseUp
  21048. RightClickX
  21049. Page1.Activate
  21050. Page1.Deactivate
  21051. Page1.Destroy
  21052. Page1.Init'
  21053. Page1.ClickQ
  21054. Page1.DblClick~
  21055. Page1.DragDrop
  21056. Page1.DragOver`
  21057. Page1.MouseDown%
  21058. Page1.MouseMove
  21059. Page1.MouseUp
  21060. Page1.RightClick
  21061. Page2.Activate
  21062. Page2.Deactivate4!
  21063. Page2.Destroyp"
  21064. Page2.Init
  21065. Page2.Click
  21066. Page2.DblClick
  21067. Page2.DragDrop0'
  21068. Page2.DragOver
  21069. Page2.MouseDown
  21070. Page2.MouseMove
  21071. Page2.MouseUpc.
  21072. Page2.RightClick>0
  21073. c:\vfp\samples\controls\events\
  21074. events.scx
  21075. c:\vfp\samples\controls\events\events.scx
  21076. Formset1.Form2.PageFrame1.Page2.Check1.Click
  21077. Formset1.Form2.PageFrame1.Page2.Check1.ClickC
  21078. Formset1.Form2.PageFrame1.Page2.Check1.Click
  21079. NOUTPUT
  21080. THISFORMSET
  21081. EVENTWIN
  21082. EDIT1
  21083. VALUEc
  21084. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  21085. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  21086. Formset1.Form2.PageFrame1.Page2.Check1.DragDrop
  21087. CSOURCE
  21088. NXCOORD
  21089. NYCOORD    
  21090. CPARAMSTR
  21091. NOUTPUT
  21092. THISFORMSET
  21093. EVENTWIN
  21094. EDIT1
  21095. VALUEt
  21096. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  21097. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  21098. Formset1.Form2.PageFrame1.Page2.Check1.DragOver
  21099. CSOURCE
  21100. NXCOORD
  21101. NYCOORD
  21102. NSTATE    
  21103. CPARAMSTR
  21104. NOUTPUT
  21105. THISFORMSET
  21106. EVENTWIN
  21107. EDIT1
  21108. VALUE
  21109. Formset1.Form2.PageFrame1.Page2.Check1.GotFocus
  21110. Formset1.Form2.PageFrame1.Page2.Check1.GotFocusC
  21111. Formset1.Form2.PageFrame1.Page2.Check1.GotFocus
  21112. NOUTPUT
  21113. THISFORMSET
  21114. EVENTWIN
  21115. EDIT1
  21116. VALUE4
  21117. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange
  21118. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChangeC
  21119. Formset1.Form2.PageFrame1.Page2.Check1.InteractiveChange
  21120. NOUTPUT
  21121. THISFORMSET
  21122. EVENTWIN
  21123. EDIT1
  21124. VALUEd
  21125. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  21126. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  21127. Formset1.Form2.PageFrame1.Page2.Check1.KeyPress
  21128. NKEYCODE
  21129. NSHIFTALTCTRL
  21130. LTRACKMOUSE    
  21131. CPARAMSTR
  21132. NOUTPUT
  21133. THISFORMSET
  21134. EVENTWIN
  21135. EDIT1
  21136. VALUE
  21137. Formset1.Form2.PageFrame1.Page2.Check1.LostFocus
  21138. Formset1.Form2.PageFrame1.Page2.Check1.LostFocusC
  21139. Formset1.Form2.PageFrame1.Page2.Check1.LostFocus
  21140. NOUTPUT
  21141. THISFORMSET
  21142. EVENTWIN
  21143. EDIT1
  21144. VALUE
  21145. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  21146. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  21147. Formset1.Form2.PageFrame1.Page2.Check1.MouseDown
  21148. NBUTTON
  21149. NSHIFT
  21150. NXCOORD
  21151. NYCOORD
  21152. LTRACKMOUSE    
  21153. CPARAMSTR
  21154. NOUTPUT
  21155. THISFORMSET
  21156. EVENTWIN
  21157. EDIT1
  21158. VALUE
  21159. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  21160. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  21161. Formset1.Form2.PageFrame1.Page2.Check1.MouseMove
  21162. NBUTTON
  21163. NSHIFT
  21164. NXCOORD
  21165. NYCOORD
  21166. LTRACKMOUSE    
  21167. CPARAMSTR
  21168. NOUTPUT
  21169. THISFORMSET
  21170. EVENTWIN
  21171. EDIT1
  21172. VALUE
  21173. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  21174. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  21175. Formset1.Form2.PageFrame1.Page2.Check1.MouseUp
  21176. NBUTTON
  21177. NSHIFT
  21178. NXCOORD
  21179. NYCOORD
  21180. LTRACKMOUSE    
  21181. CPARAMSTR
  21182. NOUTPUT
  21183. THISFORMSET
  21184. EVENTWIN
  21185. EDIT1
  21186. VALUE
  21187. Formset1.Form2.PageFrame1.Page2.Check1.RightClick
  21188. Formset1.Form2.PageFrame1.Page2.Check1.RightClickC
  21189. Formset1.Form2.PageFrame1.Page2.Check1.RightClick
  21190. NOUTPUT
  21191. THISFORMSET
  21192. EVENTWIN
  21193. EDIT1
  21194. VALUE
  21195. Formset1.Form2.PageFrame1.Page2.Check1.Destroy
  21196. Formset1.Form2.PageFrame1.Page2.Check1.DestroyC
  21197. Formset1.Form2.PageFrame1.Page2.Check1.Destroy
  21198. NOUTPUT
  21199. THISFORMSET
  21200. EVENTWIN
  21201. EDIT1
  21202. VALUE
  21203. Formset1.Form2.PageFrame1.Page2.Check1.Init
  21204. Formset1.Form2.PageFrame1.Page2.Check1.InitC
  21205. Formset1.Form2.PageFrame1.Page2.Check1.Init
  21206. NOUTPUT
  21207. THISFORMSET
  21208. EVENTWIN
  21209. EDIT1
  21210. VALUE
  21211. Formset1.Form2.PageFrame1.Page2.Check1.When
  21212. Formset1.Form2.PageFrame1.Page2.Check1.WhenC
  21213. Formset1.Form2.PageFrame1.Page2.Check1.When
  21214. NOUTPUT
  21215. THISFORMSET
  21216. EVENTWIN
  21217. EDIT1
  21218. VALUE
  21219. Formset1.Form2.PageFrame1.Page2.Check1.Valid
  21220. Formset1.Form2.PageFrame1.Page2.Check1.ValidC
  21221. Formset1.Form2.PageFrame1.Page2.Check1.Valid
  21222. NOUTPUT
  21223. THISFORMSET
  21224. EVENTWIN
  21225. EDIT1
  21226. VALUE
  21227. Click,
  21228. DragDropn
  21229. DragOver/
  21230. GotFocus    
  21231. InteractiveChangeT
  21232. KeyPress
  21233. LostFocus
  21234. MouseDown
  21235. MouseMove
  21236. MouseUp
  21237. RightClick
  21238. Destroy
  21239. InitD
  21240. Valid
  21241. c:\vfp\samples\controls\events\
  21242. events.scx
  21243. c:\vfp\samples\controls\events\events.scx
  21244. Formset1.Form2.PageFrame1.Page2.Text1.Click
  21245. Formset1.Form2.PageFrame1.Page2.Text1.ClickC
  21246. Formset1.Form2.PageFrame1.Page2.Text1.Click
  21247. NOUTPUT
  21248. THISFORMSET
  21249. EVENTWIN
  21250. EDIT1
  21251. VALUE
  21252. Formset1.Form2.PageFrame1.Page2.Text1.DblClick
  21253. Formset1.Form2.PageFrame1.Page2.Text1.DblClickC
  21254. Formset1.Form2.PageFrame1.Page2.Text1.DblClick
  21255. NOUTPUT
  21256. THISFORMSET
  21257. EVENTWIN
  21258. EDIT1
  21259. VALUE`
  21260. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  21261. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  21262. Formset1.Form2.PageFrame1.Page2.Text1.DragDrop
  21263. CSOURCE
  21264. NXCOORD
  21265. NYCOORD    
  21266. CPARAMSTR
  21267. NOUTPUT
  21268. THISFORMSET
  21269. EVENTWIN
  21270. EDIT1
  21271. VALUEq
  21272. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  21273. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  21274. Formset1.Form2.PageFrame1.Page2.Text1.DragOver
  21275. CSOURCE
  21276. NXCOORD
  21277. NYCOORD
  21278. NSTATE    
  21279. CPARAMSTR
  21280. NOUTPUT
  21281. THISFORMSET
  21282. EVENTWIN
  21283. EDIT1
  21284. VALUE
  21285. Formset1.Form2.PageFrame1.Page2.Text1.GotFocus
  21286. Formset1.Form2.PageFrame1.Page2.Text1.GotFocusC
  21287. Formset1.Form2.PageFrame1.Page2.Text1.GotFocus
  21288. NOUTPUT
  21289. THISFORMSET
  21290. EVENTWIN
  21291. EDIT1
  21292. VALUE1
  21293. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange
  21294. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChangeC
  21295. Formset1.Form2.PageFrame1.Page2.Text1.InteractiveChange
  21296. NOUTPUT
  21297. THISFORMSET
  21298. EVENTWIN
  21299. EDIT1
  21300. VALUEa
  21301. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  21302. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  21303. Formset1.Form2.PageFrame1.Page2.Text1.KeyPress
  21304. NKEYCODE
  21305. NSHIFTALTCTRL
  21306. LTRACKMOUSE    
  21307. CPARAMSTR
  21308. NOUTPUT
  21309. THISFORMSET
  21310. EVENTWIN
  21311. EDIT1
  21312. VALUE
  21313. Formset1.Form2.PageFrame1.Page2.Text1.LostFocus
  21314. Formset1.Form2.PageFrame1.Page2.Text1.LostFocusC
  21315. Formset1.Form2.PageFrame1.Page2.Text1.LostFocus
  21316. NOUTPUT
  21317. THISFORMSET
  21318. EVENTWIN
  21319. EDIT1
  21320. VALUE
  21321. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  21322. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  21323. Formset1.Form2.PageFrame1.Page2.Text1.MouseDown
  21324. NBUTTON
  21325. NSHIFT
  21326. NXCOORD
  21327. NYCOORD
  21328. LTRACKMOUSE    
  21329. CPARAMSTR
  21330. NOUTPUT
  21331. THISFORMSET
  21332. EVENTWIN
  21333. EDIT1
  21334. VALUE
  21335. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  21336. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  21337. Formset1.Form2.PageFrame1.Page2.Text1.MouseMove
  21338. NBUTTON
  21339. NSHIFT
  21340. NXCOORD
  21341. NYCOORD
  21342. LTRACKMOUSE    
  21343. CPARAMSTR
  21344. NOUTPUT
  21345. THISFORMSET
  21346. EVENTWIN
  21347. EDIT1
  21348. VALUE
  21349. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  21350. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  21351. Formset1.Form2.PageFrame1.Page2.Text1.MouseUp
  21352. NBUTTON
  21353. NSHIFT
  21354. NXCOORD
  21355. NYCOORD
  21356. LTRACKMOUSE    
  21357. CPARAMSTR
  21358. NOUTPUT
  21359. THISFORMSET
  21360. EVENTWIN
  21361. EDIT1
  21362. VALUE
  21363. Formset1.Form2.PageFrame1.Page2.Text1.RightClick
  21364. Formset1.Form2.PageFrame1.Page2.Text1.RightClickC
  21365. Formset1.Form2.PageFrame1.Page2.Text1.RightClick
  21366. NOUTPUT
  21367. THISFORMSET
  21368. EVENTWIN
  21369. EDIT1
  21370. VALUE
  21371. Formset1.Form2.PageFrame1.Page2.Text1.Destroy
  21372. Formset1.Form2.PageFrame1.Page2.Text1.DestroyC
  21373. Formset1.Form2.PageFrame1.Page2.Text1.Destroy
  21374. NOUTPUT
  21375. THISFORMSET
  21376. EVENTWIN
  21377. EDIT1
  21378. VALUE
  21379. Formset1.Form2.PageFrame1.Page2.Text1.Init
  21380. Formset1.Form2.PageFrame1.Page2.Text1.InitC
  21381. Formset1.Form2.PageFrame1.Page2.Text1.Init
  21382. NOUTPUT
  21383. THISFORMSET
  21384. EVENTWIN
  21385. EDIT1
  21386. VALUE
  21387. Formset1.Form2.PageFrame1.Page2.Text1.When
  21388. Formset1.Form2.PageFrame1.Page2.Text1.WhenC
  21389. Formset1.Form2.PageFrame1.Page2.Text1.When
  21390. NOUTPUT
  21391. THISFORMSET
  21392. EVENTWIN
  21393. EDIT1
  21394. VALUE
  21395. Formset1.Form2.PageFrame1.Page2.Text1.Valid
  21396. Formset1.Form2.PageFrame1.Page2.Text1.ValidC
  21397. Formset1.Form2.PageFrame1.Page2.Text1.Valid
  21398. NOUTPUT
  21399. THISFORMSET
  21400. EVENTWIN
  21401. EDIT1
  21402. VALUE
  21403. Click,
  21404. DblClickk
  21405. DragDrop
  21406. DragOverq
  21407. GotFocusH
  21408. InteractiveChange
  21409. KeyPress
  21410. LostFocus
  21411. MouseDown
  21412. MouseMove
  21413. MouseUp
  21414. RightClick
  21415. Destroy#
  21416. Inith
  21417. Valid
  21418. c:\vfp\samples\controls\events\
  21419. events.scx
  21420. c:\vfp\samples\controls\events\events.scx
  21421. Formset1.Form2.PageFrame1.Page2.Combo1.Click
  21422. Formset1.Form2.PageFrame1.Page2.Combo1.ClickC
  21423. Formset1.Form2.PageFrame1.Page2.Combo1.Click
  21424. NOUTPUT
  21425. THISFORMSET
  21426. EVENTWIN
  21427. EDIT1
  21428. VALUE
  21429. Formset1.Form2.PageFrame1.Page2.Combo1.DblClick
  21430. Formset1.Form2.PageFrame1.Page2.Combo1.DblClickC
  21431. Formset1.Form2.PageFrame1.Page2.Combo1.DblClick
  21432. NOUTPUT
  21433. THISFORMSET
  21434. EVENTWIN
  21435. EDIT1
  21436. VALUE
  21437. Formset1.Form2.PageFrame1.Page2.Combo1.DownClick
  21438. Formset1.Form2.PageFrame1.Page2.Combo1.DownClickC
  21439. Formset1.Form2.PageFrame1.Page2.Combo1.DownClick
  21440. NOUTPUT
  21441. THISFORMSET
  21442. EVENTWIN
  21443. EDIT1
  21444. VALUEf
  21445. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  21446. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  21447. Formset1.Form2.PageFrame1.Page2.Combo1.DragDrop
  21448. CSOURCE
  21449. NXCOORD
  21450. NYCOORD    
  21451. CPARAMSTR
  21452. NOUTPUT
  21453. THISFORMSET
  21454. EVENTWIN
  21455. EDIT1
  21456. VALUEt
  21457. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  21458. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  21459. Formset1.Form2.PageFrame1.Page2.Combo1.DragOver
  21460. CSOURCE
  21461. NXCOORD
  21462. NYCOORD
  21463. NSTATE    
  21464. CPARAMSTR
  21465. NOUTPUT
  21466. THISFORMSET
  21467. EVENTWIN
  21468. EDIT1
  21469. VALUE9
  21470. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  21471. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  21472. Formset1.Form2.PageFrame1.Page2.Combo1.DropDown
  21473. NINDEX    
  21474. CPARAMSTR
  21475. NOUTPUT
  21476. THISFORMSET
  21477. EVENTWIN
  21478. EDIT1
  21479. VALUE
  21480. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus
  21481. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocusC
  21482. Formset1.Form2.PageFrame1.Page2.Combo1.GotFocus
  21483. NOUTPUT
  21484. THISFORMSET
  21485. EVENTWIN
  21486. EDIT1
  21487. VALUE4
  21488. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange
  21489. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChangeC
  21490. Formset1.Form2.PageFrame1.Page2.Combo1.InteractiveChange
  21491. NOUTPUT
  21492. THISFORMSET
  21493. EVENTWIN
  21494. EDIT1
  21495. VALUEd
  21496. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  21497. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  21498. Formset1.Form2.PageFrame1.Page2.Combo1.KeyPress
  21499. NKEYCODE
  21500. NSHIFTALTCTRL
  21501. LTRACKMOUSE    
  21502. CPARAMSTR
  21503. NOUTPUT
  21504. THISFORMSET
  21505. EVENTWIN
  21506. EDIT1
  21507. VALUE
  21508. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus
  21509. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocusC
  21510. Formset1.Form2.PageFrame1.Page2.Combo1.LostFocus
  21511. NOUTPUT
  21512. THISFORMSET
  21513. EVENTWIN
  21514. EDIT1
  21515. VALUE
  21516. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  21517. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  21518. Formset1.Form2.PageFrame1.Page2.Combo1.MouseDown
  21519. NBUTTON
  21520. NSHIFT
  21521. NXCOORD
  21522. NYCOORD
  21523. LTRACKMOUSE    
  21524. CPARAMSTR
  21525. NOUTPUT
  21526. THISFORMSET
  21527. EVENTWIN
  21528. EDIT1
  21529. VALUE
  21530. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  21531. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  21532. Formset1.Form2.PageFrame1.Page2.Combo1.MouseMove
  21533. NBUTTON
  21534. NSHIFT
  21535. NXCOORD
  21536. NYCOORD
  21537. LTRACKMOUSE    
  21538. CPARAMSTR
  21539. NOUTPUT
  21540. THISFORMSET
  21541. EVENTWIN
  21542. EDIT1
  21543. VALUE
  21544. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  21545. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  21546. Formset1.Form2.PageFrame1.Page2.Combo1.MouseUp
  21547. NBUTTON
  21548. NSHIFT
  21549. NXCOORD
  21550. NYCOORD
  21551. LTRACKMOUSE    
  21552. CPARAMSTR
  21553. NOUTPUT
  21554. THISFORMSET
  21555. EVENTWIN
  21556. EDIT1
  21557. VALUE
  21558. Formset1.Form2.PageFrame1.Page2.Combo1.RightClick
  21559. Formset1.Form2.PageFrame1.Page2.Combo1.RightClickC
  21560. Formset1.Form2.PageFrame1.Page2.Combo1.RightClick
  21561. NOUTPUT
  21562. THISFORMSET
  21563. EVENTWIN
  21564. EDIT1
  21565. VALUE
  21566. Formset1.Form2.PageFrame1.Page2.Combo1.UpClick
  21567. Formset1.Form2.PageFrame1.Page2.Combo1.UpClickC
  21568. Formset1.Form2.PageFrame1.Page2.Combo1.UpClick
  21569. NOUTPUT
  21570. THISFORMSET
  21571. EVENTWIN
  21572. EDIT1
  21573. VALUE
  21574. Formset1.Form2.PageFrame1.Page2.Combo1.Destroy
  21575. Formset1.Form2.PageFrame1.Page2.Combo1.DestroyC
  21576. Formset1.Form2.PageFrame1.Page2.Combo1.Destroy
  21577. NOUTPUT
  21578. THISFORMSET
  21579. EVENTWIN
  21580. EDIT1
  21581. VALUE
  21582. Formset1.Form2.PageFrame1.Page2.Combo1.Init
  21583. Formset1.Form2.PageFrame1.Page2.Combo1.InitC
  21584. Formset1.Form2.PageFrame1.Page2.Combo1.Init
  21585. NOUTPUT
  21586. THISFORMSET
  21587. EVENTWIN
  21588. EDIT1
  21589. VALUE
  21590. Formset1.Form2.PageFrame1.Page2.Combo1.When
  21591. Formset1.Form2.PageFrame1.Page2.Combo1.WhenC
  21592. Formset1.Form2.PageFrame1.Page2.Combo1.When
  21593. NOUTPUT
  21594. THISFORMSET
  21595. EVENTWIN
  21596. EDIT1
  21597. VALUE
  21598. Formset1.Form2.PageFrame1.Page2.Combo1.Valid
  21599. Formset1.Form2.PageFrame1.Page2.Combo1.ValidC
  21600. Formset1.Form2.PageFrame1.Page2.Combo1.Valid
  21601. NOUTPUT
  21602. THISFORMSET
  21603. EVENTWIN
  21604. EDIT1
  21605. VALUE
  21606. Click,
  21607. DblClickn
  21608. DownClick
  21609. DragDrop
  21610. DragOver
  21611. DropDown
  21612. GotFocus#    
  21613. InteractiveChangen
  21614. KeyPress
  21615. LostFocus
  21616. MouseDown
  21617. MouseMove
  21618. MouseUp
  21619. RightClick
  21620. UpClick
  21621. Destroy^
  21622. Valid$
  21623. c:\vfp\samples\controls\events\
  21624. events.scx
  21625. c:\vfp\samples\controls\events\events.scx
  21626. Formset1.Form2.PageFrame1.Page2.Label1.Click
  21627. Formset1.Form2.PageFrame1.Page2.Label1.ClickC
  21628. Formset1.Form2.PageFrame1.Page2.Label1.Click
  21629. NOUTPUT
  21630. THISFORMSET
  21631. EVENTWIN
  21632. EDIT1
  21633. VALUE
  21634. Formset1.Form2.PageFrame1.Page2.Label1.DblClick
  21635. Formset1.Form2.PageFrame1.Page2.Label1.DblClickC
  21636. Formset1.Form2.PageFrame1.Page2.Label1.DblClick
  21637. NOUTPUT
  21638. THISFORMSET
  21639. EVENTWIN
  21640. EDIT1
  21641. VALUEc
  21642. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  21643. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  21644. Formset1.Form2.PageFrame1.Page2.Label1.DragDrop
  21645. CSOURCE
  21646. NXCOORD
  21647. NYCOORD    
  21648. CPARAMSTR
  21649. NOUTPUT
  21650. THISFORMSET
  21651. EVENTWIN
  21652. EDIT1
  21653. VALUEt
  21654. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  21655. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  21656. Formset1.Form2.PageFrame1.Page2.Label1.DragOver
  21657. CSOURCE
  21658. NXCOORD
  21659. NYCOORD
  21660. NSTATE    
  21661. CPARAMSTR
  21662. NOUTPUT
  21663. THISFORMSET
  21664. EVENTWIN
  21665. EDIT1
  21666. VALUE
  21667. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  21668. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  21669. Formset1.Form2.PageFrame1.Page2.Label1.MouseDown
  21670. NBUTTON
  21671. NSHIFT
  21672. NXCOORD
  21673. NYCOORD
  21674. LTRACKMOUSE    
  21675. CPARAMSTR
  21676. NOUTPUT
  21677. THISFORMSET
  21678. EVENTWIN
  21679. EDIT1
  21680. VALUE
  21681. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  21682. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  21683. Formset1.Form2.PageFrame1.Page2.Label1.MouseMove
  21684. NBUTTON
  21685. NSHIFT
  21686. NXCOORD
  21687. NYCOORD
  21688. LTRACKMOUSE    
  21689. CPARAMSTR
  21690. NOUTPUT
  21691. THISFORMSET
  21692. EVENTWIN
  21693. EDIT1
  21694. VALUE
  21695. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  21696. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  21697. Formset1.Form2.PageFrame1.Page2.Label1.MouseUp
  21698. NBUTTON
  21699. NSHIFT
  21700. NXCOORD
  21701. NYCOORD
  21702. LTRACKMOUSE    
  21703. CPARAMSTR
  21704. NOUTPUT
  21705. THISFORMSET
  21706. EVENTWIN
  21707. EDIT1
  21708. VALUE
  21709. Formset1.Form2.PageFrame1.Page2.Label1.RightClick
  21710. Formset1.Form2.PageFrame1.Page2.Label1.RightClickC
  21711. Formset1.Form2.PageFrame1.Page2.Label1.RightClick
  21712. NOUTPUT
  21713. THISFORMSET
  21714. EVENTWIN
  21715. EDIT1
  21716. VALUE
  21717. Formset1.Form2.PageFrame1.Page2.Label1.Destroy
  21718. Formset1.Form2.PageFrame1.Page2.Label1.DestroyC
  21719. Formset1.Form2.PageFrame1.Page2.Label1.Destroy
  21720. NOUTPUT
  21721. THISFORMSET
  21722. EVENTWIN
  21723. EDIT1
  21724. VALUE
  21725. Formset1.Form2.PageFrame1.Page2.Label1.Init
  21726. Formset1.Form2.PageFrame1.Page2.Label1.InitC
  21727. Formset1.Form2.PageFrame1.Page2.Label1.Init
  21728. NOUTPUT
  21729. THISFORMSET
  21730. EVENTWIN
  21731. EDIT1
  21732. VALUE
  21733. Click,
  21734. DblClickn
  21735. DragDrop
  21736. DragOverz
  21737. MouseDownT
  21738. MouseMoveJ
  21739. MouseUp@
  21740. RightClick0
  21741. Destroy
  21742. c:\vfp\samples\controls\events\
  21743. events.scx
  21744. c:\vfp\samples\controls\events\events.scx
  21745. Formset1.Form2.Grid1.RowColChange
  21746. Formset1.Form2.Grid1.RowColChangeC
  21747. Formset1.Form2.Grid1.RowColChange
  21748. NCOLINDEX
  21749. NOUTPUT
  21750. THISFORMSET
  21751. EVENTWIN
  21752. EDIT1
  21753. VALUE
  21754. Formset1.Form2.Grid1.Click
  21755. Formset1.Form2.Grid1.ClickC
  21756. Formset1.Form2.Grid1.Click
  21757. NOUTPUT
  21758. THISFORMSET
  21759. EVENTWIN
  21760. EDIT1
  21761. VALUE
  21762. Formset1.Form2.Grid1.Deleted
  21763. Formset1.Form2.Grid1.DeletedC
  21764. Formset1.Form2.Grid1.Deleted
  21765. NRECNO
  21766. NOUTPUT
  21767. THISFORMSET
  21768. EVENTWIN
  21769. EDIT1
  21770. VALUE
  21771. Formset1.Form2.Grid1.DblClick
  21772. Formset1.Form2.Grid1.DblClickC
  21773. Formset1.Form2.Grid1.DblClick
  21774. NOUTPUT
  21775. THISFORMSET
  21776. EVENTWIN
  21777. EDIT1
  21778. VALUE-
  21779. Formset1.Form2.Grid1.DragDrop
  21780. Formset1.Form2.Grid1.DragDrop
  21781. Formset1.Form2.Grid1.DragDrop
  21782. CSOURCE
  21783. NXCOORD
  21784. NYCOORD    
  21785. CPARAMSTR
  21786. NOUTPUT
  21787. THISFORMSET
  21788. EVENTWIN
  21789. EDIT1
  21790. VALUE>
  21791. Formset1.Form2.Grid1.DragOver
  21792. Formset1.Form2.Grid1.DragOver
  21793. Formset1.Form2.Grid1.DragOver
  21794. CSOURCE
  21795. NXCOORD
  21796. NYCOORD
  21797. NSTATE    
  21798. CPARAMSTR
  21799. NOUTPUT
  21800. THISFORMSET
  21801. EVENTWIN
  21802. EDIT1
  21803. VALUES
  21804. Formset1.Form2.Grid1.MouseDown
  21805. Formset1.Form2.Grid1.MouseDown
  21806. Formset1.Form2.Grid1.MouseDown
  21807. NBUTTON
  21808. NSHIFT
  21809. NXCOORD
  21810. NYCOORD
  21811. LTRACKMOUSE    
  21812. CPARAMSTR
  21813. NOUTPUT
  21814. THISFORMSET
  21815. EVENTWIN
  21816. EDIT1
  21817. VALUES
  21818. Formset1.Form2.Grid1.MouseMove
  21819. Formset1.Form2.Grid1.MouseMove
  21820. Formset1.Form2.Grid1.MouseMove
  21821. NBUTTON
  21822. NSHIFT
  21823. NXCOORD
  21824. NYCOORD
  21825. LTRACKMOUSE    
  21826. CPARAMSTR
  21827. NOUTPUT
  21828. THISFORMSET
  21829. EVENTWIN
  21830. EDIT1
  21831. VALUEM
  21832. Formset1.Form2.Grid1.MouseUp
  21833. Formset1.Form2.Grid1.MouseUp
  21834. Formset1.Form2.Grid1.MouseUp
  21835. NBUTTON
  21836. NSHIFT
  21837. NXCOORD
  21838. NYCOORD
  21839. LTRACKMOUSE    
  21840. CPARAMSTR
  21841. NOUTPUT
  21842. THISFORMSET
  21843. EVENTWIN
  21844. EDIT1
  21845. VALUE
  21846. Formset1.Form2.Grid1.RightClick
  21847. Formset1.Form2.Grid1.RightClickC
  21848. Formset1.Form2.Grid1.RightClick
  21849. NOUTPUT
  21850. THISFORMSET
  21851. EVENTWIN
  21852. EDIT1
  21853. VALUE
  21854. Formset1.Form2.Grid1.Valid
  21855. Formset1.Form2.Grid1.ValidC
  21856. Formset1.Form2.Grid1.Valid
  21857. NOUTPUT
  21858. THISFORMSET
  21859. EVENTWIN
  21860. EDIT1
  21861. VALUE
  21862. Formset1.Form2.Grid1.When
  21863. Formset1.Form2.Grid1.WhenC
  21864. Formset1.Form2.Grid1.When
  21865. NOUTPUT
  21866. THISFORMSET
  21867. EVENTWIN
  21868. EDIT1
  21869. VALUE
  21870. Formset1.Form2.Grid1.Destroy
  21871. Formset1.Form2.Grid1.DestroyC
  21872. Formset1.Form2.Grid1.Destroy
  21873. NOUTPUT
  21874. THISFORMSET
  21875. EVENTWIN
  21876. EDIT1
  21877. VALUE
  21878. Formset1.Form2.Grid1.Init
  21879. Formset1.Form2.Grid1.InitC
  21880. Formset1.Form2.Grid1.Init
  21881. NOUTPUT
  21882. THISFORMSET
  21883. EVENTWIN
  21884. EDIT1
  21885. VALUEk
  21886. Formset1.Form2.Grid1.Column1.MouseMove
  21887. Formset1.Form2.Grid1.Column1.MouseMove
  21888. Formset1.Form2.Grid1.Column1.MouseMove
  21889. NBUTTON
  21890. NSHIFT
  21891. NXCOORD
  21892. NYCOORD
  21893. LTRACKMOUSE    
  21894. CPARAMSTR
  21895. NOUTPUT
  21896. THISFORMSET
  21897. EVENTWIN
  21898. EDIT1
  21899. VALUEk
  21900. Formset1.Form2.Grid1.Column2.MouseMove
  21901. Formset1.Form2.Grid1.Column2.MouseMove
  21902. Formset1.Form2.Grid1.Column2.MouseMove
  21903. NBUTTON
  21904. NSHIFT
  21905. NXCOORD
  21906. NYCOORD
  21907. LTRACKMOUSE    
  21908. CPARAMSTR
  21909. NOUTPUT
  21910. THISFORMSET
  21911. EVENTWIN
  21912. EDIT1
  21913. VALUE
  21914. BeforeRowColChange,
  21915. Click_
  21916. Deletedk
  21917. DblClick
  21918. DragDrop
  21919. DragOver,
  21920. MouseDown
  21921. MouseMove
  21922. MouseUpP
  21923. RightClick
  21924. Valid%
  21925. When1
  21926. Destroy:
  21927. InitL
  21928. Column1.MouseMoveU
  21929. Column2.MouseMove-
  21930. c:\vfp\samples\controls\events\
  21931. events.scx
  21932. c:\vfp\samples\controls\events\events.scx
  21933. Formset1.Form2.Grid1.Column1.Header1.Click
  21934. Formset1.Form2.Grid1.Column1.Header1.ClickC
  21935. Formset1.Form2.Grid1.Column1.Header1.Click
  21936. NOUTPUT
  21937. THISFORMSET
  21938. EVENTWIN
  21939. EDIT1
  21940. VALUE
  21941. Formset1.Form2.Grid1.Column1.Header1.DblClick
  21942. Formset1.Form2.Grid1.Column1.Header1.DblClickC
  21943. Formset1.Form2.Grid1.Column1.Header1.DblClick
  21944. NOUTPUT
  21945. THISFORMSET
  21946. EVENTWIN
  21947. EDIT1
  21948. VALUE
  21949. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  21950. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  21951. Formset1.Form2.Grid1.Column1.Header1.MouseDown
  21952. NBUTTON
  21953. NSHIFT
  21954. NXCOORD
  21955. NYCOORD
  21956. LTRACKMOUSE    
  21957. CPARAMSTR
  21958. NOUTPUT
  21959. THISFORMSET
  21960. EVENTWIN
  21961. EDIT1
  21962. VALUE
  21963. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  21964. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  21965. Formset1.Form2.Grid1.Column1.Header1.MouseMove
  21966. NBUTTON
  21967. NSHIFT
  21968. NXCOORD
  21969. NYCOORD
  21970. LTRACKMOUSE    
  21971. CPARAMSTR
  21972. NOUTPUT
  21973. THISFORMSET
  21974. EVENTWIN
  21975. EDIT1
  21976. VALUE}
  21977. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  21978. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  21979. Formset1.Form2.Grid1.Column1.Header1.MouseUp
  21980. NBUTTON
  21981. NSHIFT
  21982. NXCOORD
  21983. NYCOORD
  21984. LTRACKMOUSE    
  21985. CPARAMSTR
  21986. NOUTPUT
  21987. THISFORMSET
  21988. EVENTWIN
  21989. EDIT1
  21990. VALUE
  21991. Formset1.Form2.Grid1.Column1.Header1.RightClick
  21992. Formset1.Form2.Grid1.Column1.Header1.RightClickC
  21993. Formset1.Form2.Grid1.Column1.Header1.RightClick
  21994. NOUTPUT
  21995. THISFORMSET
  21996. EVENTWIN
  21997. EDIT1
  21998. VALUE
  21999. Click,
  22000. DblClickh
  22001. MouseDown
  22002. MouseMove
  22003. MouseUp
  22004. RightClickw
  22005. c:\vfp\samples\controls\events\
  22006. events.scx
  22007. c:\vfp\samples\controls\events\events.scx
  22008. Formset1.Form2.Grid1.Column2.Header2.Click
  22009. Formset1.Form2.Grid1.Column2.Header2.ClickC
  22010. Formset1.Form2.Grid1.Column2.Header2.Click
  22011. NOUTPUT
  22012. THISFORMSET
  22013. EVENTWIN
  22014. EDIT1
  22015. VALUE
  22016. Formset1.Form2.Grid1.Column2.Header2.DblClick
  22017. Formset1.Form2.Grid1.Column2.Header2.DblClickC
  22018. Formset1.Form2.Grid1.Column2.Header2.DblClick
  22019. NOUTPUT
  22020. THISFORMSET
  22021. EVENTWIN
  22022. EDIT1
  22023. VALUE
  22024. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  22025. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  22026. Formset1.Form2.Grid1.Column2.Header2.MouseDown
  22027. NBUTTON
  22028. NSHIFT
  22029. NXCOORD
  22030. NYCOORD
  22031. LTRACKMOUSE    
  22032. CPARAMSTR
  22033. NOUTPUT
  22034. THISFORMSET
  22035. EVENTWIN
  22036. EDIT1
  22037. VALUE
  22038. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  22039. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  22040. Formset1.Form2.Grid1.Column2.Header2.MouseMove
  22041. NBUTTON
  22042. NSHIFT
  22043. NXCOORD
  22044. NYCOORD
  22045. LTRACKMOUSE    
  22046. CPARAMSTR
  22047. NOUTPUT
  22048. THISFORMSET
  22049. EVENTWIN
  22050. EDIT1
  22051. VALUE}
  22052. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  22053. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  22054. Formset1.Form2.Grid1.Column2.Header2.MouseUp
  22055. NBUTTON
  22056. NSHIFT
  22057. NXCOORD
  22058. NYCOORD
  22059. LTRACKMOUSE    
  22060. CPARAMSTR
  22061. NOUTPUT
  22062. THISFORMSET
  22063. EVENTWIN
  22064. EDIT1
  22065. VALUE
  22066. Formset1.Form2.Grid1.Column2.Header2.RightClick
  22067. Formset1.Form2.Grid1.Column2.Header2.RightClickC
  22068. Formset1.Form2.Grid1.Column2.Header2.RightClick
  22069. NOUTPUT
  22070. THISFORMSET
  22071. EVENTWIN
  22072. EDIT1
  22073. VALUE
  22074. Click,
  22075. DblClickh
  22076. MouseDown
  22077. MouseMove
  22078. MouseUp
  22079. RightClickw
  22080. c:\vfp\samples\controls\events\
  22081. events.scx
  22082. c:\vfp\samples\controls\events\events.scx
  22083. Formset1.Form2.OptionGroup1.Click
  22084. Formset1.Form2.OptionGroup1.ClickC
  22085. Formset1.Form2.OptionGroup1.Click
  22086. NOUTPUT
  22087. THISFORMSET
  22088. EVENTWIN
  22089. EDIT1
  22090. VALUE
  22091. Formset1.Form2.OptionGroup1.DblClick
  22092. Formset1.Form2.OptionGroup1.DblClickC
  22093. Formset1.Form2.OptionGroup1.DblClick
  22094. NOUTPUT
  22095. THISFORMSET
  22096. EVENTWIN
  22097. EDIT1
  22098. VALUEB
  22099. Formset1.Form2.OptionGroup1.DragDrop
  22100. Formset1.Form2.OptionGroup1.DragDrop
  22101. Formset1.Form2.OptionGroup1.DragDrop
  22102. CSOURCE
  22103. NXCOORD
  22104. NYCOORD    
  22105. CPARAMSTR
  22106. NOUTPUT
  22107. THISFORMSET
  22108. EVENTWIN
  22109. EDIT1
  22110. VALUES
  22111. Formset1.Form2.OptionGroup1.DragOver
  22112. Formset1.Form2.OptionGroup1.DragOver
  22113. Formset1.Form2.OptionGroup1.DragOver
  22114. CSOURCE
  22115. NXCOORD
  22116. NYCOORD
  22117. NSTATE    
  22118. CPARAMSTR
  22119. NOUTPUT
  22120. THISFORMSET
  22121. EVENTWIN
  22122. EDIT1
  22123. VALUE
  22124. Formset1.Form2.OptionGroup1.InteractiveChange
  22125. Formset1.Form2.OptionGroup1.InteractiveChangeC
  22126. Formset1.Form2.OptionGroup1.InteractiveChange
  22127. NOUTPUT
  22128. THISFORMSET
  22129. EVENTWIN
  22130. EDIT1
  22131. VALUEh
  22132. Formset1.Form2.OptionGroup1.MouseDown
  22133. Formset1.Form2.OptionGroup1.MouseDown
  22134. Formset1.Form2.OptionGroup1.MouseDown
  22135. NBUTTON
  22136. NSHIFT
  22137. NXCOORD
  22138. NYCOORD
  22139. LTRACKMOUSE    
  22140. CPARAMSTR
  22141. NOUTPUT
  22142. THISFORMSET
  22143. EVENTWIN
  22144. EDIT1
  22145. VALUEh
  22146. Formset1.Form2.OptionGroup1.MouseMove
  22147. Formset1.Form2.OptionGroup1.MouseMove
  22148. Formset1.Form2.OptionGroup1.MouseMove
  22149. NBUTTON
  22150. NSHIFT
  22151. NXCOORD
  22152. NYCOORD
  22153. LTRACKMOUSE    
  22154. CPARAMSTR
  22155. NOUTPUT
  22156. THISFORMSET
  22157. EVENTWIN
  22158. EDIT1
  22159. VALUEb
  22160. Formset1.Form2.OptionGroup1.MouseUp
  22161. Formset1.Form2.OptionGroup1.MouseUp
  22162. Formset1.Form2.OptionGroup1.MouseUp
  22163. NBUTTON
  22164. NSHIFT
  22165. NXCOORD
  22166. NYCOORD
  22167. LTRACKMOUSE    
  22168. CPARAMSTR
  22169. NOUTPUT
  22170. THISFORMSET
  22171. EVENTWIN
  22172. EDIT1
  22173. VALUE
  22174. Formset1.Form2.OptionGroup1.RightClick
  22175. Formset1.Form2.OptionGroup1.RightClickC
  22176. Formset1.Form2.OptionGroup1.RightClick
  22177. NOUTPUT
  22178. THISFORMSET
  22179. EVENTWIN
  22180. EDIT1
  22181. VALUE
  22182. Formset1.Form2.OptionGroup1.Init
  22183. Formset1.Form2.OptionGroup1.InitC
  22184. Formset1.Form2.OptionGroup1.Init
  22185. NOUTPUT
  22186. THISFORMSET
  22187. EVENTWIN
  22188. EDIT1
  22189. VALUE
  22190. Formset1.Form2.OptionGroup1.When
  22191. Formset1.Form2.OptionGroup1.WhenC
  22192. Formset1.Form2.OptionGroup1.When
  22193. NOUTPUT
  22194. THISFORMSET
  22195. EVENTWIN
  22196. EDIT1
  22197. VALUE
  22198. Formset1.Form2.OptionGroup1.Valid
  22199. Formset1.Form2.OptionGroup1.ValidC
  22200. Formset1.Form2.OptionGroup1.Valid
  22201. NOUTPUT
  22202. THISFORMSET
  22203. EVENTWIN
  22204. EDIT1
  22205. VALUE
  22206. Formset1.Form2.OptionGroup1.Option1.Click
  22207. Formset1.Form2.OptionGroup1.Option1.ClickC
  22208. Formset1.Form2.OptionGroup1.Option1.Click
  22209. NOUTPUT
  22210. THISFORMSET
  22211. EVENTWIN
  22212. EDIT1
  22213. VALUE
  22214. Formset1.Form2.OptionGroup1.Option1.DblClick
  22215. Formset1.Form2.OptionGroup1.Option1.DblClickC
  22216. Formset1.Form2.OptionGroup1.Option1.DblClick
  22217. NOUTPUT
  22218. THISFORMSET
  22219. EVENTWIN
  22220. EDIT1
  22221. VALUEZ
  22222. Formset1.Form2.OptionGroup1.Option1.DragDrop
  22223. Formset1.Form2.OptionGroup1.Option1.DragDrop
  22224. Formset1.Form2.OptionGroup1.Option1.DragDrop
  22225. CSOURCE
  22226. NXCOORD
  22227. NYCOORD    
  22228. CPARAMSTR
  22229. NOUTPUT
  22230. THISFORMSET
  22231. EVENTWIN
  22232. EDIT1
  22233. VALUEk
  22234. Formset1.Form2.OptionGroup1.Option1.DragOver
  22235. Formset1.Form2.OptionGroup1.Option1.DragOver
  22236. Formset1.Form2.OptionGroup1.Option1.DragOver
  22237. CSOURCE
  22238. NXCOORD
  22239. NYCOORD
  22240. NSTATE    
  22241. CPARAMSTR
  22242. NOUTPUT
  22243. THISFORMSET
  22244. EVENTWIN
  22245. EDIT1
  22246. VALUE
  22247. Formset1.Form2.OptionGroup1.Option1.GotFocus
  22248. Formset1.Form2.OptionGroup1.Option1.GotFocusC
  22249. Formset1.Form2.OptionGroup1.Option1.GotFocus
  22250. NOUTPUT
  22251. THISFORMSET
  22252. EVENTWIN
  22253. EDIT1
  22254. VALUE[
  22255. Formset1.Form2.OptionGroup1.Option1.KeyPress
  22256. Formset1.Form2.OptionGroup1.Option1.KeyPress
  22257. Formset1.Form2.OptionGroup1.Option1.KeyPress
  22258. NKEYCODE
  22259. NSHIFTALTCTRL
  22260. LTRACKMOUSE    
  22261. CPARAMSTR
  22262. NOUTPUT
  22263. THISFORMSET
  22264. EVENTWIN
  22265. EDIT1
  22266. VALUE
  22267. Formset1.Form2.OptionGroup1.Option1.LostFocus
  22268. Formset1.Form2.OptionGroup1.Option1.LostFocusC
  22269. Formset1.Form2.OptionGroup1.Option1.LostFocus
  22270. NOUTPUT
  22271. THISFORMSET
  22272. EVENTWIN
  22273. EDIT1
  22274. VALUE
  22275. Formset1.Form2.OptionGroup1.Option1.MouseDown
  22276. Formset1.Form2.OptionGroup1.Option1.MouseDown
  22277. Formset1.Form2.OptionGroup1.Option1.MouseDown
  22278. NBUTTON
  22279. NSHIFT
  22280. NXCOORD
  22281. NYCOORD
  22282. LTRACKMOUSE    
  22283. CPARAMSTR
  22284. NOUTPUT
  22285. THISFORMSET
  22286. EVENTWIN
  22287. EDIT1
  22288. VALUE
  22289. Formset1.Form2.OptionGroup1.Option1.MouseMove
  22290. Formset1.Form2.OptionGroup1.Option1.MouseMove
  22291. Formset1.Form2.OptionGroup1.Option1.MouseMove
  22292. NBUTTON
  22293. NSHIFT
  22294. NXCOORD
  22295. NYCOORD
  22296. LTRACKMOUSE    
  22297. CPARAMSTR
  22298. NOUTPUT
  22299. THISFORMSET
  22300. EVENTWIN
  22301. EDIT1
  22302. VALUEz
  22303. Formset1.Form2.OptionGroup1.Option1.MouseUp
  22304. Formset1.Form2.OptionGroup1.Option1.MouseUp
  22305. Formset1.Form2.OptionGroup1.Option1.MouseUp
  22306. NBUTTON
  22307. NSHIFT
  22308. NXCOORD
  22309. NYCOORD
  22310. LTRACKMOUSE    
  22311. CPARAMSTR
  22312. NOUTPUT
  22313. THISFORMSET
  22314. EVENTWIN
  22315. EDIT1
  22316. VALUE
  22317. Formset1.Form2.OptionGroup1.Option1.RightClick
  22318. Formset1.Form2.OptionGroup1.Option1.RightClickC
  22319. Formset1.Form2.OptionGroup1.Option1.RightClick
  22320. NOUTPUT
  22321. THISFORMSET
  22322. EVENTWIN
  22323. EDIT1
  22324. VALUE
  22325. Formset1.Form2.OptionGroup1.Option1.Destroy
  22326. Formset1.Form2.OptionGroup1.Option1.DestroyC
  22327. Formset1.Form2.OptionGroup1.Option1.Destroy
  22328. NOUTPUT
  22329. THISFORMSET
  22330. EVENTWIN
  22331. EDIT1
  22332. VALUE
  22333. Formset1.Form2.OptionGroup1.Option1.Init
  22334. Formset1.Form2.OptionGroup1.Option1.InitC
  22335. Formset1.Form2.OptionGroup1.Option1.Init
  22336. NOUTPUT
  22337. THISFORMSET
  22338. EVENTWIN
  22339. EDIT1
  22340. VALUE
  22341. Formset1.Form2.OptionGroup1.Option1.When
  22342. Formset1.Form2.OptionGroup1.Option1.WhenC
  22343. Formset1.Form2.OptionGroup1.Option1.When
  22344. NOUTPUT
  22345. THISFORMSET
  22346. EVENTWIN
  22347. EDIT1
  22348. VALUE
  22349. Formset1.Form2.OptionGroup1.Option1.Valid
  22350. Formset1.Form2.OptionGroup1.Option1.ValidC
  22351. Formset1.Form2.OptionGroup1.Option1.Valid
  22352. NOUTPUT
  22353. THISFORMSET
  22354. EVENTWIN
  22355. EDIT1
  22356. VALUE
  22357. Formset1.Form2.OptionGroup1.Option2.Click
  22358. Formset1.Form2.OptionGroup1.Option2.ClickC
  22359. Formset1.Form2.OptionGroup1.Option2.Click
  22360. NOUTPUT
  22361. THISFORMSET
  22362. EVENTWIN
  22363. EDIT1
  22364. VALUE
  22365. Formset1.Form2.OptionGroup1.Option2.DblClick
  22366. Formset1.Form2.OptionGroup1.Option2.DblClickC
  22367. Formset1.Form2.OptionGroup1.Option2.DblClick
  22368. NOUTPUT
  22369. THISFORMSET
  22370. EVENTWIN
  22371. EDIT1
  22372. VALUEZ
  22373. Formset1.Form2.OptionGroup1.Option2.DragDrop
  22374. Formset1.Form2.OptionGroup1.Option2.DragDrop
  22375. Formset1.Form2.OptionGroup1.Option2.DragDrop
  22376. CSOURCE
  22377. NXCOORD
  22378. NYCOORD
  22379. PARAMSTR
  22380. NOUTPUT
  22381. THISFORMSET
  22382. EVENTWIN
  22383. EDIT1
  22384. VALUEk
  22385. Formset1.Form2.OptionGroup1.Option2.DragOver
  22386. Formset1.Form2.OptionGroup1.Option2.DragOver
  22387. Formset1.Form2.OptionGroup1.Option2.DragOver
  22388. CSOURCE
  22389. NXCOORD
  22390. NYCOORD
  22391. NSTATE
  22392. PARAMSTR
  22393. NOUTPUT
  22394. THISFORMSET
  22395. EVENTWIN
  22396. EDIT1
  22397. VALUE
  22398. Formset1.Form2.OptionGroup1.Option2.GotFocus
  22399. Formset1.Form2.OptionGroup1.Option2.GotFocusC
  22400. Formset1.Form2.OptionGroup1.Option2.GotFocus
  22401. NOUTPUT
  22402. THISFORMSET
  22403. EVENTWIN
  22404. EDIT1
  22405. VALUE[
  22406. Formset1.Form2.OptionGroup1.Option2.KeyPress
  22407. Formset1.Form2.OptionGroup1.Option2.KeyPress
  22408. Formset1.Form2.OptionGroup1.Option2.KeyPress
  22409. NKEYCODE
  22410. NSHIFTALTCTRL
  22411. LTRACKMOUSE
  22412. PARAMSTR
  22413. NOUTPUT
  22414. THISFORMSET
  22415. EVENTWIN
  22416. EDIT1
  22417. VALUE
  22418. Formset1.Form2.OptionGroup1.Option2.LostFocus
  22419. Formset1.Form2.OptionGroup1.Option2.LostFocusC
  22420. Formset1.Form2.OptionGroup1.Option2.LostFocus
  22421. NOUTPUT
  22422. THISFORMSET
  22423. EVENTWIN
  22424. EDIT1
  22425. VALUE
  22426. Formset1.Form2.OptionGroup1.Option2.MouseDown
  22427. Formset1.Form2.OptionGroup1.Option2.MouseDown
  22428. Formset1.Form2.OptionGroup1.Option2.MouseDown
  22429. NBUTTON
  22430. NSHIFT
  22431. NXCOORD
  22432. NYCOORD
  22433. LTRACKMOUSE
  22434. PARAMSTR
  22435. NOUTPUT
  22436. THISFORMSET
  22437. EVENTWIN
  22438. EDIT1
  22439. VALUE
  22440. Formset1.Form2.OptionGroup1.Option2.MouseMove
  22441. Formset1.Form2.OptionGroup1.Option2.MouseMove
  22442. Formset1.Form2.OptionGroup1.Option2.MouseMove
  22443. NBUTTON
  22444. NSHIFT
  22445. NXCOORD
  22446. NYCOORD
  22447. LTRACKMOUSE
  22448. PARAMSTR
  22449. NOUTPUT
  22450. THISFORMSET
  22451. EVENTWIN
  22452. EDIT1
  22453. VALUEz
  22454. Formset1.Form2.OptionGroup1.Option2.MouseUp
  22455. Formset1.Form2.OptionGroup1.Option2.MouseUp
  22456. Formset1.Form2.OptionGroup1.Option2.MouseUp
  22457. NBUTTON
  22458. NSHIFT
  22459. NXCOORD
  22460. NYCOORD
  22461. LTRACKMOUSE
  22462. PARAMSTR
  22463. NOUTPUT
  22464. THISFORMSET
  22465. EVENTWIN
  22466. EDIT1
  22467. VALUE
  22468. Formset1.Form2.OptionGroup1.Option2.RightClick
  22469. Formset1.Form2.OptionGroup1.Option2.RightClickC
  22470. Formset1.Form2.OptionGroup1.Option2.RightClick
  22471. NOUTPUT
  22472. THISFORMSET
  22473. EVENTWIN
  22474. EDIT1
  22475. VALUE
  22476. Formset1.Form2.OptionGroup1.Option2.Destroy
  22477. Formset1.Form2.OptionGroup1.Option2.DestroyC
  22478. Formset1.Form2.OptionGroup1.Option2.Destroy
  22479. NOUTPUT
  22480. THISFORMSET
  22481. EVENTWIN
  22482. EDIT1
  22483. VALUE
  22484. Formset1.Form2.OptionGroup1.Option2.Init
  22485. Formset1.Form2.OptionGroup1.Option2.InitC
  22486. Formset1.Form2.OptionGroup1.Option2.Init
  22487. NOUTPUT
  22488. THISFORMSET
  22489. EVENTWIN
  22490. EDIT1
  22491. VALUE
  22492. Formset1.Form2.OptionGroup1.Option2.When
  22493. Formset1.Form2.OptionGroup1.Option2.WhenC
  22494. Formset1.Form2.OptionGroup1.Option2.When
  22495. NOUTPUT
  22496. THISFORMSET
  22497. EVENTWIN
  22498. EDIT1
  22499. VALUE
  22500. Formset1.Form2.OptionGroup1.Option2.Valid
  22501. Formset1.Form2.OptionGroup1.Option2.ValidC
  22502. Formset1.Form2.OptionGroup1.Option2.Valid
  22503. NOUTPUT
  22504. THISFORMSET
  22505. EVENTWIN
  22506. EDIT1
  22507. VALUE
  22508. Formset1.Form2.OptionGroup1.Option3.Click
  22509. Formset1.Form2.OptionGroup1.Option3.ClickC
  22510. Formset1.Form2.OptionGroup1.Option3.Click
  22511. NOUTPUT
  22512. THISFORMSET
  22513. EVENTWIN
  22514. EDIT1
  22515. VALUE
  22516. Formset1.Form2.OptionGroup1.Option3.DblClick
  22517. Formset1.Form2.OptionGroup1.Option3.DblClickC
  22518. Formset1.Form2.OptionGroup1.Option3.DblClick
  22519. NOUTPUT
  22520. THISFORMSET
  22521. EVENTWIN
  22522. EDIT1
  22523. VALUEZ
  22524. Formset1.Form2.OptionGroup1.Option3.DragDrop
  22525. Formset1.Form2.OptionGroup1.Option3.DragDrop
  22526. Formset1.Form2.OptionGroup1.Option3.DragDrop
  22527. CSOURCE
  22528. NXCOORD
  22529. NYCOORD
  22530. PARAMSTR
  22531. NOUTPUT
  22532. THISFORMSET
  22533. EVENTWIN
  22534. EDIT1
  22535. VALUEk
  22536. Formset1.Form2.OptionGroup1.Option3.DragOver
  22537. Formset1.Form2.OptionGroup1.Option3.DragOver
  22538. Formset1.Form2.OptionGroup1.Option3.DragOver
  22539. CSOURCE
  22540. NXCOORD
  22541. NYCOORD
  22542. NSTATE
  22543. PARAMSTR
  22544. NOUTPUT
  22545. THISFORMSET
  22546. EVENTWIN
  22547. EDIT1
  22548. VALUE
  22549. Formset1.Form2.OptionGroup1.Option3.GotFocus
  22550. Formset1.Form2.OptionGroup1.Option3.GotFocusC
  22551. Formset1.Form2.OptionGroup1.Option3.GotFocus
  22552. NOUTPUT
  22553. THISFORMSET
  22554. EVENTWIN
  22555. EDIT1
  22556. VALUE[
  22557. Formset1.Form2.OptionGroup1.Option3.KeyPress
  22558. Formset1.Form2.OptionGroup1.Option3.KeyPress
  22559. Formset1.Form2.OptionGroup1.Option3.KeyPress
  22560. NKEYCODE
  22561. NSHIFTALTCTRL
  22562. LTRACKMOUSE
  22563. PARAMSTR
  22564. NOUTPUT
  22565. THISFORMSET
  22566. EVENTWIN
  22567. EDIT1
  22568. VALUE
  22569. Formset1.Form2.OptionGroup1.Option3.LostFocus
  22570. Formset1.Form2.OptionGroup1.Option3.LostFocusC
  22571. Formset1.Form2.OptionGroup1.Option3.LostFocus
  22572. NOUTPUT
  22573. THISFORMSET
  22574. EVENTWIN
  22575. EDIT1
  22576. VALUE
  22577. Formset1.Form2.OptionGroup1.Option3.MouseDown
  22578. Formset1.Form2.OptionGroup1.Option3.MouseDown
  22579. Formset1.Form2.OptionGroup1.Option3.MouseDown
  22580. NBUTTON
  22581. NSHIFT
  22582. NXCOORD
  22583. NYCOORD
  22584. LTRACKMOUSE
  22585. PARAMSTR
  22586. NOUTPUT
  22587. THISFORMSET
  22588. EVENTWIN
  22589. EDIT1
  22590. VALUE
  22591. Formset1.Form2.OptionGroup1.Option3.MouseMove
  22592. Formset1.Form2.OptionGroup1.Option3.MouseMove
  22593. Formset1.Form2.OptionGroup1.Option3.MouseMove
  22594. NBUTTON
  22595. NSHIFT
  22596. NXCOORD
  22597. NYCOORD
  22598. LTRACKMOUSE
  22599. PARAMSTR
  22600. NOUTPUT
  22601. THISFORMSET
  22602. EVENTWIN
  22603. EDIT1
  22604. VALUEz
  22605. Formset1.Form2.OptionGroup1.Option3.MouseUp
  22606. Formset1.Form2.OptionGroup1.Option3.MouseUp
  22607. Formset1.Form2.OptionGroup1.Option3.MouseUp
  22608. NBUTTON
  22609. NSHIFT
  22610. NXCOORD
  22611. NYCOORD
  22612. LTRACKMOUSE
  22613. PARAMSTR
  22614. NOUTPUT
  22615. THISFORMSET
  22616. EVENTWIN
  22617. EDIT1
  22618. VALUE
  22619. Formset1.Form2.OptionGroup1.Option3.RightClick
  22620. Formset1.Form2.OptionGroup1.Option3.RightClickC
  22621. Formset1.Form2.OptionGroup1.Option3.RightClick
  22622. NOUTPUT
  22623. THISFORMSET
  22624. EVENTWIN
  22625. EDIT1
  22626. VALUE
  22627. Formset1.Form2.OptionGroup1.Option3.Destroy
  22628. Formset1.Form2.OptionGroup1.Option3.DestroyC
  22629. Formset1.Form2.OptionGroup1.Option3.Destroy
  22630. NOUTPUT
  22631. THISFORMSET
  22632. EVENTWIN
  22633. EDIT1
  22634. VALUE
  22635. Formset1.Form2.OptionGroup1.Option3.Init
  22636. Formset1.Form2.OptionGroup1.Option3.InitC
  22637. Formset1.Form2.OptionGroup1.Option3.Init
  22638. NOUTPUT
  22639. THISFORMSET
  22640. EVENTWIN
  22641. EDIT1
  22642. VALUE
  22643. Formset1.Form2.OptionGroup1.Option3.When
  22644. Formset1.Form2.OptionGroup1.Option3.WhenC
  22645. Formset1.Form2.OptionGroup1.Option3.When
  22646. NOUTPUT
  22647. THISFORMSET
  22648. EVENTWIN
  22649. EDIT1
  22650. VALUE
  22651. Formset1.Form2.OptionGroup1.Option3.Valid
  22652. Formset1.Form2.OptionGroup1.Option3.ValidC
  22653. Formset1.Form2.OptionGroup1.Option3.Valid
  22654. NOUTPUT
  22655. THISFORMSET
  22656. EVENTWIN
  22657. EDIT1
  22658. VALUE
  22659. Click,
  22660. DblClickM
  22661. DragDropw
  22662. DragOver
  22663. InteractiveChange
  22664. MouseDown
  22665. MouseMove
  22666. MouseUp
  22667. RightClick
  22668. Valid
  22669. Option1.Click
  22670. Option1.DblClickT
  22671. Option1.DragDrop
  22672. Option1.DragOverN
  22673. Option1.GotFocus
  22674. Option1.KeyPressa
  22675. Option1.LostFocus
  22676. Option1.MouseDownd
  22677. Option1.MouseMoveQ
  22678. Option1.MouseUp>
  22679. Option1.RightClick%!
  22680. Option1.Destroym"
  22681. Option1.Init
  22682. Option1.When
  22683. Option1.Valid
  22684. Option2.ClickQ'
  22685. Option2.DblClick
  22686. Option2.DragDrop
  22687. Option2.DragOver
  22688. Option2.GotFocusS-
  22689. Option2.KeyPress
  22690. Option2.LostFocusR0
  22691. Option2.MouseDown
  22692. Option2.MouseMove
  22693. Option2.MouseUpo5
  22694. Option2.RightClickU7
  22695. Option2.Destroy
  22696. Option2.Init
  22697. Option2.When
  22698. Option2.ValidH<
  22699. Option3.Click
  22700. Option3.DblClick
  22701. Option3.DragDrop
  22702. Option3.DragOver
  22703. Option3.GotFocus
  22704. Option3.KeyPress
  22705. Option3.LostFocus
  22706. Option3.MouseDown
  22707. Option3.MouseMove
  22708. Option3.MouseUp
  22709. Option3.RightClick
  22710. Option3.Destroy
  22711. Option3.Init
  22712. Option3.WhenBQ
  22713. Option3.ValidxR
  22714. c:\vfp\samples\controls\events\
  22715. events.scx
  22716. c:\vfp\samples\controls\events\events.scx
  22717. PLATFORM
  22718. UNIQUEID
  22719. TIMESTAMP
  22720. CLASS
  22721. CLASSLOC
  22722. BASECLASS
  22723. OBJNAME
  22724. PARENT
  22725. PROPERTIES
  22726. PROTECTED
  22727. METHODS
  22728. OBJCODE
  22729. COMMENT
  22730. RESERVED1
  22731. RESERVED2
  22732. RESERVED3
  22733. RESERVED4
  22734. RESERVED5
  22735. RESERVED6
  22736. RESERVED7
  22737. RESERVED8
  22738. RESERVED9
  22739. RESERVED10
  22740.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QU00R9JS3 491087207        17                  18        19                  20                                                                              21                                                                                           WINDOWS _QU00R9JSB 496261721        22                  23        24                  25                  31       260                                                                                                                                             WINDOWS _QU00R9JT3 496261721        53        54        55        56        57        58                                                                                                                                                                           WINDOWS _QU00R9JVU 496261722        72                  73        74        75        76                  79       273                                                                                                                                             WINDOWS _QU00R9JY0 496261722       100                 101       102       103       104                 107       286                                                                                                                                             WINDOWS _QU00R9JZ2 496261722       119                 120       121       122       123                 126       296                                                                                                                                             COMMENT FONTINFO                                                                     137                                                                                                                                                                          
  22741. VERSION =  0.028
  22742. dataenvironment
  22743. dataenvironment
  22744. Datanavigation
  22745. Name = "Datanavigation"
  22746. frmstop
  22747. ScaleMode = 3
  22748. Top = 117
  22749. Left = 307
  22750. Height = 163
  22751. Width = 109
  22752. AutoCenter = .F.
  22753. BackColor = 192,192,192
  22754. Caption = "Stopwatch"
  22755. MaxButton = .F.
  22756. MinButton = .F.
  22757. Name = "frmstop"
  22758. PROCEDURE Init
  22759. this.stopwatch1.stop
  22760. ENDPROC
  22761. PROCEDURE Unload
  22762. * If this form is run from main.scx in controls.app,
  22763. * the hidden form object, main, is made visible when
  22764. * this form is unloaded
  22765. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  22766.     main.show
  22767. ENDIF
  22768. ENDPROC
  22769. STOPWATCH1
  22770. STOP4
  22771. mainb
  22772. Init,
  22773. UnloadX
  22774. c:\vfp\samples\controls\timer\
  22775. 81091315.tmp
  22776. c:\vfp\samples\controls\timer\81091315.tmp
  22777.     stopwatch
  22778. samples.vcx
  22779.     container
  22780. Stopwatch1
  22781. frmstop.
  22782. Top = 17
  22783. Left = 20
  22784. Width = 69
  22785. Height = 29
  22786. ClassLibrary = "samples.vcx"
  22787. Name = "Stopwatch1"
  22788. Timer1.Top = 27
  22789. Timer1.Left = 6
  22790. Timer1.Enabled = .T.
  22791. lblhours.Caption = "00"
  22792. lblhours.Left = 8
  22793. lblhours.Top = 8
  22794. lblColon2.Left = 23
  22795. lblColon2.Top = 7
  22796. lblMinutes.Caption = "00"
  22797. lblMinutes.Left = 27
  22798. lblMinutes.Top = 8
  22799. lblColon1.Left = 42
  22800. lblColon1.Top = 7
  22801. lblSeconds.Caption = "00"
  22802. lblSeconds.Left = 46
  22803. lblSeconds.Top = 8
  22804. commandbutton
  22805. commandbutton
  22806. cmdStartStop
  22807. frmstop.
  22808. WTop = 60
  22809. Left = 6
  22810. Height = 25
  22811. Width = 97
  22812. Caption = "Start"
  22813. Name = "cmdStartStop"
  22814. PROCEDURE Click
  22815. #define START_LOC "Start"
  22816. #define STOP_LOC "Stop"
  22817. IF This.Caption = START_LOC
  22818.     This.Caption = STOP_LOC
  22819.     thisform.stopwatch1.start
  22820.     This.Caption = START_LOC
  22821.     thisform.stopwatch1.stop
  22822. ENDIF
  22823. ENDPROC
  22824. Start
  22825. Start
  22826. CAPTION
  22827. THISFORM
  22828. STOPWATCH1
  22829. START
  22830. Click,
  22831. c:\vfp\samples\controls\timer\
  22832. 81091315.tmp
  22833. c:\vfp\samples\controls\timer\81091315.tmp
  22834. commandbutton
  22835. commandbutton
  22836. cmdReset
  22837. frmstop.
  22838. STop = 95
  22839. Left = 6
  22840. Height = 25
  22841. Width = 97
  22842. Caption = "Reset"
  22843. Name = "cmdReset"
  22844. 5PROCEDURE Click
  22845. thisform.stopwatch1.reset
  22846. ENDPROC
  22847. THISFORM
  22848. STOPWATCH1
  22849. RESET
  22850. Click,
  22851. c:\vfp\samples\controls\timer\
  22852. 81091315.tmp
  22853. c:\vfp\samples\controls\timer\81091315.tmp
  22854. commandbutton
  22855. commandbutton
  22856. cmdClose
  22857. frmstop.
  22858. TTop = 132
  22859. Left = 6
  22860. Height = 25
  22861. Width = 97
  22862. Caption = "Close"
  22863. Name = "cmdClose"
  22864. ,PROCEDURE Click
  22865. release thisform
  22866. ENDPROC
  22867. THISFORM
  22868. Click,
  22869. c:\vfp\samples\controls\timer\
  22870. 81091315.tmp
  22871. c:\vfp\samples\controls\timer\81091315.tmp
  22872. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  22873. VERSION =  0.028
  22874. dataenvironment
  22875. dataenvironment
  22876. Datanavigation
  22877. Name = "Datanavigation"
  22878. frmstop
  22879. ScaleMode = 3
  22880. Top = 117
  22881. Left = 307
  22882. Height = 163
  22883. Width = 109
  22884. AutoCenter = .F.
  22885. BackColor = 192,192,192
  22886. Caption = "Stopwatch"
  22887. MaxButton = .F.
  22888. MinButton = .F.
  22889. Name = "frmstop"
  22890. PROCEDURE Init
  22891. this.stopwatch1.stop
  22892. ENDPROC
  22893. PROCEDURE Unload
  22894. * If this form is run from main.scx in controls.app,
  22895. * the hidden form object, main, is made visible when
  22896. * this form is unloaded
  22897. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  22898.     main.show
  22899. ENDIF
  22900. ENDPROC
  22901. STOPWATCH1
  22902. STOP4
  22903. mainb
  22904. Init,
  22905. UnloadX
  22906. c:\vfp\samples\controls\timer\
  22907. swatch.scx
  22908. c:\vfp\samples\controls\timer\swatch.scx
  22909.     stopwatch
  22910. samples.vcx
  22911.     container
  22912. Stopwatch1
  22913. frmstop
  22914. Top = 17
  22915. Left = 20
  22916. Width = 69
  22917. Height = 29
  22918. ClassLibrary = "samples.vcx"
  22919. Name = "Stopwatch1"
  22920. Timer1.Top = 27
  22921. Timer1.Left = 6
  22922. Timer1.Enabled = .T.
  22923. lblhours.Caption = "00"
  22924. lblhours.Left = 8
  22925. lblhours.Top = 8
  22926. lblColon2.Left = 23
  22927. lblColon2.Top = 7
  22928. lblMinutes.Caption = "00"
  22929. lblMinutes.Left = 27
  22930. lblMinutes.Top = 8
  22931. lblColon1.Left = 42
  22932. lblColon1.Top = 7
  22933. lblSeconds.Caption = "00"
  22934. lblSeconds.Left = 46
  22935. lblSeconds.Top = 8
  22936. commandbutton
  22937. commandbutton
  22938. Command1
  22939. frmstop
  22940. STop = 60
  22941. Left = 6
  22942. Height = 25
  22943. Width = 97
  22944. Caption = "Start"
  22945. Name = "Command1"
  22946. PROCEDURE Click
  22947. IF This.Caption = "Start"
  22948.     This.Caption = "Stop"
  22949.     thisform.stopwatch1.start
  22950.     This.Caption = "Start"
  22951.     thisform.stopwatch1.stop
  22952. ENDIF
  22953. ENDPROC
  22954. Start
  22955. Start
  22956. CAPTION
  22957. THISFORM
  22958. STOPWATCH1
  22959. START
  22960. Click,
  22961. c:\vfp\samples\controls\timer\
  22962. swatch.scx
  22963. c:\vfp\samples\controls\timer\swatch.scx
  22964. commandbutton
  22965. commandbutton
  22966. Command3
  22967. frmstop
  22968. STop = 95
  22969. Left = 6
  22970. Height = 25
  22971. Width = 97
  22972. Caption = "Reset"
  22973. Name = "Command3"
  22974. 5PROCEDURE Click
  22975. thisform.stopwatch1.reset
  22976. ENDPROC
  22977. THISFORM
  22978. STOPWATCH1
  22979. RESET
  22980. Click,
  22981. c:\vfp\samples\controls\timer\
  22982. swatch.scx
  22983. c:\vfp\samples\controls\timer\swatch.scx
  22984. commandbutton
  22985. commandbutton
  22986. Command4
  22987. frmstop
  22988. TTop = 132
  22989. Left = 6
  22990. Height = 25
  22991. Width = 97
  22992. Caption = "Close"
  22993. Name = "Command4"
  22994. ,PROCEDURE Click
  22995. release thisform
  22996. ENDPROC
  22997. THISFORM
  22998. Click,
  22999. c:\vfp\samples\controls\timer\
  23000. swatch.scx
  23001. c:\vfp\samples\controls\timer\swatch.scx
  23002. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  23003. STOPWATCH1
  23004. STOP4
  23005. mainb
  23006. Init,
  23007. UnloadX
  23008. c:\vfp\samples\controls\timer\
  23009. swatch.scx
  23010. c:\vfp\samples\controls\timer\swatch.scx
  23011. Start
  23012. Start
  23013. CAPTION
  23014. THISFORM
  23015. STOPWATCH1
  23016. START
  23017. Click,
  23018. c:\vfp\samples\controls\timer\
  23019. swatch.scx
  23020. c:\vfp\samples\controls\timer\swatch.scx
  23021. THISFORM
  23022. STOPWATCH1
  23023. RESET
  23024. Click,
  23025. c:\vfp\samples\controls\timer\
  23026. swatch.scx
  23027. c:\vfp\samples\controls\timer\swatch.scx
  23028. THISFORM
  23029. Click,
  23030. c:\vfp\samples\controls\timer\
  23031. swatch.scx
  23032. c:\vfp\samples\controls\timer\swatch.scx
  23033. PLATFORM
  23034. UNIQUEID
  23035. TIMESTAMP
  23036. CLASS
  23037. CLASSLOC
  23038. BASECLASS
  23039. OBJNAME
  23040. PARENT
  23041. PROPERTIES
  23042. PROTECTED
  23043. METHODS
  23044. OBJCODE
  23045. COMMENT
  23046. RESERVED1
  23047. RESERVED2
  23048. RESERVED3
  23049. RESERVED4
  23050. RESERVED5
  23051. RESERVED6
  23052. RESERVED7
  23053. RESERVED8
  23054. RESERVED9
  23055. RESERVED10
  23056.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QU00T27RA 491088944         9                  10        11                  12                                                                              13                                                                                           WINDOWS _QU00T27RO 495290490        14                  15        16                  17                  20       102                                                                                                                                             WINDOWS _QU00T27SM 491932480        26                  27        28        29        30                  32       110                                                                                                                                             WINDOWS _QU00U2PCU 491932480        34                  35        36        37        38                                                                                                                                                                           WINDOWS _QU00U2PDR 495275472        40                  41        42        43        44                                                                                                                                                                           WINDOWS _QU00U2PEQ 491932480        47                  48        49        50        51                                                                                                                                                                           WINDOWS _QU00U2PFJ 491932480        54                  55        56        57        58                                                                                                                                                                           WINDOWS _QU00U2PGX 495290490        60                  61        62        63        64                  67       115                                                                                                                                             WINDOWS _QU00U2PIA 495290490        69                  70        71        72        73                  75       121                                                                                                                                             COMMENT FONTINFO           0                                                          77                                                                                                                                                                          
  23057. VERSION =  0.028
  23058. dataenvironment
  23059. dataenvironment
  23060. Datanavigation
  23061. Name = "Datanavigation"
  23062. form1
  23063. ScaleMode = 3
  23064. Top = 169
  23065. Left = 157
  23066. Height = 134
  23067. Width = 296
  23068. BackColor = 192,192,192
  23069. Caption = "Timer Intervals"
  23070. MaxButton = .F.
  23071. MinButton = .F.
  23072. Name = "form1"
  23073. LPROCEDURE Init
  23074. This.Spinner1.value = 5
  23075. This.Timer1.Interval = 5000
  23076. ENDPROC
  23077. ENDPROC
  23078. ENDPROC
  23079. PROCEDURE Unload
  23080. * If this form is run from main.scx in controls.app,
  23081. * the hidden form object, main, is made visible when
  23082. * this form is unloaded
  23083. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23084.     main.show
  23085. ENDIF
  23086. ENDPROC
  23087. ENDPROC
  23088. commandbutton
  23089. commandbutton
  23090. Command1
  23091. form1
  23092. VTop = 104
  23093. Left = 118
  23094. Height = 25
  23095. Width = 61
  23096. Caption = "Close"
  23097. Name = "Command1"
  23098. >PROCEDURE Click
  23099. release thisform
  23100. ENDPROC
  23101. ENDPROC
  23102. ENDPROC
  23103. label
  23104. label
  23105. Label1
  23106. form1
  23107. nBackColor = 192,192,192
  23108. Caption = "Seconds"
  23109. Height = 15
  23110. Left = 229
  23111. Top = 72
  23112. Width = 58
  23113. Name = "Label1"
  23114. label
  23115. label
  23116. Label2
  23117. form1
  23118. AutoSize = .T.
  23119. BackColor = 192,192,192
  23120. Caption = "Wait Window Text"
  23121. Height = 15
  23122. Left = 7
  23123. Top = 12
  23124. Width = 150
  23125. Name = "Label2"
  23126. label
  23127. label
  23128. Label3
  23129. form1
  23130. BackColor = 192,192,192
  23131. Caption = "Display Wait Window Every"
  23132. Height = 15
  23133. Left = 7
  23134. Top = 72
  23135. Width = 181
  23136. Name = "Label3"
  23137. textbox
  23138. textbox
  23139. Text1
  23140. form1
  23141. WValue = Enter Text Here
  23142. Height = 24
  23143. Left = 7
  23144. Top = 34
  23145. Width = 279
  23146. Name = "Text1"
  23147. spinner
  23148. spinner
  23149. Spinner1
  23150. form1
  23151. Height = 22
  23152. InputMask = "###"
  23153. KeyboardLowValue =   1.00
  23154. Left = 187
  23155. SpinnerLowValue =   1.00
  23156. Top = 68
  23157. Width = 37
  23158. Name = "Spinner1"
  23159. XPROCEDURE InteractiveChange
  23160. ThisForm.Timer1.Interval = (This.Value * 1000)
  23161. ENDPROC
  23162. timer
  23163. timer
  23164. Timer1
  23165. form1
  23166. ATop = 108
  23167. Left = 264
  23168. Height = 25
  23169. Width = 25
  23170. Name = "Timer1"
  23171. ZPROCEDURE Timer
  23172. WAIT WINDOW ALLTRIM(ThisForm.Text1.Value) TIMEOUT 0.5
  23173. ENDPROC
  23174. ENDPROC
  23175. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  23176. SPINNER1
  23177. VALUE
  23178. TIMER1
  23179. INTERVAL4
  23180. mainb
  23181. Init,
  23182. Unload
  23183. c:\vfp\samples\controls\timer\
  23184. timecomm.scx
  23185. c:\vfp\samples\controls\timer\timecomm.scx
  23186. THISFORM
  23187. Click,
  23188. c:\vfp\samples\controls\timer\
  23189. timecomm.scx
  23190. c:\vfp\samples\controls\timer\timecomm.scx
  23191. THISFORM
  23192. TIMER1
  23193. INTERVAL
  23194. VALUE
  23195. InteractiveChange,
  23196. c:\vfp\samples\controls\timer\
  23197. timecomm.scx
  23198. c:\vfp\samples\controls\timer\timecomm.scx
  23199. THISFORM
  23200. TEXT1
  23201. VALUE
  23202. Timer,
  23203. c:\vfp\samples\controls\timer\
  23204. timecomm.scx
  23205. c:\vfp\samples\controls\timer\timecomm.scx
  23206. SPINNER1
  23207. VALUE
  23208. TIMER1
  23209. INTERVAL4
  23210. mainb
  23211. Init,
  23212. Unload
  23213. c:\vfp\samples\controls\timer\
  23214. timecomm.scx
  23215. c:\vfp\samples\controls\timer\timecomm.scx
  23216. THISFORM
  23217. Click,
  23218. c:\vfp\samples\controls\timer\
  23219. timecomm.scx
  23220. c:\vfp\samples\controls\timer\timecomm.scx
  23221. THISFORM
  23222. TIMER1
  23223. INTERVAL
  23224. VALUE
  23225. InteractiveChange,
  23226. c:\vfp\samples\controls\timer\
  23227. timecomm.scx
  23228. c:\vfp\samples\controls\timer\timecomm.scx
  23229. THISFORM
  23230. TEXT1
  23231. VALUE
  23232. Timer,
  23233. c:\vfp\samples\controls\timer\
  23234. timecomm.scx
  23235. c:\vfp\samples\controls\timer\timecomm.scx
  23236. PLATFORM
  23237. UNIQUEID
  23238. TIMESTAMP
  23239. CLASS
  23240. CLASSLOC
  23241. BASECLASS
  23242. OBJNAME
  23243. PARENT
  23244. PROPERTIES
  23245. PROTECTED
  23246. METHODS
  23247. OBJCODE
  23248. COMMENT
  23249. RESERVED1
  23250. RESERVED2
  23251. RESERVED3
  23252. RESERVED4
  23253. RESERVED5
  23254. RESERVED6
  23255. RESERVED7
  23256. RESERVED8
  23257. RESERVED9
  23258. RESERVED10
  23259.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QU00WNNAD 491092421        17                  18        19                  20                                                                              21                                                                                           WINDOWS _QU00WNNAJ 496259867        22                  23        24                  25                  33       191                                                                                                                                             WINDOWS _QU00WU3SX 496259867        69        70        71        72        73        74                  90       210                                                                                                                                             COMMENT FONTINFO                                                                     101                                                                                                                                                                          
  23260. VERSION =  0.028
  23261. dataenvironment
  23262. dataenvironment
  23263. Datanavigation
  23264. Name = "Datanavigation"
  23265. form1
  23266. ScaleMode = 3
  23267. Top = 247
  23268. Left = 98
  23269. Height = 23
  23270. Width = 251
  23271. BackColor = 255,255,255
  23272. Caption = "Clock - double click to change time format (12)"
  23273. HalfHeightCaption = .T.
  23274. MaxButton = .F.
  23275. MinButton = .F.
  23276. Movable = .T.
  23277. Name = "form1"
  23278. )PROCEDURE DblClick
  23279. #define CAP24_LOC 'Clock - double click to change time format (24)'
  23280. #define CAP12_LOC 'Clock - double click to change time format (12)'
  23281. IF This.Clock1.TimeFormat = 0
  23282.     This.Clock1.TimeFormat = 1
  23283.     This.caption = CAP24_LOC
  23284.     This.Clock1.TimeFormat = 0
  23285.     This.caption = CAP12_LOC
  23286. ENDIF
  23287. ENDPROC
  23288. PROCEDURE Unload
  23289. * If this form is run from main.scx in controls.app,
  23290. * the hidden form object, main, is made visible when
  23291. * this form is unloaded
  23292. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23293.     main.show
  23294. ENDIF
  23295. ENDPROC
  23296. Clock - double click to change time format (24)
  23297. Clock - double click to change time format (12)
  23298. CLOCK1
  23299. TIMEFORMAT
  23300. CAPTION4
  23301. mainb
  23302. DblClick,
  23303. Unload
  23304. c:\vfp\samples\controls\timer\
  23305. 77854480.tmp
  23306. c:\vfp\samples\controls\timer\77854480.tmp
  23307. clock
  23308. samples.vcx
  23309.     container
  23310. Clock1
  23311. form1.
  23312. Top = 1
  23313. Left = 0
  23314. Width = 247
  23315. Height = 21
  23316. BackColor = 255,255,255
  23317. BorderWidth = 0
  23318. ClassLibrary = "samples.vcx"
  23319. timeformat = 0
  23320. Name = "Clock1"
  23321. txtDate.BackColor = 255,255,255
  23322. txtDate.Left = -1
  23323. txtDate.StatusBarText = "Double Click to change Time Format to 24 hour"
  23324. txtDate.Top = -1
  23325. txtDate.DisabledForeColor = 0,0,0
  23326. txtDate.DisabledBackColor = 255,255,255
  23327. txtTime.Left = 184
  23328. txtTime.StatusBarText = "Double Click to change Time Format to 24 hour"
  23329. txtTime.Top = -1
  23330. Timer1.Top = -1
  23331. Timer1.Left = -1
  23332. 2PROCEDURE DblClick
  23333. ThisForm.DblClick
  23334. ENDPROC
  23335. THISFORM
  23336. DBLCLICK
  23337. DblClick,
  23338. c:\vfp\samples\controls\timer\
  23339. 77854480.tmp
  23340. c:\vfp\samples\controls\timer\77854480.tmp
  23341. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  23342. VERSION =  0.028
  23343. dataenvironment
  23344. dataenvironment
  23345. Datanavigation
  23346. Name = "Datanavigation"
  23347. form1
  23348. ScaleMode = 3
  23349. Top = 247
  23350. Left = 98
  23351. Height = 23
  23352. Width = 251
  23353. BackColor = 255,255,255
  23354. Caption = "Clock - double click to change time format (12)"
  23355. HalfHeightCaption = .T.
  23356. MaxButton = .F.
  23357. MinButton = .F.
  23358. Movable = .T.
  23359. Name = "form1"
  23360. PROCEDURE DblClick
  23361. IF This.Clock1.TimeFormat = 0
  23362.     This.Clock1.TimeFormat = 1
  23363.     This.caption = 'Clock - double click to change time format (24)'
  23364.     This.Clock1.TimeFormat = 0
  23365.     This.caption = 'Clock - double click to change time format (12)'
  23366. ENDIF
  23367. ENDPROC
  23368. ENDPROC
  23369. ENDPROC
  23370. PROCEDURE Unload
  23371. * If this form is run from main.scx in controls.app,
  23372. * the hidden form object, main, is made visible when
  23373. * this form is unloaded
  23374. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23375.     main.show
  23376. ENDIF
  23377. ENDPROC
  23378. ENDPROC
  23379. ENDPROC
  23380. Clock - double click to change time format (24)
  23381. Clock - double click to change time format (12)
  23382. CLOCK1
  23383. TIMEFORMAT
  23384. CAPTION4
  23385. mainb
  23386. DblClick,
  23387. Unload
  23388. c:\vfp\samples\controls\timer\
  23389. clock.scx
  23390. c:\vfp\samples\controls\timer\clock.scx
  23391. clock
  23392. samples.vcx
  23393.     container
  23394. Clock1
  23395. form1
  23396. Top = 1
  23397. Left = 0
  23398. Width = 247
  23399. Height = 21
  23400. BackColor = 255,255,255
  23401. BorderWidth = 0
  23402. ClassLibrary = "samples.vcx"
  23403. timeformat = 0
  23404. Name = "Clock1"
  23405. txtDate.BackColor = 255,255,255
  23406. txtDate.Left = -1
  23407. txtDate.StatusBarText = "Double Click to change Time Format to 24 hour"
  23408. txtDate.Top = -1
  23409. txtDate.DisabledForeColor = 0,0,0
  23410. txtDate.DisabledBackColor = 255,255,255
  23411. txtTime.Left = 184
  23412. txtTime.StatusBarText = "Double Click to change Time Format to 24 hour"
  23413. txtTime.Top = -1
  23414. Timer1.Top = -1
  23415. Timer1.Left = -1
  23416. ;PROCEDURE DblClick
  23417. ThisForm.DblClick
  23418. ENDPROC
  23419. ENDPROC
  23420. THISFORM
  23421. DBLCLICK
  23422. DblClick,
  23423. c:\vfp\samples\controls\timer\
  23424. clock.scx
  23425. c:\vfp\samples\controls\timer\clock.scx
  23426. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  23427. Clock - double click to change time format (24)
  23428. Clock - double click to change time format (12)
  23429. CLOCK1
  23430. TIMEFORMAT
  23431. CAPTION4
  23432. mainb
  23433. DblClick,
  23434. Unload
  23435. c:\vfp\samples\controls\timer\
  23436. clock.scx
  23437. c:\vfp\samples\controls\timer\clock.scx
  23438. THISFORM
  23439. DBLCLICK
  23440. DblClick,
  23441. c:\vfp\samples\controls\timer\
  23442. clock.scx
  23443. c:\vfp\samples\controls\timer\clock.scx
  23444. PLATFORM
  23445. UNIQUEID
  23446. TIMESTAMP
  23447. CLASS
  23448. CLASSLOC
  23449. BASECLASS
  23450. OBJNAME
  23451. PARENT
  23452. PROPERTIES
  23453. PROTECTED
  23454. METHODS
  23455. OBJCODE
  23456. COMMENT
  23457. RESERVED1
  23458. RESERVED2
  23459. RESERVED3
  23460. RESERVED4
  23461. RESERVED5
  23462. RESERVED6
  23463. RESERVED7
  23464. RESERVED8
  23465. RESERVED9
  23466. RESERVED10
  23467.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTS13T6TM 495742449        17                  18        19                  20                                                                              32                                                                                           WINDOWS _QV40R2XRH 505828807        23                  24        25        26        27                                                                                                                                                                           WINDOWS _QTS13JFW5 505828807        33                  34        35                  36                  44       748                                                         105                                                                                 WINDOWS _QTS120NXG 505828807       106                 107       108       109       110                 128       778                                                                                                                                             WINDOWS _QTS13JKBO 495359381       164                 165       166       167       168                                                                                                                                                                           WINDOWS _QTS13JKCT 505828807       173                 174       175       176       177                 185       799                                                                                                                                             WINDOWS _QU00JPUKU 505703118       349                 350       351       352       353                                                                                                                                                                           WINDOWS _QU00SIUVG 505828807       363                 364       365       366       367                 371       875                                                                                                                                             COMMENT FONTINFO                                                                     382                                                                                                                                                                          
  23468. VERSION =  0.028
  23469. dataenvironment
  23470. dataenvironment
  23471. Datanavigation
  23472. ILeft = 24
  23473. Top = 49
  23474. Width = 632
  23475. Height = 358
  23476. Name = "Datanavigation"
  23477. cursor
  23478. cursor
  23479. Cursor1
  23480. Datanavigation.
  23481. Database = ..\..\data\testdata.dbc
  23482. Left = 20
  23483. Top = 10
  23484. Width = 106
  23485. Height = 126
  23486. Alias = "customer"
  23487. CursorSource = "customer"
  23488. Name = "Cursor1"
  23489. frmpgfsam1
  23490. ScaleMode = 0
  23491. Caption = "PageFrame Tab Sample"
  23492. alphabet = ABCDEFGHIJKLMNOPQRSTUVWXYZ
  23493. Top =   6.31
  23494. Left =   6.33
  23495. Height =  17.38
  23496. Width =  94.17
  23497. AutoCenter = .T.
  23498. BackColor = 192,192,192
  23499. DataSession = 2
  23500. Name = "frmpgfsam1"
  23501. PROCEDURE Unload
  23502. * If this form is run from main.scx in controls.app,
  23503. * the hidden form object, main, is made visible when
  23504. * this form is unloaded
  23505. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23506.     main.show
  23507. ENDIF
  23508. ENDPROC
  23509. PROCEDURE Load
  23510. Public array myarray[1,2]
  23511. ENDPROC
  23512. PROCEDURE Init
  23513. *Populate first screen of the listbox when you enter the sample
  23514. var1 = thisform.pgfrolodex.activepage
  23515. var2 = substr(thisform.pgfrolodex.pages(var1).caption,3,1)
  23516. var3 = substr(thisform.pgfrolodex.pages(var1).caption,1,1)
  23517. Select Company, phone from customer;
  23518.     where company <= var2 and company => var3;
  23519.     order by company;
  23520.     into array myarray
  23521. var4=alen(myarray,1)
  23522. thisform.list1.numberofelements=var4
  23523. ENDPROC
  23524. PROCEDURE Error
  23525. Parameters nError, cMethod, nLine
  23526. WAIT WINDOW "ERROR " + ALLTRIM(STR(nError))
  23527. ENDPROC
  23528. PROCEDURE Destroy
  23529. * If the sample was run from the main controls application,
  23530. * show main.
  23531. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23532.     main.show
  23533. ENDIF
  23534. ENDPROC
  23535. mainb
  23536. MYARRAY
  23537. customer
  23538. THISFORM
  23539. PGFROLODEX
  23540. ACTIVEPAGE
  23541. PAGES
  23542. CAPTION
  23543. COMPANY
  23544. PHONE
  23545. CUSTOMER
  23546. MYARRAY
  23547. LIST1
  23548. NUMBEROFELEMENTS*
  23549. ERROR CC
  23550. NERROR
  23551. CMETHOD
  23552. NLINE4
  23553. mainb
  23554. Unload,
  23555. Loadp
  23556. Error
  23557. Destroy 
  23558. j:\rodh\samples\controls\pgframe\
  23559. 00489694.tmp
  23560. j:\rodh\samples\controls\pgframe\00489694.tmp
  23561. alphabet
  23562.     pageframe
  23563.     pageframe
  23564. pgfrolodex
  23565. frmpgfsam1.
  23566. 0ErasePage = .T.
  23567. PageCount = 3
  23568. TabStretch = 1
  23569. Top =   0.50
  23570. Left =   2.17
  23571. ActivePage = 1
  23572. Height =  12.00
  23573. Width =  90.17
  23574. Tabs = .T.
  23575. Name = "pgfrolodex"
  23576. Page1.Caption = "A-H"
  23577. Page1.PageOrder = 1
  23578. Page1.Name = "page1"
  23579. Page2.Caption = "I-P"
  23580. Page2.PageOrder = 2
  23581. Page2.Name = "page2"
  23582. Page3.Caption = "Q-Z"
  23583. Page3.PageOrder = 3
  23584. Page3.FontItalic = .F.
  23585. Page3.FontName = "MS Sans Serif"
  23586. Page3.FontOutline = .F.
  23587. Page3.FontShadow = .F.
  23588. Page3.FontStrikethru = .F.
  23589. Page3.FontUnderline = .F.
  23590. Page3.DragMode = 0
  23591. Page3.Enabled = .T.
  23592. Page3.Name = "page3"
  23593. PROCEDURE Click
  23594. *Updates the grid to have the proper data
  23595. thisform.lockscreen=.t.
  23596. Dime myarray[1,2]
  23597. myarray[1,1]='No Results'
  23598. var1 = this.activepage
  23599. var2 = substr(this.pages(var1).caption,3,1)
  23600. var3 = substr(this.pages(var1).caption,1,1)
  23601. Select Company, phone from customer;
  23602.     where company <= var2 and company => var3;
  23603.     order by company;
  23604.     into array myarray
  23605. var4=alen(myarray,1)
  23606. thisform.list1.numberofelements=var4
  23607. thisform.lockscreen=.f.
  23608. ENDPROC
  23609. No Results
  23610. customer
  23611. THISFORM
  23612. LOCKSCREEN
  23613. MYARRAY
  23614. ACTIVEPAGE
  23615. PAGES
  23616. CAPTION
  23617. COMPANY
  23618. PHONE
  23619. CUSTOMER
  23620. LIST1
  23621. NUMBEROFELEMENTS
  23622. Click,
  23623. j:\rodh\samples\controls\pgframe\
  23624. 00489694.tmp
  23625. j:\rodh\samples\controls\pgframe\00489694.tmp
  23626. label
  23627. label
  23628. Lblnumpages
  23629. frmpgfsam1.
  23630. Caption = "Number of pages"
  23631. Top =   2.63
  23632. Left =   3.67
  23633. Alignment = 2
  23634. BackColor = 192,192,192
  23635. Height =   1.25
  23636. Width =  19.00
  23637. Name = "Lblnumpages"
  23638. spinner
  23639. spinner
  23640. spnnumpages
  23641. frmpgfsam1.
  23642. Top =   2.44
  23643. Left =  23.17
  23644. BackColor = 192,192,192
  23645. Enabled = .T.
  23646. Height =   1.69
  23647. KeyboardHighValue =   9.00
  23648. KeyboardLowValue =   1.00
  23649. SpinnerHighValue =   9.00
  23650. SpinnerLowValue =   1.00
  23651. Width =   5.67
  23652. Value = 3
  23653. Name = "spnnumpages"
  23654. 6PROCEDURE UpClick
  23655. *Variables
  23656. pfnum = thisform.pgfrolodex.pagecount
  23657. spinval = thisform.spnnumpages.value
  23658. *Adds the amount of pages to the pageframe
  23659. IF pfnum < 9
  23660.     thisform.pgfrolodex.pagecount = spinval
  23661.     thisform.pgfrolodex.pagecount = pfnum
  23662. ENDIF
  23663. *Changes the caption on the Pages at runtime
  23664. FOR xxx = 1 to thisform.pgfrolodex.pagecount
  23665.     FirstLetter = substr(thisform.alphabet,((xxx - 1)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0))+1,1)
  23666.     IF xxx = thisform.pgfrolodex.pagecount    &&last page
  23667.         LastLetter = right(thisform.alphabet,1)
  23668.     ELSE
  23669.         LastLetter = substr(thisform.alphabet,((xxx)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0)),1)
  23670.     ENDIF
  23671.     objmacro = "THISFORM.pgfrolodex.page" + ALLTRIM(STR(xxx))
  23672.     &objmacro..caption = FirstLetter + "-" + LastLetter
  23673. *Updates the grid to have the proper data
  23674. dime myarray[1,2]
  23675. myarray(1,1)='No Results'
  23676. var1 = thisform.pgfrolodex.activepage
  23677. var2 = substr(thisform.pgfrolodex.pages(var1).caption,3,1)
  23678. var3 = substr(thisform.pgfrolodex.pages(var1).caption,1,1)
  23679. Select Company, phone from customer;
  23680.     where company <= var2 and company => var3;
  23681.     order by company;
  23682.     into array myarray
  23683. var4=alen(myarray,1)
  23684. thisform.list1.numberofelements=var4
  23685. ENDPROC
  23686. PROCEDURE InteractiveChange
  23687. pfnum = thisform.pgfrolodex.pagecount
  23688. spinval = thisform.spnnumpages.value
  23689. DO CASE
  23690.     CASE spinval > 1 or spinval < 9
  23691.         this.upclick
  23692.     CASE spinval < 1
  23693.         thisform.spnnumpages.value = 1
  23694.         this.upclick
  23695.     CASE spinval > 9
  23696.         thisform.spnnumpages.value = 9
  23697.         this.upclick
  23698. ENDCASE    
  23699. ENDPROC
  23700. PROCEDURE DownClick
  23701. *Variables
  23702. pfnum = thisform.pgfrolodex.pagecount
  23703. spinval = thisform.spnnumpages.value
  23704. *Adds the amount of pages to the pageframe
  23705. IF pfnum > 1
  23706.     thisform.pgfrolodex.pagecount = spinval
  23707.     thisform.pgfrolodex.pagecount = pfnum
  23708. ENDIF
  23709. *Changes the caption on the Pages at runtime
  23710. FOR xxx = 1 to thisform.pgfrolodex.pagecount
  23711.     FirstLetter = substr(thisform.alphabet,((xxx - 1)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0))+1,1)
  23712.     IF xxx = thisform.pgfrolodex.pagecount    &&last page
  23713.         LastLetter = right(thisform.alphabet,1)
  23714.     ELSE
  23715.         LastLetter = substr(thisform.alphabet,((xxx)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0)),1)
  23716.     ENDIF
  23717.     objmacro = "THISFORM.pgfrolodex.page" + ALLTRIM(STR(xxx))
  23718.     &objmacro..caption = FirstLetter + "-" + LastLetter
  23719. *Updates the grid to have the proper data
  23720. dime myarray[1,2]
  23721. myarray(1,1)='No Results'
  23722. var1 = thisform.pgfrolodex.activepage
  23723. var2 = substr(thisform.pgfrolodex.pages(var1).caption,3,1)
  23724. var3 = substr(thisform.pgfrolodex.pages(var1).caption,1,1)
  23725. Select Company, phone from customer;
  23726.     where company <= var2 and company => var3;
  23727.     order by company;
  23728.     into array myarray
  23729. var4=alen(myarray,1)
  23730. thisform.list1.numberofelements=var4
  23731. ENDPROC
  23732. THISFORM.pgfrolodex.pageCC
  23733. &objmacro..caption = FirstLetter + "-" + LastLetter
  23734. No Results
  23735. customer
  23736. PFNUM
  23737. THISFORM
  23738. PGFROLODEX    
  23739. PAGECOUNT
  23740. SPINVAL
  23741. SPNNUMPAGES
  23742. VALUE
  23743. FIRSTLETTER
  23744. ALPHABET
  23745. LASTLETTER
  23746. OBJMACRO
  23747. MYARRAY
  23748. ACTIVEPAGE
  23749. PAGES
  23750. CAPTION
  23751. COMPANY
  23752. PHONE
  23753. CUSTOMER
  23754. LIST1
  23755. NUMBEROFELEMENTS
  23756. PFNUM
  23757. THISFORM
  23758. PGFROLODEX    
  23759. PAGECOUNT
  23760. SPINVAL
  23761. SPNNUMPAGES
  23762. VALUE
  23763. UPCLICK
  23764. THISFORM.pgfrolodex.pageCC
  23765. &objmacro..caption = FirstLetter + "-" + LastLetter
  23766. No Results
  23767. customer
  23768. PFNUM
  23769. THISFORM
  23770. PGFROLODEX    
  23771. PAGECOUNT
  23772. SPINVAL
  23773. SPNNUMPAGES
  23774. VALUE
  23775. FIRSTLETTER
  23776. ALPHABET
  23777. LASTLETTER
  23778. OBJMACRO
  23779. MYARRAY
  23780. ACTIVEPAGE
  23781. PAGES
  23782. CAPTION
  23783. COMPANY
  23784. PHONE
  23785. CUSTOMER
  23786. LIST1
  23787. NUMBEROFELEMENTS
  23788. UpClick,
  23789. InteractiveChange
  23790. DownClick
  23791. j:\rodh\samples\controls\pgframe\
  23792. 00489694.tmp
  23793. j:\rodh\samples\controls\pgframe\00489694.tmp
  23794. listbox
  23795. listbox
  23796. List1
  23797. frmpgfsam1.
  23798. =Top =   4.25
  23799. Left =   4.17
  23800. FontName = "Courier New"
  23801. FontSize = 8
  23802. BoundColumn = 1
  23803. ColumnCount = 2
  23804. ColumnWidths = "40,40"
  23805. RowSourceType = 5
  23806. RowSource = "myarray"
  23807. Height =   7.50
  23808. ColumnLines = .T.
  23809. Sorted = .F.
  23810. Width =  86.17
  23811. SelectedItemForeColor = 0,0,0
  23812. SelectedItemBackColor = 0,128,128
  23813. Name = "List1"
  23814. commandbutton
  23815. commandbutton
  23816. cmdexit
  23817. frmpgfsam1.
  23818. oCaption = "OK"
  23819. Top =  13.50
  23820. Left =  35.67
  23821. Height =   2.25
  23822. Width =  18.50
  23823. Default = .F.
  23824. Name = "cmdexit"
  23825. ,PROCEDURE Click
  23826. RELEASE THISFORM
  23827. ENDPROC
  23828. THISFORM
  23829. Click,
  23830. j:\rodh\samples\controls\pgframe\
  23831. 00489694.tmp
  23832. j:\rodh\samples\controls\pgframe\00489694.tmp
  23833. HArial, 1, 10, 6, 16, 13, 14, 3, 0
  23834. Courier New, 1, 8, 7, 14, 11, 8, 3, 0
  23835. VERSION =  0.028
  23836. dataenvironment
  23837. dataenvironment
  23838. Datanavigation
  23839. ILeft = 24
  23840. Top = 49
  23841. Width = 632
  23842. Height = 358
  23843. Name = "Datanavigation"
  23844. cursor
  23845. cursor
  23846. Cursor1
  23847. Datanavigation
  23848. Left = 20
  23849. Top = 10
  23850. Width = 106
  23851. Height = 126
  23852. Alias = "customer"
  23853. Database = ..\..\data\testdata.dbc
  23854. CursorSource = "customer"
  23855. Name = "Cursor1"
  23856. frmpgfsam1
  23857. ScaleMode = 0
  23858. Top =   6.31
  23859. Left =   6.33
  23860. Height =  17.38
  23861. Width =  94.17
  23862. AutoCenter = .T.
  23863. BackColor = 192,192,192
  23864. Caption = "PageFrame Tab Sample"
  23865. DataSession = 2
  23866. alphabet = ABCDEFGHIJKLMNOPQRSTUVWXYZ
  23867. Name = "frmpgfsam1"
  23868. PROCEDURE Destroy
  23869. * If the sample was run from the main controls application,
  23870. * show main.
  23871. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23872.     main.show
  23873. ENDIF
  23874. ENDPROC
  23875. PROCEDURE Error
  23876. Parameters nError, cMethod, nLine
  23877. WAIT WINDOW "ERROR " + ALLTRIM(STR(nError))
  23878. ENDPROC
  23879. PROCEDURE Init
  23880. *Populate first screen of the listbox when you enter the sample
  23881. var1 = thisform.pgfrolodex.activepage
  23882. var2 = substr(thisform.pgfrolodex.pages(var1).caption,3,1)
  23883. var3 = substr(thisform.pgfrolodex.pages(var1).caption,1,1)
  23884. Select Company, phone from customer;
  23885.     where company <= var2 and company => var3;
  23886.     order by company;
  23887.     into array myarray
  23888. ENDPROC
  23889. PROCEDURE Load
  23890. Public array myarray[1,2]
  23891. ENDPROC
  23892. PROCEDURE Unload
  23893. * If this form is run from main.scx in controls.app,
  23894. * the hidden form object, main, is made visible when
  23895. * this form is unloaded
  23896. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  23897.     main.show
  23898. ENDIF
  23899. ENDPROC
  23900. mainb
  23901. SHOW*
  23902. ERROR CC
  23903. NERROR
  23904. CMETHOD
  23905. NLINE
  23906. customer
  23907. THISFORM
  23908. PGFROLODEX
  23909. ACTIVEPAGE
  23910. PAGES
  23911. CAPTION
  23912. COMPANY
  23913. PHONE
  23914. CUSTOMER
  23915. MYARRAY
  23916. MYARRAY4
  23917. mainb
  23918. Destroy,
  23919. Errorp
  23920. Unload
  23921. c:\vfp\samples\controls\pgframe\
  23922. 02182884.tmp
  23923. c:\vfp\samples\controls\pgframe\02182884.tmp
  23924. alphabet
  23925.     pageframe
  23926.     pageframe
  23927. pgfrolodex
  23928. frmpgfsam1
  23929. ErasePage = .T.
  23930. PageCount = 3
  23931. ActivePage = 1
  23932. Top =   0.50
  23933. Left =   2.17
  23934. Height =  12.00
  23935. Width =  90.17
  23936. Tabs = .T.
  23937. TabStretch = 1
  23938. Name = "pgfrolodex"
  23939. Page1.Caption = "A-H"
  23940. Page1.Name = "page1"
  23941. Page2.Caption = "I-P"
  23942. Page2.Name = "page2"
  23943. Page3.FontItalic = .F.
  23944. Page3.FontName = "MS Sans Serif"
  23945. Page3.FontOutline = .F.
  23946. Page3.FontShadow = .F.
  23947. Page3.FontStrikethru = .F.
  23948. Page3.FontUnderline = .F.
  23949. Page3.Caption = "Q-Z"
  23950. Page3.DragMode = 0
  23951. Page3.Enabled = .T.
  23952. Page3.PageOrder = 3
  23953. Page3.Name = "page3"
  23954. PROCEDURE Click
  23955. *Updates the grid to have the proper data
  23956. thisform.lockscreen=.t.
  23957. Dime myarray[1,2]
  23958. myarray[1,1]='No Results'
  23959. var1 = this.activepage
  23960. var2 = substr(this.pages(var1).caption,3,1)
  23961. var3 = substr(this.pages(var1).caption,1,1)
  23962. Select Company, phone from customer;
  23963.     where company <= var2 and company => var3;
  23964.     order by company;
  23965.     into array myarray
  23966. var4=alen(myarray,1)
  23967. thisform.list1.numberofelements=var4
  23968. thisform.lockscreen=.f.
  23969. ENDPROC
  23970. No Results
  23971. customer
  23972. THISFORM
  23973. LOCKSCREEN
  23974. MYARRAY
  23975. ACTIVEPAGE
  23976. PAGES
  23977. CAPTION
  23978. COMPANY
  23979. PHONE
  23980. CUSTOMER
  23981. LIST1
  23982. NUMBEROFELEMENTS
  23983. Click,
  23984. c:\vfp\samples\controls\pgframe\
  23985. 02182884.tmp
  23986. c:\vfp\samples\controls\pgframe\02182884.tmp
  23987. label
  23988. label
  23989. Lblnumpages
  23990. frmpgfsam1
  23991. Alignment = 2
  23992. BackColor = 192,192,192
  23993. Caption = "Number of pages"
  23994. Height =   1.25
  23995. Left =   3.67
  23996. Top =   2.63
  23997. Width =  19.00
  23998. Name = "Lblnumpages"
  23999. spinner
  24000. spinner
  24001. spnnumpages
  24002. frmpgfsam1
  24003. BackColor = 192,192,192
  24004. Enabled = .T.
  24005. Height =   1.69
  24006. KeyboardHighValue =   9.00
  24007. KeyboardLowValue =   1.00
  24008. Left =  23.17
  24009. SpinnerHighValue =   9.00
  24010. SpinnerLowValue =   1.00
  24011. Top =   2.44
  24012. Width =   5.67
  24013. Value = 3
  24014. Name = "spnnumpages"
  24015. 6PROCEDURE DownClick
  24016. *Variables
  24017. pfnum = thisform.pgfrolodex.pagecount
  24018. spinval = thisform.spnnumpages.value
  24019. *Adds the amount of pages to the pageframe
  24020. IF pfnum > 1
  24021.     thisform.pgfrolodex.pagecount = spinval
  24022.     thisform.pgfrolodex.pagecount = pfnum
  24023. ENDIF
  24024. *Changes the caption on the Pages at runtime
  24025. FOR xxx = 1 to thisform.pgfrolodex.pagecount
  24026.     FirstLetter = substr(thisform.alphabet,((xxx - 1)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0))+1,1)
  24027.     IF xxx = thisform.pgfrolodex.pagecount    &&last page
  24028.         LastLetter = right(thisform.alphabet,1)
  24029.     ELSE
  24030.         LastLetter = substr(thisform.alphabet,((xxx)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0)),1)
  24031.     ENDIF
  24032.     objmacro = "THISFORM.pgfrolodex.page" + ALLTRIM(STR(xxx))
  24033.     &objmacro..caption = FirstLetter + "-" + LastLetter
  24034. *Updates the grid to have the proper data
  24035. dime myarray[1,2]
  24036. myarray(1,1)='No Results'
  24037. var1 = thisform.pgfrolodex.activepage
  24038. var2 = substr(thisform.pgfrolodex.pages(var1).caption,3,1)
  24039. var3 = substr(thisform.pgfrolodex.pages(var1).caption,1,1)
  24040. Select Company, phone from customer;
  24041.     where company <= var2 and company => var3;
  24042.     order by company;
  24043.     into array myarray
  24044. var4=alen(myarray,1)
  24045. thisform.list1.numberofelements=var4
  24046. ENDPROC
  24047. PROCEDURE InteractiveChange
  24048. pfnum = thisform.pgfrolodex.pagecount
  24049. spinval = thisform.spnnumpages.value
  24050. DO CASE
  24051.     CASE spinval > 1 or spinval < 9
  24052.         this.upclick
  24053.     CASE spinval < 1
  24054.         thisform.spnnumpages.value = 1
  24055.         this.upclick
  24056.     CASE spinval > 9
  24057.         thisform.spnnumpages.value = 9
  24058.         this.upclick
  24059. ENDCASE    
  24060. ENDPROC
  24061. PROCEDURE UpClick
  24062. *Variables
  24063. pfnum = thisform.pgfrolodex.pagecount
  24064. spinval = thisform.spnnumpages.value
  24065. *Adds the amount of pages to the pageframe
  24066. IF pfnum < 9
  24067.     thisform.pgfrolodex.pagecount = spinval
  24068.     thisform.pgfrolodex.pagecount = pfnum
  24069. ENDIF
  24070. *Changes the caption on the Pages at runtime
  24071. FOR xxx = 1 to thisform.pgfrolodex.pagecount
  24072.     FirstLetter = substr(thisform.alphabet,((xxx - 1)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0))+1,1)
  24073.     IF xxx = thisform.pgfrolodex.pagecount    &&last page
  24074.         LastLetter = right(thisform.alphabet,1)
  24075.     ELSE
  24076.         LastLetter = substr(thisform.alphabet,((xxx)*ROUND(len(thisform.alphabet)/thisform.pgfrolodex.pagecount,0)),1)
  24077.     ENDIF
  24078.     objmacro = "THISFORM.pgfrolodex.page" + ALLTRIM(STR(xxx))
  24079.     &objmacro..caption = FirstLetter + "-" + LastLetter
  24080. *Updates the grid to have the proper data
  24081. dime myarray[1,2]
  24082. myarray(1,1)='No Results'
  24083. var1 = thisform.pgfrolodex.activepage
  24084. var2 = substr(thisform.pgfrolodex.pages(var1).caption,3,1)
  24085. var3 = substr(thisform.pgfrolodex.pages(var1).caption,1,1)
  24086. Select Company, phone from customer;
  24087.     where company <= var2 and company => var3;
  24088.     order by company;
  24089.     into array myarray
  24090. var4=alen(myarray,1)
  24091. thisform.list1.numberofelements=var4
  24092. ENDPROC
  24093. THISFORM.pgfrolodex.pageCC
  24094. &objmacro..caption = FirstLetter + "-" + LastLetter
  24095. No Results
  24096. customer
  24097. PFNUM
  24098. THISFORM
  24099. PGFROLODEX    
  24100. PAGECOUNT
  24101. SPINVAL
  24102. SPNNUMPAGES
  24103. VALUE
  24104. FIRSTLETTER
  24105. ALPHABET
  24106. LASTLETTER
  24107. OBJMACRO
  24108. MYARRAY
  24109. ACTIVEPAGE
  24110. PAGES
  24111. CAPTION
  24112. COMPANY
  24113. PHONE
  24114. CUSTOMER
  24115. LIST1
  24116. NUMBEROFELEMENTS
  24117. PFNUM
  24118. THISFORM
  24119. PGFROLODEX    
  24120. PAGECOUNT
  24121. SPINVAL
  24122. SPNNUMPAGES
  24123. VALUE
  24124. UPCLICK
  24125. THISFORM.pgfrolodex.pageCC
  24126. &objmacro..caption = FirstLetter + "-" + LastLetter
  24127. No Results
  24128. customer
  24129. PFNUM
  24130. THISFORM
  24131. PGFROLODEX    
  24132. PAGECOUNT
  24133. SPINVAL
  24134. SPNNUMPAGES
  24135. VALUE
  24136. FIRSTLETTER
  24137. ALPHABET
  24138. LASTLETTER
  24139. OBJMACRO
  24140. MYARRAY
  24141. ACTIVEPAGE
  24142. PAGES
  24143. CAPTION
  24144. COMPANY
  24145. PHONE
  24146. CUSTOMER
  24147. LIST1
  24148. NUMBEROFELEMENTS    
  24149. DownClick,
  24150. InteractiveChange
  24151. UpClick
  24152. c:\vfp\samples\controls\pgframe\
  24153. 02182884.tmp
  24154. c:\vfp\samples\controls\pgframe\02182884.tmp
  24155. listbox
  24156. listbox
  24157. List1
  24158. frmpgfsam1
  24159. =FontName = "Courier New"
  24160. FontSize = 8
  24161. BoundColumn = 1
  24162. ColumnCount = 2
  24163. ColumnWidths = "40,40"
  24164. RowSourceType = 5
  24165. RowSource = "myarray"
  24166. Height =   7.50
  24167. ColumnLines = .T.
  24168. Left =   4.17
  24169. Sorted = .F.
  24170. Top =   4.25
  24171. Width =  86.17
  24172. SelectedItemForeColor = 0,0,0
  24173. SelectedItemBackColor = 0,128,128
  24174. Name = "List1"
  24175. commandbutton
  24176. commandbutton
  24177. cmdexit
  24178. frmpgfsam1
  24179. oTop =  13.50
  24180. Left =  35.67
  24181. Height =   2.25
  24182. Width =  18.50
  24183. Caption = "OK"
  24184. Default = .F.
  24185. Name = "cmdexit"
  24186. ,PROCEDURE Click
  24187. RELEASE THISFORM
  24188. ENDPROC
  24189. THISFORM
  24190. Click,
  24191. c:\vfp\samples\controls\pgframe\
  24192. 02182884.tmp
  24193. c:\vfp\samples\controls\pgframe\02182884.tmp
  24194. HArial, 1, 10, 6, 16, 13, 14, 3, 0
  24195. Courier New, 1, 8, 7, 14, 11, 8, 3, 0
  24196. mainb
  24197. MYARRAY
  24198. customer
  24199. THISFORM
  24200. PGFROLODEX
  24201. ACTIVEPAGE
  24202. PAGES
  24203. CAPTION
  24204. COMPANY
  24205. PHONE
  24206. CUSTOMER
  24207. MYARRAY
  24208. LIST1
  24209. NUMBEROFELEMENTS*
  24210. ERROR CC
  24211. NERROR
  24212. CMETHOD
  24213. NLINE4
  24214. mainb
  24215. Unload,
  24216. Loadp
  24217. Error
  24218. Destroy 
  24219. c:\vfp\samples\controls\pgframe\
  24220. pfsam1.scx
  24221. c:\vfp\samples\controls\pgframe\pfsam1.scx
  24222. No Results
  24223. customer
  24224. THISFORM
  24225. LOCKSCREEN
  24226. MYARRAY
  24227. ACTIVEPAGE
  24228. PAGES
  24229. CAPTION
  24230. COMPANY
  24231. PHONE
  24232. CUSTOMER
  24233. LIST1
  24234. NUMBEROFELEMENTS
  24235. Click,
  24236. c:\vfp\samples\controls\pgframe\
  24237. pfsam1.scx
  24238. c:\vfp\samples\controls\pgframe\pfsam1.scx
  24239. THISFORM.pgfrolodex.pageCC
  24240. &objmacro..caption = FirstLetter + "-" + LastLetter
  24241. No Results
  24242. customer
  24243. PFNUM
  24244. THISFORM
  24245. PGFROLODEX    
  24246. PAGECOUNT
  24247. SPINVAL
  24248. SPNNUMPAGES
  24249. VALUE
  24250. FIRSTLETTER
  24251. ALPHABET
  24252. LASTLETTER
  24253. OBJMACRO
  24254. MYARRAY
  24255. ACTIVEPAGE
  24256. PAGES
  24257. CAPTION
  24258. COMPANY
  24259. PHONE
  24260. CUSTOMER
  24261. LIST1
  24262. NUMBEROFELEMENTS
  24263. PFNUM
  24264. THISFORM
  24265. PGFROLODEX    
  24266. PAGECOUNT
  24267. SPINVAL
  24268. SPNNUMPAGES
  24269. VALUE
  24270. UPCLICK
  24271. THISFORM.pgfrolodex.pageCC
  24272. &objmacro..caption = FirstLetter + "-" + LastLetter
  24273. No Results
  24274. customer
  24275. PFNUM
  24276. THISFORM
  24277. PGFROLODEX    
  24278. PAGECOUNT
  24279. SPINVAL
  24280. SPNNUMPAGES
  24281. VALUE
  24282. FIRSTLETTER
  24283. ALPHABET
  24284. LASTLETTER
  24285. OBJMACRO
  24286. MYARRAY
  24287. ACTIVEPAGE
  24288. PAGES
  24289. CAPTION
  24290. COMPANY
  24291. PHONE
  24292. CUSTOMER
  24293. LIST1
  24294. NUMBEROFELEMENTS
  24295. UpClick,
  24296. InteractiveChange
  24297. DownClick
  24298. c:\vfp\samples\controls\pgframe\
  24299. pfsam1.scx
  24300. c:\vfp\samples\controls\pgframe\pfsam1.scx
  24301. THISFORM
  24302. Click,
  24303. c:\vfp\samples\controls\pgframe\
  24304. pfsam1.scx
  24305. c:\vfp\samples\controls\pgframe\pfsam1.scx
  24306. PLATFORM
  24307. UNIQUEID
  24308. TIMESTAMP
  24309. CLASS
  24310. CLASSLOC
  24311. BASECLASS
  24312. OBJNAME
  24313. PARENT
  24314. PROPERTIES
  24315. PROTECTED
  24316. METHODS
  24317. OBJCODE
  24318. COMMENT
  24319. RESERVED1
  24320. RESERVED2
  24321. RESERVED3
  24322. RESERVED4
  24323. RESERVED5
  24324. RESERVED6
  24325. RESERVED7
  24326. RESERVED8
  24327. RESERVED9
  24328. RESERVED10
  24329.  COMMENT Class              0                                                                                                                                 8                                                                                                     WINDOWS _QVX0NDWUT 495802069         9                  10        11        12        13                  15       567                                                                                                                                             WINDOWS _QVX0NDX21 495802069        19                  20        21        22        23                  25       575                                                                                                                                             WINDOWS _QVX0NDX7L 495802069        29                  30        31        32        33                  35       583                                                                                                                                             WINDOWS _QVX0NDXEA 495802069        39                  40        41        42        43                  45       591                                                                                                                                             WINDOWS _QVX0O2A3I 495802803        49                  50        51        52        53                  55       599                                                                                                                                             WINDOWS _QVX0O2AGU 495802803        61                  62        63        64        65                  67       609                                                                                                                                             WINDOWS _QVX0O2AQL 495802804        73                  74        75        76        77                  79       619                                                                                                                                             WINDOWS _QVX0O2AWP 495802804        85                  86        87        88        89                  91       629                                                                                                                                            *WINDOWS _QVX0O4FI0 495802857        97                  98        99                 100                 102       639                                     107       108       109       110       111       112       113                                        *WINDOWS _QVX0O4ET8 495802857       114                 115       116       117       118                 120       647                                                                                                                                            *WINDOWS _QVX0O4F0H 495802857       126                 127       128       129       130                 132       657                                                                                                                                            *WINDOWS _QVX0O4F6B 495802857       138                 139       140       141       142                 144       667                                                                                                                                            *WINDOWS _QVX0O4FC5 495802857       150                 151       152       153       154                 156       677                                                                                                                                            *WINDOWS _QVX0R3IPK 495805649       162                 163       164                 165                 167       687                                     169       170                 171                 172                                                  *WINDOWS _QVX0R4IBZ 495805675       173                 174       175                 176                 178       692                                     179       180       181       182                 183       184                                        *WINDOWS _QVX0RA8RH 495805816       185                 186       187                 188                 190       697                                     192       193       194       195                 196       197                                        *WINDOWS _QW40M2714 496259634       347                 335       346                 337                 339       703                                     349       348                 350                 351                                                  *WINDOWS _QW40M3WJO 496259675       365                 353       371                 372                 357       708                                     367       366       363       369                 370       368                                        *WINDOWS _QW40XVD0O 496270854       380       375       376       379                 378                                                                   382       381                                                                                           WINDOWS _QW50W7MCK 496334902       494                 384       493                 386                 388       713                                     496       495       404       498       499       500       497                                         WINDOWS _QW50W7L6K 496334901       405                 406       407       408       409                 411       721                                                                                                                                             WINDOWS _QW50W7LH5 496334901       427                 428       429       430       431                 433       731                                                                                                                                             WINDOWS _QW50W7LQL 496334902       449                 450       451       452       453                 455       741                                                                                                                                             WINDOWS _QW50W7LZ7 496334902       471                 472       473       474       475                 477       751                                                                                                                                            *WINDOWS _QWQ0WZ4KL 506034916       507       502       503       506                 505                                                                   509       508                                     510                                                   WINDOWS _QWQ0X13MQ 506034964       517       512       513       516                 515                                                                   519       518                 521       522       523       520                                         WINDOWS _QWQ0X2656 506034991       539                 525       538                 527                 529       761                                     541       540       537       543       544       545       542                                         WINDOWS _QWQ0X3W5T 506035033       559                 547       558                 549                 551       767                                     561       560                 564       565       566       562                                        
  24330. VERSION =  0.028
  24331. commandbutton
  24332. commandbutton
  24333. cmdTop
  24334. MTop = 0
  24335. Left = 0
  24336. Height = 25
  24337. Width = 37
  24338. Caption = "|<"
  24339. Name = "cmdTop"
  24340. PROCEDURE Click
  24341. IF !EMPTY(This.Parent.SkipTable)
  24342.     SELECT (This.Parent.SkipTable)
  24343. ENDIF
  24344. GO TOP
  24345. THISFORM.Refresh
  24346. ENDPROC
  24347. PROCEDURE Error
  24348. Parameters nError, cMethod, nLine
  24349. This.Parent.Error(nError)
  24350. ENDPROC
  24351. commandbutton
  24352. commandbutton
  24353. cmdPrior
  24354. OTop = 0
  24355. Left = 48
  24356. Height = 25
  24357. Width = 37
  24358. Caption = "<"
  24359. Name = "cmdPrior"
  24360. PROCEDURE Click
  24361. IF !EMPTY(This.Parent.SkipTable)
  24362.     SELECT (This.Parent.SkipTable)
  24363. ENDIF
  24364. SKIP -1
  24365. IF BOF()
  24366.     GO TOP
  24367. ENDIF
  24368. THISFORM.Refresh
  24369. ENDPROC
  24370. PROCEDURE Error
  24371. Parameters nError, cMethod, nLine
  24372. This.Parent.Error(nError)
  24373. ENDPROC
  24374. commandbutton
  24375. commandbutton
  24376. cmdNext
  24377. NTop = 0
  24378. Left = 96
  24379. Height = 25
  24380. Width = 37
  24381. Caption = ">"
  24382. Name = "cmdNext"
  24383. PROCEDURE Click
  24384. IF !EMPTY(This.Parent.SkipTable)
  24385.     SELECT (This.Parent.SkipTable)
  24386. ENDIF
  24387. SKIP 1
  24388. IF EOF()
  24389.     GO BOTTOM
  24390. ENDIF
  24391. THISFORM.Refresh
  24392. ENDPROC
  24393. PROCEDURE Error
  24394. Parameters nError, cMethod, nLine
  24395. This.Parent.Error(nError)
  24396. ENDPROC
  24397. commandbutton
  24398. commandbutton
  24399.     cmdBottom
  24400. RTop = 0
  24401. Left = 144
  24402. Height = 25
  24403. Width = 37
  24404. Caption = ">|"
  24405. Name = "cmdBottom"
  24406. PROCEDURE Click
  24407. IF !EMPTY(This.Parent.SkipTable)
  24408.     SELECT (This.Parent.SkipTable)
  24409. ENDIF
  24410. GO BOTTOM
  24411. THISFORM.Refresh
  24412. ENDPROC
  24413. PROCEDURE Error
  24414. Parameters nError, cMethod, nLine
  24415. This.Parent.Error(nError)
  24416. ENDPROC
  24417. commandbutton
  24418. commandbutton
  24419. cmdTop
  24420. MTop = 0
  24421. Left = 0
  24422. Height = 25
  24423. Width = 37
  24424. Caption = "|<"
  24425. Name = "cmdTop"
  24426. VPROCEDURE Click
  24427. IF !EMPTY(This.Parent.SkipTable)
  24428.     SELECT (This.Parent.SkipTable)
  24429. ENDIF
  24430. GO TOP
  24431. This.Enabled = .F.
  24432. This.Parent.cmdPrior.Enabled = .F.
  24433. This.Parent.cmdBottom.Enabled = .T.
  24434. This.Parent.cmdNext.Enabled = .T.
  24435. THISFORM.Refresh
  24436. ENDPROC
  24437. PROCEDURE Error
  24438. Parameters nError, cMethod, nLine
  24439. This.Parent.Error(nError)
  24440. ENDPROC
  24441. commandbutton
  24442. commandbutton
  24443. cmdPrior
  24444. OTop = 0
  24445. Left = 48
  24446. Height = 25
  24447. Width = 37
  24448. Caption = "<"
  24449. Name = "cmdPrior"
  24450. ePROCEDURE Click
  24451. IF !EMPTY(This.Parent.SkipTable)
  24452.     SELECT (This.Parent.SkipTable)
  24453. ENDIF
  24454. SKIP -1
  24455. IF BOF()
  24456.     GO TOP
  24457.     This.Enabled = .F.
  24458.     This.Parent.cmdTop.Enabled = .F.
  24459.     This.Parent.SETALL("Enabled", .T., "Commandbutton")
  24460. ENDIF
  24461. THISFORM.Refresh
  24462. ENDPROC
  24463. PROCEDURE Error
  24464. Parameters nError, cMethod, nLine
  24465. This.Parent.Error(nError)
  24466. ENDPROC
  24467. commandbutton
  24468. commandbutton
  24469. cmdNext
  24470. NTop = 0
  24471. Left = 96
  24472. Height = 25
  24473. Width = 37
  24474. Caption = ">"
  24475. Name = "cmdNext"
  24476. jPROCEDURE Click
  24477. IF !EMPTY(This.Parent.SkipTable)
  24478.     SELECT (This.Parent.SkipTable)
  24479. ENDIF
  24480. SKIP 1
  24481. IF EOF()
  24482.     GO BOTTOM
  24483.     This.Enabled = .F.
  24484.     This.Parent.cmdBottom.Enabled = .F.
  24485.     This.Parent.SETALL("Enabled", .T., "Commandbutton")
  24486. ENDIF
  24487. THISFORM.Refresh
  24488. ENDPROC
  24489. PROCEDURE Error
  24490. Parameters nError, cMethod, nLine
  24491. This.Parent.Error(nError)
  24492. ENDPROC
  24493. commandbutton
  24494. commandbutton
  24495.     cmdBottom
  24496. RTop = 0
  24497. Left = 144
  24498. Height = 25
  24499. Width = 37
  24500. Caption = ">|"
  24501. Name = "cmdBottom"
  24502. VPROCEDURE Click
  24503. IF !EMPTY(This.Parent.SkipTable)
  24504.     SELECT (This.Parent.SkipTable)
  24505. ENDIF
  24506. GO BOTTOM
  24507. This.Enabled = .F.
  24508. This.Parent.cmdNext.Enabled = .F.
  24509. This.Parent.cmdTop.Enabled = .T.
  24510. This.Parent.cmdPrior.Enabled = .T.
  24511. THISFORM.Refresh
  24512. ENDPROC
  24513. PROCEDURE Error
  24514. Parameters nError, cMethod, nLine
  24515. This.Parent.Error(nError)
  24516. ENDPROC
  24517.     container
  24518.     container
  24519. NWidth = 181
  24520. Height = 25
  24521. BackColor = 192,192,192
  24522. skiptable =
  24523. Name = "vcr"
  24524. )PROCEDURE Error
  24525. Parameters nError, cMethod, nLine
  24526. DO CASE
  24527.     CASE nError = 13 && Alias not found
  24528.         cNewTable = GETFILE('DBF', 'Select Table:', 'Open')
  24529.         IF FILE(cNewTable)
  24530.             SELECT 0
  24531.             USE (cNewTable)
  24532.             This.SkipTable = ALIAS()
  24533.         ELSE
  24534.             This.SkipTable = ""
  24535.         ENDIF
  24536. ENDCASE
  24537. ENDPROC
  24538. Class
  24539. skiptable
  24540. next.bmp
  24541. keithka\bottom.bmp
  24542. Pixels
  24543. generic vcr buttons
  24544. commandbutton
  24545. commandbutton
  24546. cmdTop
  24547. MTop = 0
  24548. Left = 0
  24549. Height = 25
  24550. Width = 37
  24551. Caption = "|<"
  24552. Name = "cmdTop"
  24553. VPROCEDURE Click
  24554. IF !EMPTY(This.Parent.SkipTable)
  24555.     SELECT (This.Parent.SkipTable)
  24556. ENDIF
  24557. GO TOP
  24558. This.Enabled = .F.
  24559. This.Parent.cmdPrior.Enabled = .F.
  24560. This.Parent.cmdBottom.Enabled = .T.
  24561. This.Parent.cmdNext.Enabled = .T.
  24562. THISFORM.Refresh
  24563. ENDPROC
  24564. PROCEDURE Error
  24565. Parameters nError, cMethod, nLine
  24566. This.Parent.Error(nError)
  24567. ENDPROC
  24568. commandbutton
  24569. commandbutton
  24570. cmdPrior
  24571. OTop = 0
  24572. Left = 48
  24573. Height = 25
  24574. Width = 37
  24575. Caption = "<"
  24576. Name = "cmdPrior"
  24577. ePROCEDURE Click
  24578. IF !EMPTY(This.Parent.SkipTable)
  24579.     SELECT (This.Parent.SkipTable)
  24580. ENDIF
  24581. SKIP -1
  24582. IF BOF()
  24583.     GO TOP
  24584.     This.Enabled = .F.
  24585.     This.Parent.cmdTop.Enabled = .F.
  24586.     This.Parent.SETALL("Enabled", .T., "Commandbutton")
  24587. ENDIF
  24588. THISFORM.Refresh
  24589. ENDPROC
  24590. PROCEDURE Error
  24591. Parameters nError, cMethod, nLine
  24592. This.Parent.Error(nError)
  24593. ENDPROC
  24594. commandbutton
  24595. commandbutton
  24596. cmdNext
  24597. NTop = 0
  24598. Left = 96
  24599. Height = 25
  24600. Width = 37
  24601. Caption = ">"
  24602. Name = "cmdNext"
  24603. jPROCEDURE Click
  24604. IF !EMPTY(This.Parent.SkipTable)
  24605.     SELECT (This.Parent.SkipTable)
  24606. ENDIF
  24607. SKIP 1
  24608. IF EOF()
  24609.     GO BOTTOM
  24610.     This.Enabled = .F.
  24611.     This.Parent.cmdBottom.Enabled = .F.
  24612.     This.Parent.SETALL("Enabled", .T., "Commandbutton")
  24613. ENDIF
  24614. THISFORM.Refresh
  24615. ENDPROC
  24616. PROCEDURE Error
  24617. Parameters nError, cMethod, nLine
  24618. This.Parent.Error(nError)
  24619. ENDPROC
  24620. commandbutton
  24621. commandbutton
  24622.     cmdBottom
  24623. RTop = 0
  24624. Left = 144
  24625. Height = 25
  24626. Width = 37
  24627. Caption = ">|"
  24628. Name = "cmdBottom"
  24629. VPROCEDURE Click
  24630. IF !EMPTY(This.Parent.SkipTable)
  24631.     SELECT (This.Parent.SkipTable)
  24632. ENDIF
  24633. GO BOTTOM
  24634. This.Enabled = .F.
  24635. This.Parent.cmdNext.Enabled = .F.
  24636. This.Parent.cmdTop.Enabled = .T.
  24637. This.Parent.cmdPrior.Enabled = .T.
  24638. THISFORM.Refresh
  24639. ENDPROC
  24640. PROCEDURE Error
  24641. Parameters nError, cMethod, nLine
  24642. This.Parent.Error(nError)
  24643. ENDPROC
  24644. commandbutton
  24645. commandbutton
  24646. cmdhelp
  24647. SHeight = 23
  24648. Width = 84
  24649. Caption = "\<Help"
  24650. HelpContextID = 15
  24651. Name = "cmdhelp"
  24652. :PROCEDURE Click
  24653. HELP ID This.HelpContextID
  24654. ENDPROC
  24655. Class
  24656. help.bmp
  24657. Pixels
  24658. commandbutton
  24659. commandbutton
  24660. cmdquit
  24661. =Height = 30
  24662. Width = 94
  24663. Caption = "Quit"
  24664. Name = "cmdquit"
  24665. .PROCEDURE Click
  24666. RELEASE THISFORM
  24667. ENDPROC
  24668. Class
  24669.     formset
  24670. cancel.bmp
  24671. Pixels
  24672. RELEASE THISFORM
  24673. commandbutton
  24674. commandbutton
  24675. cmdok
  24676. HHeight = 30
  24677. Width = 94
  24678. Caption = "OK"
  24679. Default = .F.
  24680. Name = "cmdok"
  24681. tPROCEDURE Click
  24682. IF TYPE("THISFORM.PARENT") = 'O'
  24683.     RELEASE THISFORMSET
  24684.     RELEASE THISFORM
  24685. ENDIF
  24686. ENDPROC
  24687. Class
  24688.     formset
  24689. ok.bmp
  24690. Pixels
  24691.  RELEASE THISFORM, default button
  24692. PARENT    
  24693. SKIPTABLE
  24694. THISFORM
  24695. REFRESH&
  24696. NERROR
  24697. CMETHOD
  24698. NLINE
  24699. PARENT
  24700. ERROR
  24701. Click,
  24702. Error
  24703. c:\vfp\samples\controls\
  24704. buttons.vcx
  24705. c:\vfp\samples\controls\buttons.vcx
  24706. PARENT    
  24707. SKIPTABLE
  24708. THISFORM
  24709. REFRESH&
  24710. NERROR
  24711. CMETHOD
  24712. NLINE
  24713. PARENT
  24714. ERROR
  24715. Click,
  24716. Error
  24717. c:\vfp\samples\controls\
  24718. buttons.vcx
  24719. c:\vfp\samples\controls\buttons.vcx
  24720. PARENT    
  24721. SKIPTABLE
  24722. THISFORM
  24723. REFRESH&
  24724. NERROR
  24725. CMETHOD
  24726. NLINE
  24727. PARENT
  24728. ERROR
  24729. Click,
  24730. Error
  24731. c:\vfp\samples\controls\
  24732. buttons.vcx
  24733. c:\vfp\samples\controls\buttons.vcx
  24734. PARENT    
  24735. SKIPTABLE
  24736. THISFORM
  24737. REFRESH&
  24738. NERROR
  24739. CMETHOD
  24740. NLINE
  24741. PARENT
  24742. ERROR
  24743. Click,
  24744. Error
  24745. c:\vfp\samples\controls\
  24746. buttons.vcx
  24747. c:\vfp\samples\controls\buttons.vcx
  24748. PARENT    
  24749. SKIPTABLE
  24750. ENABLED
  24751. CMDPRIOR    
  24752. CMDBOTTOM
  24753. CMDNEXT
  24754. THISFORM
  24755. REFRESH&
  24756. NERROR
  24757. CMETHOD
  24758. NLINE
  24759. PARENT
  24760. ERROR
  24761. Click,
  24762. Error    
  24763. c:\vfp\samples\controls\
  24764. buttons.vcx
  24765. c:\vfp\samples\controls\buttons.vcx
  24766. Enableda
  24767. Commandbutton
  24768. PARENT    
  24769. SKIPTABLE
  24770. ENABLED
  24771. CMDTOP
  24772. SETALL
  24773. THISFORM
  24774. REFRESH&
  24775. NERROR
  24776. CMETHOD
  24777. NLINE
  24778. PARENT
  24779. ERROR
  24780. Click,
  24781. Error 
  24782. c:\vfp\samples\controls\
  24783. buttons.vcx
  24784. c:\vfp\samples\controls\buttons.vcx
  24785. Enableda
  24786. Commandbutton
  24787. PARENT    
  24788. SKIPTABLE
  24789. ENABLED    
  24790. CMDBOTTOM
  24791. SETALL
  24792. THISFORM
  24793. REFRESH&
  24794. NERROR
  24795. CMETHOD
  24796. NLINE
  24797. PARENT
  24798. ERROR
  24799. Click,
  24800. Error"
  24801. c:\vfp\samples\controls\
  24802. buttons.vcx
  24803. c:\vfp\samples\controls\buttons.vcx
  24804. PARENT    
  24805. SKIPTABLE
  24806. ENABLED
  24807. CMDNEXT
  24808. CMDTOP
  24809. CMDPRIOR
  24810. THISFORM
  24811. REFRESH&
  24812. NERROR
  24813. CMETHOD
  24814. NLINE
  24815. PARENT
  24816. ERROR
  24817. Click,
  24818. Error
  24819. c:\vfp\samples\controls\
  24820. buttons.vcx
  24821. c:\vfp\samples\controls\buttons.vcx
  24822. Select Table:
  24823. NERROR
  24824. CMETHOD
  24825. NLINE    
  24826. CNEWTABLE
  24827. THIS    
  24828. SKIPTABLE
  24829. Error,
  24830. c:\vfp\samples\controls\
  24831. buttons.vcx
  24832. c:\vfp\samples\controls\buttons.vcx
  24833. PARENT    
  24834. SKIPTABLE
  24835. ENABLED
  24836. CMDPRIOR    
  24837. CMDBOTTOM
  24838. CMDNEXT
  24839. THISFORM
  24840. REFRESH&
  24841. NERROR
  24842. CMETHOD
  24843. NLINE
  24844. PARENT
  24845. ERROR
  24846. Click,
  24847. Error    
  24848. c:\vfp\samples\controls\
  24849. buttons.vcx
  24850. c:\vfp\samples\controls\buttons.vcx
  24851. Enableda
  24852. Commandbutton
  24853. PARENT    
  24854. SKIPTABLE
  24855. ENABLED
  24856. CMDTOP
  24857. SETALL
  24858. THISFORM
  24859. REFRESH&
  24860. NERROR
  24861. CMETHOD
  24862. NLINE
  24863. PARENT
  24864. ERROR
  24865. Click,
  24866. Error 
  24867. c:\vfp\samples\controls\
  24868. buttons.vcx
  24869. c:\vfp\samples\controls\buttons.vcx
  24870. Enableda
  24871. Commandbutton
  24872. PARENT    
  24873. SKIPTABLE
  24874. ENABLED    
  24875. CMDBOTTOM
  24876. SETALL
  24877. THISFORM
  24878. REFRESH&
  24879. NERROR
  24880. CMETHOD
  24881. NLINE
  24882. PARENT
  24883. ERROR
  24884. Click,
  24885. Error"
  24886. c:\vfp\samples\controls\
  24887. buttons.vcx
  24888. c:\vfp\samples\controls\buttons.vcx
  24889. PARENT    
  24890. SKIPTABLE
  24891. ENABLED
  24892. CMDNEXT
  24893. CMDTOP
  24894. CMDPRIOR
  24895. THISFORM
  24896. REFRESH&
  24897. NERROR
  24898. CMETHOD
  24899. NLINE
  24900. PARENT
  24901. ERROR
  24902. Click,
  24903. Error
  24904. c:\vfp\samples\controls\
  24905. buttons.vcx
  24906. c:\vfp\samples\controls\buttons.vcx
  24907. HELPCONTEXTID
  24908. Click,
  24909. c:\vfp\samples\controls\
  24910. buttons.vcx
  24911. c:\vfp\samples\controls\buttons.vcx
  24912. THISFORM
  24913. Click,
  24914. c:\vfp\samples\controls\
  24915. buttons.vcx
  24916. c:\vfp\samples\controls\buttons.vcx
  24917. THISFORM.PARENTb
  24918. THISFORMSET
  24919. THISFORM
  24920. Click,
  24921. c:\vfp\samples\controls\
  24922. buttons.vcx
  24923. c:\vfp\samples\controls\buttons.vcx
  24924. commandbutton
  24925. commandbutton
  24926. cmdhelp
  24927. SHeight = 30
  24928. Width = 94
  24929. Caption = "\<Help"
  24930. HelpContextID = 15
  24931. Name = "cmdhelp"
  24932. :PROCEDURE Click
  24933. HELP ID This.HelpContextID
  24934. ENDPROC
  24935. HELPCONTEXTID
  24936. Click,
  24937. c:\vfp\samples\controls\
  24938. buttons.vcx
  24939. c:\vfp\samples\controls\buttons.vcx
  24940. cmdhelp
  24941. commandbutton
  24942. Class
  24943. help.bmp
  24944. Pixels
  24945. commandbutton
  24946. commandbutton
  24947. cmdquit
  24948. ?Height = 30
  24949. Width = 94
  24950. Caption = "Cancel"
  24951. Name = "cmdquit"
  24952. .PROCEDURE Click
  24953. RELEASE THISFORM
  24954. ENDPROC
  24955. THISFORM
  24956. Click,
  24957. c:\vfp\samples\controls\
  24958. buttons.vcx
  24959. c:\vfp\samples\controls\buttons.vcx
  24960.     formset
  24961. cmdquit
  24962. commandbutton
  24963. Class
  24964. RELEASE THISFORM
  24965. cancel.bmp
  24966. Pixels
  24967.     cmdCancel
  24968. AHeight = 30
  24969. Width = 94
  24970. Caption = "Cancel"
  24971. Name = "cmdCancel"
  24972. shaper
  24973. events\samples.vcx
  24974.     container
  24975. shaper
  24976. Name = "shaper"
  24977. shaper
  24978. shaper
  24979. Class
  24980.     container
  24981.     container
  24982. Oskiptable = 
  24983. Width = 181
  24984. Height = 25
  24985. BackColor = 192,192,192
  24986. Name = "vcr"
  24987. PROCEDURE Error
  24988. Parameters nError, cMethod, nLine
  24989. * If the user tries to move the record pointer when no
  24990. * table is open or when an invalid SkipTable property has bee
  24991. * specified, prompt the user for a table to open.
  24992. DO CASE
  24993.     CASE nError = 13 && Alias not found
  24994.         cNewTable = GETFILE('DBF', 'Select Table:', 'Open')
  24995.         IF FILE(cNewTable)
  24996.             SELECT 0
  24997.             USE (cNewTable)
  24998.             This.SkipTable = ALIAS()
  24999.         ELSE
  25000.             This.SkipTable = ""
  25001.         ENDIF
  25002. ENDCASE
  25003. ENDPROC
  25004. Select Table:
  25005. NERROR
  25006. CMETHOD
  25007. NLINE    
  25008. CNEWTABLE
  25009. THIS    
  25010. SKIPTABLE
  25011. Error,
  25012. c:\vfp\samples\controls\
  25013. buttons.vcx
  25014. c:\vfp\samples\controls\buttons.vcx
  25015. 5skiptable The table to move the record pointer in .
  25016. commandbutton
  25017. commandbutton
  25018. cmdTop
  25019. MCaption = "|<"
  25020. Top = 0
  25021. Left = 0
  25022. Height = 25
  25023. Width = 37
  25024. Name = "cmdTop"
  25025. VPROCEDURE Error
  25026. Parameters nError, cMethod, nLine
  25027. This.Parent.Error(nError)
  25028. ENDPROC
  25029. PROCEDURE Click
  25030. IF !EMPTY(This.Parent.SkipTable)
  25031.     SELECT (This.Parent.SkipTable)
  25032. ENDIF
  25033. GO TOP
  25034. This.Enabled = .F.
  25035. This.Parent.cmdPrior.Enabled = .F.
  25036. This.Parent.cmdBottom.Enabled = .T.
  25037. This.Parent.cmdNext.Enabled = .T.
  25038. THISFORM.Refresh
  25039. ENDPROC
  25040. NERROR
  25041. CMETHOD
  25042. NLINE
  25043. PARENT
  25044. ERROR
  25045. PARENT    
  25046. SKIPTABLE
  25047. ENABLED
  25048. CMDPRIOR    
  25049. CMDBOTTOM
  25050. CMDNEXT
  25051. THISFORM
  25052. REFRESH
  25053. Error,
  25054. Click
  25055. c:\vfp\samples\controls\
  25056. buttons.vcx
  25057. c:\vfp\samples\controls\buttons.vcx
  25058. commandbutton
  25059. commandbutton
  25060. cmdPrior
  25061. OCaption = "<"
  25062. Top = 0
  25063. Left = 48
  25064. Height = 25
  25065. Width = 37
  25066. Name = "cmdPrior"
  25067. ePROCEDURE Error
  25068. Parameters nError, cMethod, nLine
  25069. This.Parent.Error(nError)
  25070. ENDPROC
  25071. PROCEDURE Click
  25072. IF !EMPTY(This.Parent.SkipTable)
  25073.     SELECT (This.Parent.SkipTable)
  25074. ENDIF
  25075. SKIP -1
  25076. IF BOF()
  25077.     GO TOP
  25078.     This.Enabled = .F.
  25079.     This.Parent.cmdTop.Enabled = .F.
  25080.     This.Parent.SETALL("Enabled", .T., "Commandbutton")
  25081. ENDIF
  25082. THISFORM.Refresh
  25083. ENDPROC
  25084. NERROR
  25085. CMETHOD
  25086. NLINE
  25087. PARENT
  25088. ERROR
  25089. Enableda
  25090. Commandbutton
  25091. PARENT    
  25092. SKIPTABLE
  25093. ENABLED
  25094. CMDTOP
  25095. SETALL
  25096. THISFORM
  25097. REFRESH
  25098. Error,
  25099. Click
  25100. c:\vfp\samples\controls\
  25101. buttons.vcx
  25102. c:\vfp\samples\controls\buttons.vcx
  25103. commandbutton
  25104. commandbutton
  25105. cmdNext
  25106. NCaption = ">"
  25107. Top = 0
  25108. Left = 96
  25109. Height = 25
  25110. Width = 37
  25111. Name = "cmdNext"
  25112. jPROCEDURE Error
  25113. Parameters nError, cMethod, nLine
  25114. This.Parent.Error(nError)
  25115. ENDPROC
  25116. PROCEDURE Click
  25117. IF !EMPTY(This.Parent.SkipTable)
  25118.     SELECT (This.Parent.SkipTable)
  25119. ENDIF
  25120. SKIP 1
  25121. IF EOF()
  25122.     GO BOTTOM
  25123.     This.Enabled = .F.
  25124.     This.Parent.cmdBottom.Enabled = .F.
  25125.     This.Parent.SETALL("Enabled", .T., "Commandbutton")
  25126. ENDIF
  25127. THISFORM.Refresh
  25128. ENDPROC
  25129. NERROR
  25130. CMETHOD
  25131. NLINE
  25132. PARENT
  25133. ERROR
  25134. Enableda
  25135. Commandbutton
  25136. PARENT    
  25137. SKIPTABLE
  25138. ENABLED    
  25139. CMDBOTTOM
  25140. SETALL
  25141. THISFORM
  25142. REFRESH
  25143. Error,
  25144. Click
  25145. c:\vfp\samples\controls\
  25146. buttons.vcx
  25147. c:\vfp\samples\controls\buttons.vcx
  25148. commandbutton
  25149. commandbutton
  25150.     cmdBottom
  25151. RCaption = ">|"
  25152. Top = 0
  25153. Left = 144
  25154. Height = 25
  25155. Width = 37
  25156. Name = "cmdBottom"
  25157. VPROCEDURE Error
  25158. Parameters nError, cMethod, nLine
  25159. This.Parent.Error(nError)
  25160. ENDPROC
  25161. PROCEDURE Click
  25162. IF !EMPTY(This.Parent.SkipTable)
  25163.     SELECT (This.Parent.SkipTable)
  25164. ENDIF
  25165. GO BOTTOM
  25166. This.Enabled = .F.
  25167. This.Parent.cmdNext.Enabled = .F.
  25168. This.Parent.cmdTop.Enabled = .T.
  25169. This.Parent.cmdPrior.Enabled = .T.
  25170. THISFORM.Refresh
  25171. ENDPROC
  25172. NERROR
  25173. CMETHOD
  25174. NLINE
  25175. PARENT
  25176. ERROR
  25177. PARENT    
  25178. SKIPTABLE
  25179. ENABLED
  25180. CMDNEXT
  25181. CMDTOP
  25182. CMDPRIOR
  25183. THISFORM
  25184. REFRESH
  25185. Error,
  25186. Click
  25187. c:\vfp\samples\controls\
  25188. buttons.vcx
  25189. c:\vfp\samples\controls\buttons.vcx
  25190.     container
  25191. Class
  25192. generic vcr buttons
  25193. next.bmp
  25194. keithka\bottom.bmp
  25195. Pixels
  25196. cmdok
  25197. buttons.vcx
  25198. commandbutton
  25199.     cmdcancel
  25200. Name = "cmdcancel"
  25201.     cmdcancel
  25202. cmdok
  25203. Class
  25204. Pixels
  25205. cmdok
  25206. buttons.vcx
  25207. commandbutton
  25208.     cmdCancel
  25209. (Caption = "Cancel"
  25210. Name = "cmdCancel"
  25211.     cmdCancel
  25212. cmdok
  25213. Class
  25214. Release Form or Form Set
  25215. cancel.bmp
  25216. cancel.bmp
  25217. Pixels
  25218. commandbutton
  25219. commandbutton
  25220. cmdOk
  25221. HCaption = "OK"
  25222. Height = 30
  25223. Width = 94
  25224. Default = .F.
  25225. Name = "cmdOk"
  25226. tPROCEDURE Click
  25227. IF TYPE("THISFORM.PARENT") = 'O'
  25228.     RELEASE THISFORMSET
  25229.     RELEASE THISFORM
  25230. ENDIF
  25231. ENDPROC
  25232. THISFORM.PARENTb
  25233. THISFORMSET
  25234. THISFORM
  25235. Click,
  25236. c:\vfp\samples\controls\
  25237. buttons.vcx
  25238. c:\vfp\samples\controls\buttons.vcx
  25239.     formset
  25240. cmdOk
  25241. commandbutton
  25242. Class
  25243.  RELEASE THISFORM, default button
  25244. ok.bmp
  25245. ok.bmp
  25246. Pixels
  25247. commandbutton
  25248. commandbutton
  25249. cmdHelp
  25250. SCaption = "\<Help"
  25251. Height = 30
  25252. Width = 94
  25253. HelpContextID = 15
  25254. Name = "cmdHelp"
  25255. :PROCEDURE Click
  25256. HELP ID This.HelpContextID
  25257. ENDPROC
  25258. HELPCONTEXTID
  25259. Click,
  25260. c:\vfp\samples\controls\
  25261. buttons.vcx
  25262. c:\vfp\samples\controls\buttons.vcx
  25263. cmdHelp
  25264. commandbutton
  25265. Class
  25266. GBrings up the help file, searching for the HelpContextID of the control
  25267. help.bmp
  25268. help.bmp
  25269. Pixels
  25270. PARENT    
  25271. SKIPTABLE
  25272. THISFORM
  25273. REFRESH&
  25274. NERROR
  25275. CMETHOD
  25276. NLINE
  25277. PARENT
  25278. ERROR
  25279. Click,
  25280. Error
  25281. c:\vfp\samples\controls\
  25282. buttons.vcx
  25283. c:\vfp\samples\controls\buttons.vcx
  25284. PARENT    
  25285. SKIPTABLE
  25286. THISFORM
  25287. REFRESH&
  25288. NERROR
  25289. CMETHOD
  25290. NLINE
  25291. PARENT
  25292. ERROR
  25293. Click,
  25294. Error
  25295. c:\vfp\samples\controls\
  25296. buttons.vcx
  25297. c:\vfp\samples\controls\buttons.vcx
  25298. PARENT    
  25299. SKIPTABLE
  25300. THISFORM
  25301. REFRESH&
  25302. NERROR
  25303. CMETHOD
  25304. NLINE
  25305. PARENT
  25306. ERROR
  25307. Click,
  25308. Error
  25309. c:\vfp\samples\controls\
  25310. buttons.vcx
  25311. c:\vfp\samples\controls\buttons.vcx
  25312. PARENT    
  25313. SKIPTABLE
  25314. THISFORM
  25315. REFRESH&
  25316. NERROR
  25317. CMETHOD
  25318. NLINE
  25319. PARENT
  25320. ERROR
  25321. Click,
  25322. Error
  25323. c:\vfp\samples\controls\
  25324. buttons.vcx
  25325. c:\vfp\samples\controls\buttons.vcx
  25326. PARENT    
  25327. SKIPTABLE
  25328. ENABLED
  25329. CMDPRIOR    
  25330. CMDBOTTOM
  25331. CMDNEXT
  25332. THISFORM
  25333. REFRESH&
  25334. NERROR
  25335. CMETHOD
  25336. NLINE
  25337. PARENT
  25338. ERROR
  25339. Click,
  25340. Error    
  25341. c:\vfp\samples\controls\
  25342. buttons.vcx
  25343. c:\vfp\samples\controls\buttons.vcx
  25344. Enableda
  25345. Commandbutton
  25346. PARENT    
  25347. SKIPTABLE
  25348. ENABLED
  25349. CMDTOP
  25350. SETALL
  25351. THISFORM
  25352. REFRESH&
  25353. NERROR
  25354. CMETHOD
  25355. NLINE
  25356. PARENT
  25357. ERROR
  25358. Click,
  25359. Error 
  25360. c:\vfp\samples\controls\
  25361. buttons.vcx
  25362. c:\vfp\samples\controls\buttons.vcx
  25363. Enableda
  25364. Commandbutton
  25365. PARENT    
  25366. SKIPTABLE
  25367. ENABLED    
  25368. CMDBOTTOM
  25369. SETALL
  25370. THISFORM
  25371. REFRESH&
  25372. NERROR
  25373. CMETHOD
  25374. NLINE
  25375. PARENT
  25376. ERROR
  25377. Click,
  25378. Error"
  25379. c:\vfp\samples\controls\
  25380. buttons.vcx
  25381. c:\vfp\samples\controls\buttons.vcx
  25382. PARENT    
  25383. SKIPTABLE
  25384. ENABLED
  25385. CMDNEXT
  25386. CMDTOP
  25387. CMDPRIOR
  25388. THISFORM
  25389. REFRESH&
  25390. NERROR
  25391. CMETHOD
  25392. NLINE
  25393. PARENT
  25394. ERROR
  25395. Click,
  25396. Error
  25397. c:\vfp\samples\controls\
  25398. buttons.vcx
  25399. c:\vfp\samples\controls\buttons.vcx
  25400. Select Table:
  25401. NERROR
  25402. CMETHOD
  25403. NLINE    
  25404. CNEWTABLE
  25405. THIS    
  25406. SKIPTABLE
  25407. Error,
  25408. c:\vfp\samples\controls\
  25409. buttons.vcx
  25410. c:\vfp\samples\controls\buttons.vcx
  25411. PARENT    
  25412. SKIPTABLE
  25413. ENABLED
  25414. CMDPRIOR    
  25415. CMDBOTTOM
  25416. CMDNEXT
  25417. THISFORM
  25418. REFRESH&
  25419. NERROR
  25420. CMETHOD
  25421. NLINE
  25422. PARENT
  25423. ERROR
  25424. Click,
  25425. Error    
  25426. c:\vfp\samples\controls\
  25427. buttons.vcx
  25428. c:\vfp\samples\controls\buttons.vcx
  25429. Enableda
  25430. Commandbutton
  25431. PARENT    
  25432. SKIPTABLE
  25433. ENABLED
  25434. CMDTOP
  25435. SETALL
  25436. THISFORM
  25437. REFRESH&
  25438. NERROR
  25439. CMETHOD
  25440. NLINE
  25441. PARENT
  25442. ERROR
  25443. Click,
  25444. Error 
  25445. c:\vfp\samples\controls\
  25446. buttons.vcx
  25447. c:\vfp\samples\controls\buttons.vcx
  25448. Enableda
  25449. Commandbutton
  25450. PARENT    
  25451. SKIPTABLE
  25452. ENABLED    
  25453. CMDBOTTOM
  25454. SETALL
  25455. THISFORM
  25456. REFRESH&
  25457. NERROR
  25458. CMETHOD
  25459. NLINE
  25460. PARENT
  25461. ERROR
  25462. Click,
  25463. Error"
  25464. c:\vfp\samples\controls\
  25465. buttons.vcx
  25466. c:\vfp\samples\controls\buttons.vcx
  25467. PARENT    
  25468. SKIPTABLE
  25469. ENABLED
  25470. CMDNEXT
  25471. CMDTOP
  25472. CMDPRIOR
  25473. THISFORM
  25474. REFRESH&
  25475. NERROR
  25476. CMETHOD
  25477. NLINE
  25478. PARENT
  25479. ERROR
  25480. Click,
  25481. Error
  25482. c:\vfp\samples\controls\
  25483. buttons.vcx
  25484. c:\vfp\samples\controls\buttons.vcx
  25485. HELPCONTEXTID
  25486. Click,
  25487. c:\vfp\samples\controls\
  25488. buttons.vcx
  25489. c:\vfp\samples\controls\buttons.vcx
  25490. THISFORM
  25491. Click,
  25492. c:\vfp\samples\controls\
  25493. buttons.vcx
  25494. c:\vfp\samples\controls\buttons.vcx
  25495. THISFORM.PARENTb
  25496. THISFORMSET
  25497. THISFORM
  25498. Click,
  25499. c:\vfp\samples\controls\
  25500. buttons.vcx
  25501. c:\vfp\samples\controls\buttons.vcx
  25502. HELPCONTEXTID
  25503. Click,
  25504. c:\vfp\samples\controls\
  25505. buttons.vcx
  25506. c:\vfp\samples\controls\buttons.vcx
  25507. THISFORM
  25508. Click,
  25509. c:\vfp\samples\controls\
  25510. buttons.vcx
  25511. c:\vfp\samples\controls\buttons.vcx
  25512. Select Table:
  25513. NERROR
  25514. CMETHOD
  25515. NLINE    
  25516. CNEWTABLE
  25517. THIS    
  25518. SKIPTABLE
  25519. Error,
  25520. c:\vfp\samples\controls\
  25521. buttons.vcx
  25522. c:\vfp\samples\controls\buttons.vcx
  25523. NERROR
  25524. CMETHOD
  25525. NLINE
  25526. PARENT
  25527. ERROR
  25528. PARENT    
  25529. SKIPTABLE
  25530. ENABLED
  25531. CMDPRIOR    
  25532. CMDBOTTOM
  25533. CMDNEXT
  25534. THISFORM
  25535. REFRESH
  25536. Error,
  25537. Click
  25538. c:\vfp\samples\controls\
  25539. buttons.vcx
  25540. c:\vfp\samples\controls\buttons.vcx
  25541. NERROR
  25542. CMETHOD
  25543. NLINE
  25544. PARENT
  25545. ERROR
  25546. Enableda
  25547. Commandbutton
  25548. PARENT    
  25549. SKIPTABLE
  25550. ENABLED
  25551. CMDTOP
  25552. SETALL
  25553. THISFORM
  25554. REFRESH
  25555. Error,
  25556. Click
  25557. c:\vfp\samples\controls\
  25558. buttons.vcx
  25559. c:\vfp\samples\controls\buttons.vcx
  25560. NERROR
  25561. CMETHOD
  25562. NLINE
  25563. PARENT
  25564. ERROR
  25565. Enableda
  25566. Commandbutton
  25567. PARENT    
  25568. SKIPTABLE
  25569. ENABLED    
  25570. CMDBOTTOM
  25571. SETALL
  25572. THISFORM
  25573. REFRESH
  25574. Error,
  25575. Click
  25576. c:\vfp\samples\controls\
  25577. buttons.vcx
  25578. c:\vfp\samples\controls\buttons.vcx
  25579. NERROR
  25580. CMETHOD
  25581. NLINE
  25582. PARENT
  25583. ERROR
  25584. PARENT    
  25585. SKIPTABLE
  25586. ENABLED
  25587. CMDNEXT
  25588. CMDTOP
  25589. CMDPRIOR
  25590. THISFORM
  25591. REFRESH
  25592. Error,
  25593. Click
  25594. c:\vfp\samples\controls\
  25595. buttons.vcx
  25596. c:\vfp\samples\controls\buttons.vcx
  25597. THISFORM.PARENTb
  25598. THISFORMSET
  25599. THISFORM
  25600. Click,
  25601. c:\vfp\samples\controls\
  25602. buttons.vcx
  25603. c:\vfp\samples\controls\buttons.vcx
  25604. HELPCONTEXTID
  25605. Click,
  25606. c:\vfp\samples\controls\
  25607. buttons.vcx
  25608. c:\vfp\samples\controls\buttons.vcx
  25609. PLATFORM
  25610. UNIQUEID
  25611. TIMESTAMP
  25612. CLASS
  25613. CLASSLOC
  25614. BASECLASS
  25615. OBJNAME
  25616. PARENT
  25617. PROPERTIES
  25618. PROTECTED
  25619. METHODS
  25620. OBJCODE
  25621. COMMENT
  25622. RESERVED1
  25623. RESERVED2
  25624. RESERVED3
  25625. RESERVED4
  25626. RESERVED5
  25627. RESERVED6
  25628. RESERVED7
  25629. RESERVED8
  25630. RESERVED9
  25631. RESERVED10
  25632.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QUE0P5YXM 492002702         9                  10        11                  12                                                                              13                                                                                           WINDOWS _QUE0P5YYI 495276074        14                  15        16                  17                  21        96                                                                                                                                             WINDOWS _QUE0P5Z16 494633968        25                  26        27        28        29                                                                                                                                                                           WINDOWS _QUE0P5Z3P 494633968        32                  33        34        35        36                  38       102                                                                                                                                             WINDOWS _QUE0PJF0K 494633968        42        43        44        45        46        47                                                          49                                                                                                               WINDOWS _QUJ0MTWXY 494633968        50                  51        52        53        54                                                                                                                                                                           WINDOWS _QUJ0MTWZH 494633968        58                  59        60        61        62                                                                                                                                                                           WINDOWS _QUJ0MTX0X 494633968        66                  67        68        69        70                                                                                                                                                                           WINDOWS _QUJ0MZ41A 494633968        74                  75        76        77        78                                                                                                                                                                           COMMENT FONTINFO           0                                                          82                                                                                                                                                                          
  25633. VERSION =  0.028
  25634. dataenvironment
  25635. dataenvironment
  25636. Dataenvironment
  25637. Name = "Dataenvironment"
  25638. multifiles
  25639. Top =   8.75
  25640. Left =  25.33
  25641. Height =  20.00
  25642. Width =  82.67
  25643. AutoCenter = .T.
  25644. BackColor = 192,192,192
  25645. Caption = "Opening Multiple Files"
  25646. DefButton = DefButton
  25647. Name = "multifiles"
  25648. PROCEDURE Unload
  25649. * If this form is run from main.scx in controls.app,
  25650. * the hidden form object, main, is made visible when
  25651. * this form is unloaded
  25652. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  25653.     main.show
  25654. ENDIF
  25655. ENDPROC
  25656. listbox
  25657. listbox
  25658. lstFiles
  25659. multifiles
  25660. RowSourceType = 7
  25661. RowSource = "*.txt"
  25662. Height =  15.00
  25663. Left =   4.00
  25664. MultiSelect = .T.
  25665. Top =   0.75
  25666. Width =  42.17
  25667. Name = "lstFiles"
  25668. commandbutton
  25669. commandbutton
  25670. cmdOpen
  25671. multifiles
  25672. hTop =  17.25
  25673. Left =  22.00
  25674. Height =   1.75
  25675. Width =  15.67
  25676. Caption = "Open Files"
  25677. Name = "cmdOpen"
  25678. PROCEDURE Click
  25679. FOR nFile = 1 to THISFORM.lstFiles.ListCount
  25680.     IF THISFORM.lstFiles.Selected(nFile)
  25681.         MODIFY FILE (THISFORM.lstFiles.List(2) + ;
  25682.             THISFORM.lstFiles.List(nFile)) NOWAIT
  25683.     ENDIF
  25684. ENDFOR
  25685. ENDPROC
  25686. cmdok
  25687. ..\buttons.vcx
  25688. commandbutton
  25689. Cmdok1
  25690. multifiles
  25691. ^Top =  17.25
  25692. Left =  48.00
  25693. Height =   1.88
  25694. Width =  15.67
  25695. Default = .T.
  25696. Name = "Cmdok1"
  25697.  RELEASE THISFORM, default button
  25698. label
  25699. label
  25700. Label1
  25701. multifiles
  25702. BackColor = 192,192,192
  25703. BackStyle = 1
  25704. Caption = "Click a [Directory] to display the .txt files in it."
  25705. Height =   2.25
  25706. Left =  48.00
  25707. Top =   7.50
  25708. Width =  32.17
  25709. WordWrap = .T.
  25710. Name = "Label1"
  25711. label
  25712. label
  25713. Label2
  25714. multifiles
  25715. BackColor = 192,192,192
  25716. BackStyle = 1
  25717. Caption = "Click [..] to select the parent directory."
  25718. Height =   2.25
  25719. Left =  48.00
  25720. Top =   3.75
  25721. Width =  32.17
  25722. WordWrap = .T.
  25723. Name = "Label2"
  25724. label
  25725. label
  25726. Label3
  25727. multifiles
  25728. BackColor = 192,192,192
  25729. BackStyle = 1
  25730. Caption = "Select one or more .txt files in the directory, then choose Open Files to open them."
  25731. Height =   3.75
  25732. Left =  48.00
  25733. Top =  11.25
  25734. Width =  32.17
  25735. WordWrap = .T.
  25736. Name = "Label3"
  25737. label
  25738. label
  25739. Label4
  25740. multifiles
  25741. BackColor = 192,192,192
  25742. BackStyle = 1
  25743. Caption = "Click the Drive letter to select the drive."
  25744. Height =   2.25
  25745. Left =  48.00
  25746. Top =   0.75
  25747. Width =  32.17
  25748. WordWrap = .T.
  25749. Name = "Label4"
  25750. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  25751. mainb
  25752. Unload,
  25753. c:\vfp\samples\controls\lists\
  25754. multfile.scx
  25755. c:\vfp\samples\controls\lists\multfile.scx
  25756. NFILE
  25757. THISFORM
  25758. LSTFILES    
  25759. LISTCOUNT
  25760. SELECTED
  25761. Click,
  25762. c:\vfp\samples\controls\lists\
  25763. multfile.scx
  25764. c:\vfp\samples\controls\lists\multfile.scx
  25765. mainb
  25766. Unload,
  25767. c:\vfp\samples\controls\lists\
  25768. multfile.scx
  25769. c:\vfp\samples\controls\lists\multfile.scx
  25770. NFILE
  25771. THISFORM
  25772. LSTFILES    
  25773. LISTCOUNT
  25774. SELECTED
  25775. Click,
  25776. c:\vfp\samples\controls\lists\
  25777. multfile.scx
  25778. c:\vfp\samples\controls\lists\multfile.scx
  25779. PLATFORM
  25780. UNIQUEID
  25781. TIMESTAMP
  25782. CLASS
  25783. CLASSLOC
  25784. BASECLASS
  25785. OBJNAME
  25786. PARENT
  25787. PROPERTIES
  25788. PROTECTED
  25789. METHODS
  25790. OBJCODE
  25791. COMMENT
  25792. RESERVED1
  25793. RESERVED2
  25794. RESERVED3
  25795. RESERVED4
  25796. RESERVED5
  25797. RESERVED6
  25798. RESERVED7
  25799. RESERVED8
  25800. RESERVED9
  25801. RESERVED10
  25802.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QUD13HA4S 492800809         9                  10        11                  12                                                                              14                                                                                           WINDOWS _QUL0L81R8 492800809        15                  16        17        18        19                                                                                                                                                                           WINDOWS _QUD13KC70 495483203        21                  22        23                  24                  28       446                                                          83                                                                                 WINDOWS _QUD13HA56 495483203        86                  87        88        89        90                  93       485                                                                                                                                             WINDOWS _QUD13KC88 495483203       120                 121       122       123       124                 127       507                                                                                                                                             WINDOWS _QVR1A23OI 495432973       130                 131       132       133       134                                                                                                                                                                           WINDOWS _QVR1A23OH 495432973       136                 137       138       139       140                                                                                                                                                                           WINDOWS _QVR1A23OR 495432973       142                 143       144       145       146                                                                                                                                                                           WINDOWS _QUD13KC8W 495483203       148                 149       150       151       152                 154       513                                                                                                                                             WINDOWS _QUD196C16 495483203       158                 159       160       161       162                 164       519                                                                                                                                             WINDOWS _QUD19AFC7 495483203       168                 169       170       171       172                 174       526                                                                                                                                             WINDOWS _QUE1525DY 495483203       175                 176       177       178       179                 181       531                                                                                                                                             WINDOWS _QUE1525EV 495483203       187                 188       189       190       191                 193       539                                                                                                                                             WINDOWS _QUF0ONOUE 495432973       199                 200       201       202       203                                                                                                                                                                           WINDOWS _QUF0ONOV0 495419658       205                 206       207       208       209                                                                                                                                                                           WINDOWS _QUF103ZDE 495432973       211                 212       213       214       215                                                                                                                                                                           WINDOWS _QUF103ZDT 495432973       217                 218       219       220       221                                                                                                                                                                           WINDOWS _QUQ11YGLG 495432973       223                 224       225       226       227                                                                                                                                                                           WINDOWS _QVR0STH2P 495483204       229                 230       231       232       233                 237       547                                                                                                                                             WINDOWS _QVR0XE4WW 495483204       244                 245       246       247       248                 250       556                                                                                                                                             WINDOWS _QVR0XIENS 495432973       256                 257       258       259       260                                                                                                                                                                           WINDOWS _QVR0XTBKO 495432973       262                 263       264       265       266                                                                                                                                                                           WINDOWS _QVR1091JL 495483204       268                 269       270       271       272                 275       563                                                                                                                                             WINDOWS _QVR1A23TR 495432973       282                 283       284       285       286                                                                                                                                                                           WINDOWS _QVR1A23U1 495432973       288                 289       290       291       292                                                                                                                                                                           WINDOWS _QUF103ZCY 495432973       294                 295       296       297       298                                                                                                                                                                           WINDOWS _QVR1CR89V 495483204       300                 301       302       303       304                 307       572                                                                                                                                             COMMENT FONTINFO           0                                                         312                                                                                                                                                                          
  25803. VERSION =  0.028
  25804. dataenvironment
  25805. dataenvironment
  25806. Dataenvironment
  25807. LLeft = 107
  25808. Top = 237
  25809. Width = 784
  25810. Height = 390
  25811. Name = "Dataenvironment"
  25812. cursor
  25813. cursor
  25814. Cursor1
  25815. Dataenvironment
  25816. mLeft = 20
  25817. Top = 10
  25818. Width = 106
  25819. Height = 126
  25820. Alias = "graph"
  25821. CursorSource = graph.dbf
  25822. Name = "Cursor1"
  25823. formset
  25824. formset
  25825. frsGraphDemo
  25826. DataEnvironment = "Dataenvironment"
  25827. AutoRelease = .T.
  25828. lcanmove = .F.
  25829. ldidmove = .F.
  25830. laddnumcoord = .F.
  25831. nformscale = 1
  25832. nformx = 150
  25833. nformy = 150
  25834. currentcolor = 255
  25835. laddcoords = .T.
  25836. Name = "frsGraphDemo"
  25837. PROCEDURE Init
  25838. thisformset.frmGraph.show
  25839. thisformset.frmControl.show
  25840. ** Reset all graphs marked for graphing.
  25841. SELECT graph
  25842. REPL ALL tograph WITH .f.
  25843. *** Add coordinates if the flag is set.
  25844. IF thisformset.lAddCoords
  25845.     thisformset.AddCoord
  25846. ENDIF
  25847. ENDPROC
  25848. PROCEDURE Unload
  25849. * If this form is run from main.scx in controls.app,
  25850. * the hidden form object, main, is made visible when
  25851. * this form is unloaded
  25852. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  25853.     main.show
  25854. ENDIF
  25855. ENDPROC
  25856. PROCEDURE addcoord
  25857. *** Add coordinate lines.  X=0 and Y=0.
  25858. thisformset.frmGraph.forecolor = rgb(0,0,0)
  25859. thisformset.frmGraph.line(thisformset.nFormX,0,thisformset.nFormX,thisformset.frmGraph.height)
  25860. thisformset.frmGraph.line(0,thisformset.nFormY,thisformset.frmGraph.width,thisformset.nFormY)
  25861. *** Add coordinate numbers.
  25862. IF thisformset.lAddNumCoord
  25863.     PRIVATE ymin,ymax,xmin,xmax
  25864.     xmin = (0-m.thisformset.nFormX)/thisformset.nFormScale
  25865.     xmax = (thisformset.frmGraph.width-m.thisformset.nFormX)/thisformset.nFormScale
  25866.     ymin = (m.thisformset.nFormY)/thisformset.nFormScale
  25867.     ymax = (m.thisformset.nFormY-thisformset.frmGraph.height)/thisformset.nFormScale
  25868.     thisformset.frmGraph.forecolor = rgb(255,255,255)
  25869.     thisformset.frmGraph.pset(m.thisformset.nFormX+5,0)
  25870.     thisformset.frmGraph.forecolor = rgb(0,0,0)
  25871.     thisformset.frmGraph.print(alltrim(str(ymin)))
  25872.     thisformset.frmGraph.forecolor = rgb(255,255,255)
  25873.     thisformset.frmGraph.pset(m.thisformset.nFormX+5,thisformset.frmGraph.height-35)
  25874.     thisformset.frmGraph.forecolor = rgb(0,0,0)
  25875.     thisformset.frmGraph.print(alltrim(str(ymax)))
  25876.     thisformset.frmGraph.forecolor = rgb(255,255,255)
  25877.     thisformset.frmGraph.pset(0,m.thisformset.nFormY+4)
  25878.     thisformset.frmGraph.forecolor = rgb(0,0,0)
  25879.     thisformset.frmGraph.print(alltrim(str(xmin)))
  25880.     thisformset.frmGraph.forecolor = rgb(255,255,255)
  25881.     thisformset.frmGraph.pset(thisformset.frmGraph.width-30,m.thisformset.nFormY+4)
  25882.     thisformset.frmGraph.forecolor = rgb(0,0,0)
  25883.     thisformset.frmGraph.print(alltrim(str(xmax)))
  25884. ENDIF
  25885. ENDPROC
  25886. PROCEDURE allgraph
  25887. *** Graph all records that are tagged with TOGRAPH (currently on screen).
  25888. SELECT graph
  25889. SCAN FOR graph.tograph
  25890.     IF graph.polar
  25891.         DO pgraph WITH graph.equation,graph.lfrom*pi(),graph.lto*pi(),graph.step,graph.ecolor,graph.connect,thisformset.nFormX,thisformset.nFormY,.f.,thisformset.frmgraph,thisformset.nFormScale
  25892.     ELSE
  25893.         DO cgraph WITH graph.equation,graph.step,graph.ecolor,graph.connect,thisformset.nFormX,thisformset.nFormY,.f.,thisformset.frmgraph,thisformset.nFormScale
  25894.     ENDIF
  25895. ENDSCAN    
  25896. ENDPROC
  25897. PROCEDURE onegraph
  25898. #DEFINE graphNotFound "Graph was not found"
  25899. PARAMETER cgraphToPlot
  25900. SELECT graph
  25901. *** Look for graph to plot.
  25902. LOCATE FOR graph.name = m.cgraphToPlot
  25903. IF NOT FOUND()
  25904.     =MESSAGEBOX(graphNotFound)
  25905.     RETURN
  25906. ENDIF    
  25907. *** Set flag TOGRAPH to graph if zoom, resize or move orgin and color.
  25908. REPLACE graph.tograph with .t.,graph.ecolor with thisformset.currentColor
  25909. *** If polar call the polar graph procedure (PGRAPH) if not call the
  25910. ***    cartesian graph procedure (CGRAPH).
  25911. IF graph.polar
  25912.     DO pgraph WITH graph.equation,graph.lfrom*pi(),graph.lto*pi(),graph.step,graph.ecolor,graph.connect,thisformset.nFormX,thisformset.nFormY,.f.,thisformset.frmgraph,thisformset.nFormScale
  25913.     DO cgraph WITH graph.equation,graph.step,graph.ecolor,graph.connect,thisformset.nFormX,thisformset.nFormY,.f.,thisformset.frmgraph,thisformset.nFormScale
  25914. ENDIF
  25915. ENDPROC
  25916. |lcanmove
  25917. ldidmove
  25918. laddnumcoord
  25919. nformscale
  25920. nformx
  25921. nformy
  25922. currentcolor
  25923. laddcoords
  25924. *addcoord 
  25925. *allgraph 
  25926. *onegraph 
  25927. frmGraph
  25928. frsGraphDemo
  25929. ScaleMode = 3
  25930. Top = 157
  25931. Left = 13
  25932. Height = 300
  25933. Width = 300
  25934. Caption = "Graph Demo"
  25935. MousePointer = 1
  25936. AlwaysOnTop = .F.
  25937. Name = "frmGraph"
  25938. PROCEDURE Init
  25939. *** Set the form scalemode to pixels.
  25940. thisform.scalemode = 3
  25941. ENDPROC
  25942. PROCEDURE MouseMove
  25943. Parameters nButton, nShift, nXCoord, nYCoord
  25944. *** Claculate the absoult screen location for the orgin.
  25945. xvalue = (nxcoord-thisformset.nFormX)/thisformset.nFormScale
  25946. yvalue = (thisformset.nFormY-nycoord)/thisformset.nFormScale
  25947. *** Update the X,Y position on the Controls form.
  25948. thisformset.frmControl.lblXposition.caption = str(xvalue,9,3)
  25949. thisformset.frmControl.lblYposition.caption = str(yvalue,9,3)
  25950. *** See if a drag is in progress.
  25951. IF nButton = 1 and thisformset.lCanMove
  25952.     thisformset.lDidMove = .t.
  25953.     RETURN
  25954. ENDIF    
  25955. *** Check if the mouse pointer is close enough to the orgin to alloew a drag
  25956. *** of the orgin.
  25957. IF abs(nXCoord - thisformset.nFormX) < 4 and abs(nYCoord - thisformset.nFormY) < 4
  25958.     thisformset.frmGraph.mousepointer = 2
  25959.     thisformset.lCanMove = .t.
  25960.     thisformset.frmGraph.mousepointer = 1
  25961.     thisformset.lCanMove = .f.
  25962. ENDIF    
  25963. RETURN
  25964. ENDPROC
  25965. PROCEDURE MouseUp
  25966. Parameters nButton, nShift, nXCoord, nYCoord
  25967. *** If a drag happened do the following.
  25968. IF     thisformset.lDidMove
  25969.     *** Set new x,y centers.
  25970.     thisformset.nFormX = nxcoord
  25971.     thisformset.nFormY = nycoord
  25972.     thisformset.frmGraph.cls
  25973.     *** Set mouse pointer back
  25974.     thisformset.frmGraph.mousepointer = 2
  25975.     *** Set the drag flag off.
  25976.     thisformset.lDidMove = .f.
  25977.     *** Graph all current equations.
  25978.     thisformset.allgraph
  25979.     IF thisformset.lAddCoords
  25980.         thisformset.addcoord
  25981.     ENDIF    
  25982. ENDIF    
  25983. RETURN
  25984. ENDPROC
  25985. PROCEDURE Resize
  25986. thisformset.frmGraph.cls
  25987. *** Graph all current equations.
  25988. thisformset.allgraph
  25989. IF thisformset.lAddCoords
  25990.     thisformset.addcoord
  25991. ENDIF    
  25992. ENDPROC
  25993. frmControl
  25994. frsGraphDemo
  25995. ScaleMode = 3
  25996. DataEnvironment = "Dataenvironment"
  25997. Top = 159
  25998. Left = 324
  25999. Height = 300
  26000. Width = 300
  26001. Caption = "Controls"
  26002. WindowState = 0
  26003. Name = "frmControl"
  26004. PROCEDURE Init
  26005. *** Set the color box on the Controls form.
  26006. thisform.lblcolor.backcolor = thisformset.currentColor
  26007. ENDPROC
  26008. shape
  26009. shape
  26010. shape2
  26011. frsGraphDemo.frmControl
  26012. @Height = 97
  26013. Left = 13
  26014. Top = 140
  26015. Width = 98
  26016. Name = "shape2"
  26017. shape
  26018. shape
  26019. shape3
  26020. frsGraphDemo.frmControl
  26021. BHeight = 97
  26022. Left = 117
  26023. Top = 140
  26024. Width = 104
  26025. Name = "shape3"
  26026. shape
  26027. shape
  26028. shape1
  26029. frsGraphDemo.frmControl
  26030. AHeight = 97
  26031. Left = 230
  26032. Top = 140
  26033. Width = 56
  26034. Name = "shape1"
  26035. commandbutton
  26036. commandbutton
  26037. cmdGraph
  26038. frsGraphDemo.frmControl
  26039. UTop = 245
  26040. Left = 23
  26041. Height = 25
  26042. Width = 73
  26043. Caption = "Graph"
  26044. Name = "cmdGraph"
  26045. PROCEDURE Click
  26046. *** Call the graph routine with the current selected equation.
  26047. thisformset.onegraph(thisform.lstGraphList.list(thisform.lstGraphList.listitemid))
  26048. RETURN
  26049. ENDPROC
  26050. commandbutton
  26051. commandbutton
  26052. cmdClear
  26053. frsGraphDemo.frmControl
  26054. VTop = 245
  26055. Left = 114
  26056. Height = 25
  26057. Width = 73
  26058. Caption = "Clear"
  26059. Name = "cmdClear"
  26060. PROCEDURE Click
  26061. thisformset.frmGraph.cls
  26062. IF thisformset.lAddCoords
  26063.     thisformset.addcoord
  26064. ENDIF    
  26065. *** Reset all graphs so they do no draw.
  26066. SELECT graph
  26067. REPLACE ALL tograph WITH .f.
  26068. ENDPROC
  26069. commandbutton
  26070. commandbutton
  26071. cmdQuit
  26072. frsGraphDemo.frmControl
  26073. TTop = 245
  26074. Left = 205
  26075. Height = 25
  26076. Width = 73
  26077. Caption = "Quit"
  26078. Name = "cmdQuit"
  26079. /PROCEDURE Click
  26080. RELEASE thisformset
  26081. ENDPROC
  26082. commandbutton
  26083. commandbutton
  26084.     cmdZoomUp
  26085. frsGraphDemo.frmControl
  26086. hTop = 181
  26087. Left = 19
  26088. Height = 37
  26089. Width = 37
  26090. Picture = arw08up.bmp
  26091. Caption = ""
  26092. Name = "cmdZoomUp"
  26093. ZPROCEDURE Click
  26094. *** Change the scale value and caption on the Controls form.
  26095. thisformset.nFormScale = thisformset.nFormScale * 2
  26096. thisformset.frmControl.lblZoomPercent.caption = str(thisformset.nFormScale*100,6,2)+"%"
  26097. thisformset.frmGraph.cls
  26098. IF thisformset.lAddCoords
  26099.     thisformset.addcoord
  26100. ENDIF    
  26101. thisformset.allgraph
  26102. ENDPROC
  26103. commandbutton
  26104. commandbutton
  26105. cmdZoomDown
  26106. frsGraphDemo.frmControl
  26107. jTop = 181
  26108. Left = 65
  26109. Height = 37
  26110. Width = 37
  26111. Picture = arw08dn.bmp
  26112. Caption = ""
  26113. Name = "cmdZoomDown"
  26114. VPROCEDURE Click
  26115. *** Change the scale value and caption on the Controls form.
  26116. thisformset.nFormScale = thisformset.nFormScale / 2
  26117. thisformset.frmControl.lblZoomPercent.caption = str(thisformset.nFormScale*100,6,2)+"%"
  26118. thisformset.frmGraph.cls
  26119. IF thisformset.lAddCoords
  26120.     thisformset.addcoord
  26121. ENDIF    
  26122. thisformset.allgraph
  26123. ENDPROC
  26124. label
  26125. label
  26126. lblXposition
  26127. frsGraphDemo.frmControl
  26128. VCaption = "0"
  26129. Height = 25
  26130. Left = 151
  26131. Top = 170
  26132. Width = 61
  26133. Name = "lblXposition"
  26134. label
  26135. label
  26136. lblYposition
  26137. frsGraphDemo.frmControl
  26138. WCaption = "0"
  26139. Height = 25
  26140. Left = -144
  26141. Top = 132
  26142. Width = 61
  26143. Name = "lblYposition"
  26144. label
  26145. label
  26146. Label1
  26147. frsGraphDemo.frmControl
  26148. QCaption = "X="
  26149. Height = 24
  26150. Left = 127
  26151. Top = 170
  26152. Width = 16
  26153. Name = "Label1"
  26154. label
  26155. label
  26156. Label2
  26157. frsGraphDemo.frmControl
  26158. QCaption = "Y="
  26159. Height = 25
  26160. Left = 127
  26161. Top = 193
  26162. Width = 16
  26163. Name = "Label2"
  26164. label
  26165. label
  26166. lblYposition
  26167. frsGraphDemo.frmControl
  26168. VCaption = "0"
  26169. Height = 25
  26170. Left = 151
  26171. Top = 193
  26172. Width = 61
  26173. Name = "lblYposition"
  26174. listbox
  26175. listbox
  26176. lstGraphList
  26177. frsGraphDemo.frmControl
  26178. ColumnCount = 0
  26179. ColumnWidths = ""
  26180. RowSourceType = 6
  26181. RowSource = "graph.name"
  26182. ControlSource = ""
  26183. FirstElement = 1
  26184. Height = 119
  26185. Left = 9
  26186. NumberOfElements = 0
  26187. Top = 10
  26188. Width = 283
  26189. Name = "lstGraphList"
  26190. PROCEDURE DblClick
  26191. *** Call to graph current selected equation.
  26192. thisformset.onegraph(thisform.lstGraphList.list(thisform.lstGraphList.listitemid))
  26193. RETURN
  26194. ENDPROC
  26195. PROCEDURE InteractiveChange
  26196. *** Get the current color store in the graph table.
  26197. thisformset.currentcolor = graph.ecolor
  26198. *** Change color on the Controls form.
  26199. thisform.lblcolor.backcolor = thisformset.currentColor
  26200. ENDPROC
  26201. commandbutton
  26202. commandbutton
  26203. cmdcolor
  26204. frsGraphDemo.frmControl
  26205. TTop = 197
  26206. Left = 245
  26207. Height = 24
  26208. Width = 25
  26209. Caption = "..."
  26210. Name = "cmdcolor"
  26211. kPROCEDURE Click
  26212. *** Pick new color.
  26213. tempColor = GETCOLOR()
  26214. *** Make sure cancel was not pressed.
  26215. IF tempcolor > 0
  26216.     thisformset.currentColor = tempColor
  26217. ENDIF
  26218. *** Change color box on the Controls form.
  26219. thisform.lblcolor.backcolor = thisformset.currentColor
  26220. *** Set color in the table.
  26221. REPLACE graph.ecolor with thisformset.currentColor
  26222. ENDPROC
  26223. label
  26224. label
  26225. lblcolor
  26226. frsGraphDemo.frmControl
  26227. VCaption = "     "
  26228. Height = 36
  26229. Left = 240
  26230. Top = 152
  26231. Width = 38
  26232. Name = "lblcolor"
  26233. label
  26234. label
  26235. lblZoomPercent
  26236. frsGraphDemo.frmControl
  26237. ]Caption = "100.00%"
  26238. Height = 19
  26239. Left = 23
  26240. Top = 157
  26241. Width = 76
  26242. Name = "lblZoomPercent"
  26243. checkbox
  26244. checkbox
  26245. chkAddCoords
  26246. frsGraphDemo.frmControl
  26247. Top = 275
  26248. Left = 12
  26249. Height = 20
  26250. Width = 131
  26251. Caption = "Coordinate Lines"
  26252. ControlSource = "thisformset.lAddCoords"
  26253. SpecialEffect = 0
  26254. Style = 0
  26255. Name = "chkAddCoords"
  26256. PROCEDURE Click
  26257. *** Redraw form Graph with/without coordinate lines.
  26258. IF thisformset.lAddCoords
  26259.     thisformset.addcoord
  26260.     thisformset.frmgraph.cls
  26261.     thisformset.allgraph
  26262. ENDIF    
  26263. *** Disable add numbers checkbox if needed.
  26264. IF thisformset.lAddCoords
  26265.     thisformset.frmcontrol.chkaddnums.enabled = .t.
  26266.     thisformset.frmcontrol.chkaddnums.enabled = .f.
  26267. ENDIF    
  26268. thisformset.frmcontrol.chkaddnums.refresh
  26269. ENDPROC
  26270. label
  26271. label
  26272. label3
  26273. frsGraphDemo.frmControl
  26274. UCaption = "Color:"
  26275. Height = 16
  26276. Left = 236
  26277. Top = 133
  26278. Width = 43
  26279. Name = "label3"
  26280. label
  26281. label
  26282. label5
  26283. frsGraphDemo.frmControl
  26284. XCaption = "Position:"
  26285. Height = 19
  26286. Left = 125
  26287. Top = 133
  26288. Width = 57
  26289. Name = "label5"
  26290. label
  26291. label
  26292. Label4
  26293. frsGraphDemo.frmControl
  26294. SCaption = "Zoom:"
  26295. Height = 16
  26296. Left = 22
  26297. Top = 133
  26298. Width = 43
  26299. Name = "Label4"
  26300. checkbox
  26301. checkbox
  26302. chkAddnums
  26303. frsGraphDemo.frmControl
  26304. Top = 276
  26305. Left = 147
  26306. Height = 19
  26307. Width = 154
  26308. Caption = "Coordinate Numbers"
  26309. ControlSource = "thisformset.lAddNumCoord"
  26310. SpecialEffect = 0
  26311. Style = 0
  26312. Name = "chkAddnums"
  26313. /PROCEDURE Click
  26314. *** Redraw form Graph with/without coordinate Numbers.
  26315. IF thisformset.lAddNumCoord
  26316.     thisformset.addcoord
  26317.     thisformset.frmgraph.cls
  26318.     *** Add coordinate lines if needed.
  26319.     IF thisformset.lAddCoords
  26320.         thisformset.addcoord
  26321.     ENDIF    
  26322.     thisformset.allgraph
  26323. ENDIF    
  26324. ENDPROC
  26325. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  26326. THISFORMSET
  26327. FRMGRAPH
  26328. FRMCONTROL
  26329. GRAPH
  26330. TOGRAPH
  26331. LADDCOORDS
  26332. ADDCOORD4
  26333. mainb
  26334. THISFORMSET
  26335. FRMGRAPH    
  26336. FORECOLOR
  26337. NFORMX
  26338. HEIGHT
  26339. NFORMY
  26340. WIDTH
  26341. LADDNUMCOORD
  26342. NFORMSCALE
  26343. PRINT
  26344. GRAPH
  26345. TOGRAPH
  26346. POLAR
  26347. PGRAPH
  26348. EQUATION
  26349. LFROM
  26350. ECOLOR
  26351. CONNECT
  26352. THISFORMSET
  26353. NFORMX
  26354. NFORMY
  26355. FRMGRAPH
  26356. NFORMSCALE
  26357. CGRAPH2
  26358. Graph was not found
  26359. CGRAPHTOPLOT
  26360. GRAPH
  26361. TOGRAPH
  26362. ECOLOR
  26363. THISFORMSET
  26364. CURRENTCOLOR
  26365. POLAR
  26366. PGRAPH
  26367. EQUATION
  26368. LFROM
  26369. CONNECT
  26370. NFORMX
  26371. NFORMY
  26372. FRMGRAPH
  26373. NFORMSCALE
  26374. CGRAPH
  26375. Init,
  26376. Unload
  26377. addcoord
  26378. allgraph
  26379. onegraph
  26380. c:\vfp\samples\controls\graphics\
  26381. graph.scx
  26382. c:\vfp\samples\controls\graphics\graph.scx
  26383. THISFORM    
  26384. SCALEMODE;
  26385. NBUTTON
  26386. NSHIFT
  26387. NXCOORD
  26388. NYCOORD
  26389. XVALUE
  26390. THISFORMSET
  26391. NFORMX
  26392. NFORMSCALE
  26393. YVALUE
  26394. NFORMY
  26395. FRMCONTROL
  26396. LBLXPOSITION
  26397. CAPTION
  26398. LBLYPOSITION
  26399. LCANMOVE
  26400. LDIDMOVE
  26401. FRMGRAPH
  26402. MOUSEPOINTER
  26403. NBUTTON
  26404. NSHIFT
  26405. NXCOORD
  26406. NYCOORD
  26407. THISFORMSET
  26408. LDIDMOVE
  26409. NFORMX
  26410. NFORMY
  26411. FRMGRAPH
  26412. MOUSEPOINTER
  26413. ALLGRAPH
  26414. LADDCOORDS
  26415. ADDCOORD8
  26416. THISFORMSET
  26417. FRMGRAPH
  26418. ALLGRAPH
  26419. LADDCOORDS
  26420. ADDCOORD
  26421. Init,
  26422. MouseMoveX
  26423. MouseUpP
  26424. Resize
  26425. c:\vfp\samples\controls\graphics\
  26426. graph.scx
  26427. c:\vfp\samples\controls\graphics\graph.scx
  26428. THISFORM
  26429. LBLCOLOR    
  26430. BACKCOLOR
  26431. THISFORMSET
  26432. CURRENTCOLOR
  26433. Init,
  26434. c:\vfp\samples\controls\graphics\
  26435. graph.scx
  26436. c:\vfp\samples\controls\graphics\graph.scx
  26437. THISFORMSET
  26438. ONEGRAPH
  26439. THISFORM
  26440. LSTGRAPHLIST
  26441. LISTITEMID
  26442. Click,
  26443. c:\vfp\samples\controls\graphics\
  26444. graph.scx
  26445. c:\vfp\samples\controls\graphics\graph.scx
  26446. THISFORMSET
  26447. FRMGRAPH
  26448. LADDCOORDS
  26449. ADDCOORD
  26450. GRAPH
  26451. TOGRAPH
  26452. Click,
  26453. c:\vfp\samples\controls\graphics\
  26454. graph.scx
  26455. c:\vfp\samples\controls\graphics\graph.scx
  26456. THISFORMSET
  26457. Click,
  26458. c:\vfp\samples\controls\graphics\
  26459. graph.scx
  26460. c:\vfp\samples\controls\graphics\graph.scx
  26461. THISFORMSET
  26462. NFORMSCALE
  26463. FRMCONTROL
  26464. LBLZOOMPERCENT
  26465. CAPTION
  26466. FRMGRAPH
  26467. LADDCOORDS
  26468. ADDCOORD
  26469. ALLGRAPH
  26470. Click,
  26471. c:\vfp\samples\controls\graphics\
  26472. graph.scx
  26473. c:\vfp\samples\controls\graphics\graph.scx
  26474. THISFORMSET
  26475. NFORMSCALE
  26476. FRMCONTROL
  26477. LBLZOOMPERCENT
  26478. CAPTION
  26479. FRMGRAPH
  26480. LADDCOORDS
  26481. ADDCOORD
  26482. ALLGRAPH
  26483. Click,
  26484. c:\vfp\samples\controls\graphics\
  26485. graph.scx
  26486. c:\vfp\samples\controls\graphics\graph.scx
  26487. THISFORMSET
  26488. ONEGRAPH
  26489. THISFORM
  26490. LSTGRAPHLIST
  26491. LISTITEMID,
  26492. THISFORMSET
  26493. CURRENTCOLOR
  26494. GRAPH
  26495. ECOLOR
  26496. THISFORM
  26497. LBLCOLOR    
  26498. BACKCOLOR
  26499. DblClick,
  26500. InteractiveChange
  26501. c:\vfp\samples\controls\graphics\
  26502. graph.scx
  26503. c:\vfp\samples\controls\graphics\graph.scx
  26504. TEMPCOLOR
  26505. THISFORMSET
  26506. CURRENTCOLOR
  26507. THISFORM
  26508. LBLCOLOR    
  26509. BACKCOLOR
  26510. GRAPH
  26511. ECOLOR
  26512. Click,
  26513. c:\vfp\samples\controls\graphics\
  26514. graph.scx
  26515. c:\vfp\samples\controls\graphics\graph.scx
  26516. THISFORMSET
  26517. LADDCOORDS
  26518. ADDCOORD
  26519. FRMGRAPH
  26520. ALLGRAPH
  26521. FRMCONTROL
  26522. CHKADDNUMS
  26523. ENABLED
  26524. REFRESH
  26525. Click,
  26526. c:\vfp\samples\controls\graphics\
  26527. graph.scx
  26528. c:\vfp\samples\controls\graphics\graph.scx
  26529. THISFORMSET
  26530. LADDNUMCOORD
  26531. ADDCOORD
  26532. FRMGRAPH
  26533. LADDCOORDS
  26534. ALLGRAPH
  26535. Click,
  26536. c:\vfp\samples\controls\graphics\
  26537. graph.scx
  26538. c:\vfp\samples\controls\graphics\graph.scx
  26539. THISFORMSET
  26540. FRMGRAPH
  26541. FRMCONTROL
  26542. GRAPH
  26543. TOGRAPH
  26544. LADDCOORDS
  26545. ADDCOORD4
  26546. mainb
  26547. THISFORMSET
  26548. FRMGRAPH    
  26549. FORECOLOR
  26550. NFORMX
  26551. HEIGHT
  26552. NFORMY
  26553. WIDTH
  26554. LADDNUMCOORD
  26555. NFORMSCALE
  26556. PRINT
  26557. GRAPH
  26558. TOGRAPH
  26559. POLAR
  26560. PGRAPH
  26561. EQUATION
  26562. LFROM
  26563. ECOLOR
  26564. CONNECT
  26565. THISFORMSET
  26566. NFORMX
  26567. NFORMY
  26568. FRMGRAPH
  26569. NFORMSCALE
  26570. CGRAPH2
  26571. Graph was not found
  26572. CGRAPHTOPLOT
  26573. GRAPH
  26574. TOGRAPH
  26575. ECOLOR
  26576. THISFORMSET
  26577. CURRENTCOLOR
  26578. POLAR
  26579. PGRAPH
  26580. EQUATION
  26581. LFROM
  26582. CONNECT
  26583. NFORMX
  26584. NFORMY
  26585. FRMGRAPH
  26586. NFORMSCALE
  26587. CGRAPH
  26588. Init,
  26589. Unload
  26590. addcoord
  26591. allgraph
  26592. onegraph
  26593. c:\vfp\samples\controls\graphics\
  26594. graph.scx
  26595. c:\vfp\samples\controls\graphics\graph.scx
  26596. THISFORM    
  26597. SCALEMODE;
  26598. NBUTTON
  26599. NSHIFT
  26600. NXCOORD
  26601. NYCOORD
  26602. XVALUE
  26603. THISFORMSET
  26604. NFORMX
  26605. NFORMSCALE
  26606. YVALUE
  26607. NFORMY
  26608. FRMCONTROL
  26609. LBLXPOSITION
  26610. CAPTION
  26611. LBLYPOSITION
  26612. LCANMOVE
  26613. LDIDMOVE
  26614. FRMGRAPH
  26615. MOUSEPOINTER
  26616. NBUTTON
  26617. NSHIFT
  26618. NXCOORD
  26619. NYCOORD
  26620. THISFORMSET
  26621. LDIDMOVE
  26622. NFORMX
  26623. NFORMY
  26624. FRMGRAPH
  26625. MOUSEPOINTER
  26626. ALLGRAPH
  26627. LADDCOORDS
  26628. ADDCOORD8
  26629. THISFORMSET
  26630. FRMGRAPH
  26631. ALLGRAPH
  26632. LADDCOORDS
  26633. ADDCOORD
  26634. Init,
  26635. MouseMoveX
  26636. MouseUpP
  26637. Resize
  26638. c:\vfp\samples\controls\graphics\
  26639. graph.scx
  26640. c:\vfp\samples\controls\graphics\graph.scx
  26641. THISFORM
  26642. LBLCOLOR    
  26643. BACKCOLOR
  26644. THISFORMSET
  26645. CURRENTCOLOR
  26646. Init,
  26647. c:\vfp\samples\controls\graphics\
  26648. graph.scx
  26649. c:\vfp\samples\controls\graphics\graph.scx
  26650. THISFORMSET
  26651. ONEGRAPH
  26652. THISFORM
  26653. LSTGRAPHLIST
  26654. LISTITEMID
  26655. Click,
  26656. c:\vfp\samples\controls\graphics\
  26657. graph.scx
  26658. c:\vfp\samples\controls\graphics\graph.scx
  26659. THISFORMSET
  26660. FRMGRAPH
  26661. LADDCOORDS
  26662. ADDCOORD
  26663. GRAPH
  26664. TOGRAPH
  26665. Click,
  26666. c:\vfp\samples\controls\graphics\
  26667. graph.scx
  26668. c:\vfp\samples\controls\graphics\graph.scx
  26669. THISFORMSET
  26670. Click,
  26671. c:\vfp\samples\controls\graphics\
  26672. graph.scx
  26673. c:\vfp\samples\controls\graphics\graph.scx
  26674. THISFORMSET
  26675. NFORMSCALE
  26676. FRMCONTROL
  26677. LBLZOOMPERCENT
  26678. CAPTION
  26679. FRMGRAPH
  26680. LADDCOORDS
  26681. ADDCOORD
  26682. ALLGRAPH
  26683. Click,
  26684. c:\vfp\samples\controls\graphics\
  26685. graph.scx
  26686. c:\vfp\samples\controls\graphics\graph.scx
  26687. THISFORMSET
  26688. NFORMSCALE
  26689. FRMCONTROL
  26690. LBLZOOMPERCENT
  26691. CAPTION
  26692. FRMGRAPH
  26693. LADDCOORDS
  26694. ADDCOORD
  26695. ALLGRAPH
  26696. Click,
  26697. c:\vfp\samples\controls\graphics\
  26698. graph.scx
  26699. c:\vfp\samples\controls\graphics\graph.scx
  26700. THISFORMSET
  26701. ONEGRAPH
  26702. THISFORM
  26703. LSTGRAPHLIST
  26704. LISTITEMID,
  26705. THISFORMSET
  26706. CURRENTCOLOR
  26707. GRAPH
  26708. ECOLOR
  26709. THISFORM
  26710. LBLCOLOR    
  26711. BACKCOLOR
  26712. DblClick,
  26713. InteractiveChange
  26714. c:\vfp\samples\controls\graphics\
  26715. graph.scx
  26716. c:\vfp\samples\controls\graphics\graph.scx
  26717. TEMPCOLOR
  26718. THISFORMSET
  26719. CURRENTCOLOR
  26720. THISFORM
  26721. LBLCOLOR    
  26722. BACKCOLOR
  26723. GRAPH
  26724. ECOLOR
  26725. Click,
  26726. c:\vfp\samples\controls\graphics\
  26727. graph.scx
  26728. c:\vfp\samples\controls\graphics\graph.scx
  26729. THISFORMSET
  26730. LADDCOORDS
  26731. ADDCOORD
  26732. FRMGRAPH
  26733. ALLGRAPH
  26734. FRMCONTROL
  26735. CHKADDNUMS
  26736. ENABLED
  26737. REFRESH
  26738. Click,
  26739. c:\vfp\samples\controls\graphics\
  26740. graph.scx
  26741. c:\vfp\samples\controls\graphics\graph.scx
  26742. THISFORMSET
  26743. LADDNUMCOORD
  26744. ADDCOORD
  26745. FRMGRAPH
  26746. LADDCOORDS
  26747. ALLGRAPH
  26748. Click,
  26749. c:\vfp\samples\controls\graphics\
  26750. graph.scx
  26751. c:\vfp\samples\controls\graphics\graph.scx
  26752. nEquScaleb
  26753. CEQUATION
  26754. NFROM
  26755. NSTEPINC    
  26756. NEQUCOLOR
  26757. LCONNECT
  26758. NXCENTER
  26759. NYCENTER
  26760. LADDCOORDS
  26761. FRMFORMNAME    
  26762. NEQUSCALE
  26763. NOLDY
  26764. NOLDX
  26765. NTEMPMAXNUM    
  26766. FORECOLOR
  26767. HEIGHT
  26768. WIDTH
  26769. COLOR    
  26770. TEMPPLOTX    
  26771. TEMPPLOTY
  26772. nEquScaleb
  26773. CEQUATION
  26774. NSTEPINC    
  26775. NEQUCOLOR
  26776. LCONNECT
  26777. NXCENTER
  26778. NYCENTER
  26779. LADDCOORDS
  26780. FRMFORMNAME    
  26781. NEQUSCALE
  26782. NOLDY
  26783. NOLDX
  26784. NTEMPMAXNUM    
  26785. FORECOLOR
  26786. HEIGHT
  26787. WIDTH
  26788. COLOR
  26789. NXTEMP
  26790. PLATFORM
  26791. UNIQUEID
  26792. TIMESTAMP
  26793. CLASS
  26794. CLASSLOC
  26795. BASECLASS
  26796. OBJNAME
  26797. PARENT
  26798. PROPERTIES
  26799. PROTECTED
  26800. METHODS
  26801. OBJCODE
  26802. COMMENT
  26803. RESERVED1
  26804. RESERVED2
  26805. RESERVED3
  26806. RESERVED4
  26807. RESERVED5
  26808. RESERVED6
  26809. RESERVED7
  26810. RESERVED8
  26811. RESERVED9
  26812. RESERVED10
  26813.  COMMENT Screen             0                                                                                                                                 8                                                                                                     WINDOWS _QU00SXGMP 493773506         9                  10        11                  12                                                                              14                                                                                           WINDOWS _QV40QIA3D 495222043        15                  16        17        18        19                                                                                                                                                                           WINDOWS _QU00SXGMQ 495222043        22                  23        24                  25                  29       154                                                                                                                                             WINDOWS _QU00SXGMZ 493773584        33                  34        35        36        37                  49       160                                                                                                                                             WINDOWS _QUE17VTPT 492022446        58                  59        60        61        62                                                                                                                                                                           WINDOWS _QUE17VTQ3 492022446        64                  65        66        67        68                                                                                                                                                                           WINDOWS _QUE17VTQH 492022446        70                  71        72        73        74                                                                                                                                                                           WINDOWS _QUE17VTQS 492022446        76                  77        78        79        80                                                                                                                                                                           WINDOWS _QUL0I5K6I 493773584        82        83        84        85        86        87                                                          88                                                                                                               WINDOWS _QV40QHH1Z 493773584        89                  90        91        92        93                  96       172                                                                                                                                             WINDOWS _QV40QHH3D 493773585        98                  99       100       101       102                 105       178                                                                                                                                             WINDOWS _QV40QHH47 493773638       107                 108       109       110       111                 114       184                                                                                                                                             COMMENT FONTINFO           0                                                         116                                                                                                                                                                          
  26814. VERSION =  0.028
  26815. dataenvironment
  26816. dataenvironment
  26817. Datanavigation
  26818. ILeft = 5
  26819. Top = 108
  26820. Width = 490
  26821. Height = 242
  26822. Name = "Datanavigation"
  26823. cursor
  26824. cursor
  26825. Cursor1
  26826. Datanavigation
  26827. Left = 20
  26828. Top = 10
  26829. Width = 98
  26830. Height = 108
  26831. Alias = "products"
  26832. Database = ..\..\data\testdata.dbc
  26833. CursorSource = "products"
  26834. Name = "Cursor1"
  26835. form1
  26836. ScaleMode = 3
  26837. Top = 4
  26838. Left = 27
  26839. Height = 291
  26840. Width = 485
  26841. BackColor = 192,192,192
  26842. ForeColor = 0,0,0
  26843. Caption = "Controls in a Grid"
  26844. WindowState = 0
  26845. DefButton = DefButton
  26846. Name = "form1"
  26847. PROCEDURE Unload
  26848. * If this form is run from main.scx in controls.app,
  26849. * the hidden form object, main, is made visible when
  26850. * this form is unloaded
  26851. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  26852.     main.show
  26853. ENDIF
  26854. ENDPROC
  26855. Grid1
  26856. form1
  26857. ColumnCount = 4
  26858. BackColor = 0,0,0
  26859. DeleteMark = .F.
  26860. ForeColor = 0,255,0
  26861. Height = 191
  26862. Left = 24
  26863. Panel = 1
  26864. RecordMark = .F.
  26865. RecordSource = "products"
  26866. RecordSourceType = 1
  26867. RowHeight = 28
  26868. ScrollBars = 2
  26869. TabIndex = 1
  26870. Top = 12
  26871. Width = 433
  26872. Name = "Grid1"
  26873. Column1.FontSize = 8
  26874. Column1.ControlSource = "products.eng_name"
  26875. Column1.Width = 153
  26876. Column1.Name = "Column1"
  26877. Column2.FontSize = 8
  26878. Column2.ControlSource = "products.unit_price"
  26879. Column2.Width = 78
  26880. Column2.Name = "Column2"
  26881. Column3.FontSize = 8
  26882. Column3.ControlSource = "products.in_stock"
  26883. Column3.Width = 72
  26884. Column3.Name = "Column3"
  26885. Column4.FontSize = 8
  26886. Column4.ControlSource = "products.discontinu"
  26887. Column4.Width = 68
  26888. Column4.Sparse = .F.
  26889. Column4.Name = "Column4"
  26890. "PROCEDURE Init
  26891. this.column2.addobject('unit_price_spinner', 'spinner')
  26892. this.column3.addobject('in_stock_spinner', 'spinner')
  26893. this.column4.addobject('discontinu_checkbox', 'checkbox')
  26894. this.column2.currentcontrol = 'unit_price_spinner'
  26895. this.column3.currentcontrol = 'in_stock_spinner'
  26896. this.column4.currentcontrol = 'discontinu_checkbox'
  26897. this.column4.discontinu_checkbox.caption = ""
  26898. this.column2.unit_price_spinner.visible = .t.
  26899. this.column3.in_stock_spinner.visible = .t.
  26900. this.column4.discontinu_checkbox.visible = .t.
  26901. ENDPROC
  26902. header
  26903. header
  26904. Header1
  26905. form1.Grid1.Column1
  26906. DFontSize = 8
  26907. Alignment = 2
  26908. Caption = "Product"
  26909. Name = "Header1"
  26910. header
  26911. header
  26912. Header2
  26913. form1.Grid1.Column2
  26914. BFontSize = 8
  26915. Alignment = 2
  26916. Caption = "Price"
  26917. Name = "Header2"
  26918. header
  26919. header
  26920. Header3
  26921. form1.Grid1.Column3
  26922. DFontSize = 8
  26923. Alignment = 2
  26924. Caption = "Stocked"
  26925. Name = "Header3"
  26926. header
  26927. header
  26928. Header4
  26929. form1.Grid1.Column4
  26930. DFontSize = 8
  26931. Alignment = 2
  26932. Caption = "Dropped"
  26933. Name = "Header4"
  26934. cmdok
  26935. ..\buttons.vcx
  26936. commandbutton
  26937. Cmdok1
  26938. form1
  26939. 7Top = 228
  26940. Left = 300
  26941. Default = .F.
  26942. Name = "Cmdok1"
  26943.  RELEASE THISFORM, default button
  26944. checkbox
  26945. checkbox
  26946. Check1
  26947. form1
  26948. Top = 216
  26949. Left = 36
  26950. Height = 24
  26951. Width = 130
  26952. AutoSize = .T.
  26953. BackStyle = 0
  26954. Caption = "Column2.Sparse"
  26955. Value = .T.
  26956. Name = "Check1"
  26957. FPROCEDURE Click
  26958. ThisForm.Grid1.Column2.Sparse = This.Value
  26959. ENDPROC
  26960. checkbox
  26961. checkbox
  26962. Check2
  26963. form1
  26964. Top = 240
  26965. Left = 36
  26966. Height = 24
  26967. Width = 130
  26968. AutoSize = .T.
  26969. BackStyle = 0
  26970. Caption = "Column3.Sparse"
  26971. Value = .T.
  26972. Name = "Check2"
  26973. FPROCEDURE Click
  26974. ThisForm.Grid1.Column3.Sparse = This.Value
  26975. ENDPROC
  26976. checkbox
  26977. checkbox
  26978. Check3
  26979. form1
  26980. Top = 264
  26981. Left = 36
  26982. Height = 24
  26983. Width = 130
  26984. AutoSize = .T.
  26985. BackStyle = 0
  26986. Caption = "Column4.Sparse"
  26987. Value = .F.
  26988. Name = "Check3"
  26989. FPROCEDURE Click
  26990. ThisForm.Grid1.Column4.Sparse = This.Value
  26991. ENDPROC
  26992. CArial, 1, 10, 6, 16, 13, 15, 3, 0
  26993. Arial, 1, 8, 5, 14, 11, 13, 3, 0
  26994. mainb
  26995. Unload,
  26996. c:\vfp\samples\controls\grid\
  26997. controls.scx
  26998. c:\vfp\samples\controls\grid\controls.scx
  26999. unit_price_spinner
  27000. spinner
  27001. in_stock_spinner
  27002. spinner
  27003. discontinu_checkbox
  27004. checkbox
  27005. unit_price_spinner
  27006. in_stock_spinner
  27007. discontinu_checkbox
  27008. COLUMN2    
  27009. ADDOBJECT
  27010. COLUMN3
  27011. COLUMN4
  27012. CURRENTCONTROL
  27013. DISCONTINU_CHECKBOX
  27014. CAPTION
  27015. UNIT_PRICE_SPINNER
  27016. VISIBLE
  27017. IN_STOCK_SPINNER
  27018. Init,
  27019. c:\vfp\samples\controls\grid\
  27020. controls.scx
  27021. c:\vfp\samples\controls\grid\controls.scx
  27022. THISFORM
  27023. GRID1
  27024. COLUMN2
  27025. SPARSE
  27026. VALUE
  27027. Click,
  27028. c:\vfp\samples\controls\grid\
  27029. controls.scx
  27030. c:\vfp\samples\controls\grid\controls.scx
  27031. THISFORM
  27032. GRID1
  27033. COLUMN3
  27034. SPARSE
  27035. VALUE
  27036. Click,
  27037. c:\vfp\samples\controls\grid\
  27038. controls.scx
  27039. c:\vfp\samples\controls\grid\controls.scx
  27040. THISFORM
  27041. GRID1
  27042. COLUMN4
  27043. SPARSE
  27044. VALUE
  27045. Click,
  27046. c:\vfp\samples\controls\grid\
  27047. controls.scx
  27048. c:\vfp\samples\controls\grid\controls.scx
  27049. mainb
  27050. Unload,
  27051. c:\vfp\samples\controls\grid\
  27052. controls.scx
  27053. c:\vfp\samples\controls\grid\controls.scx
  27054. unit_price_spinner
  27055. spinner
  27056. in_stock_spinner
  27057. spinner
  27058. discontinu_checkbox
  27059. checkbox
  27060. unit_price_spinner
  27061. in_stock_spinner
  27062. discontinu_checkbox
  27063. COLUMN2    
  27064. ADDOBJECT
  27065. COLUMN3
  27066. COLUMN4
  27067. CURRENTCONTROL
  27068. DISCONTINU_CHECKBOX
  27069. CAPTION
  27070. UNIT_PRICE_SPINNER
  27071. VISIBLE
  27072. IN_STOCK_SPINNER
  27073. Init,
  27074. c:\vfp\samples\controls\grid\
  27075. controls.scx
  27076. c:\vfp\samples\controls\grid\controls.scx
  27077. THISFORM
  27078. GRID1
  27079. COLUMN2
  27080. SPARSE
  27081. VALUE
  27082. Click,
  27083. c:\vfp\samples\controls\grid\
  27084. controls.scx
  27085. c:\vfp\samples\controls\grid\controls.scx
  27086. THISFORM
  27087. GRID1
  27088. COLUMN3
  27089. SPARSE
  27090. VALUE
  27091. Click,
  27092. c:\vfp\samples\controls\grid\
  27093. controls.scx
  27094. c:\vfp\samples\controls\grid\controls.scx
  27095. THISFORM
  27096. GRID1
  27097. COLUMN4
  27098. SPARSE
  27099. VALUE
  27100. Click,
  27101. c:\vfp\samples\controls\grid\
  27102. controls.scx
  27103. c:\vfp\samples\controls\grid\controls.scx
  27104. PLATFORM
  27105. UNIQUEID
  27106. TIMESTAMP
  27107. CLASS
  27108. CLASSLOC
  27109. BASECLASS
  27110. OBJNAME
  27111. PARENT
  27112. PROPERTIES
  27113. PROTECTED
  27114. METHODS
  27115. OBJCODE
  27116. COMMENT
  27117. RESERVED1
  27118. RESERVED2
  27119. RESERVED3
  27120. RESERVED4
  27121. RESERVED5
  27122. RESERVED6
  27123. RESERVED7
  27124. RESERVED8
  27125. RESERVED9
  27126. RESERVED10
  27127.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTU0N2ZQO 493773906        17                  18        19                  20                                                                              32                                                                                           WINDOWS _QV40QYF3J 496261462        23                  24        25        26        27                                                                                                                                                                           WINDOWS _QTU0N2ZR9 496261462        33                  34        35                  36                  42       634                                                                                                                                             WINDOWS _QTU0N2ZVX 494633879        72                  73        74        75        76                                                                                                                                                                           WINDOWS _QTU0N2ZYO 494633879        81                  82        83        84        85                                                                                                                                                                           WINDOWS _QTU0N301G 496261463        90                  91        92        93        94                  98       651                                                                                                                                             WINDOWS _QTU0N306B 494633879       110                 111       112       113       114                                                                                                                                                                           WINDOWS _QTU0N30A1 494633879       118                 119       120       121       122                                                                                                                                                                           WINDOWS _QTU0N30EC 496261463       127                 128       129       130       131                 136       661                                                                                                                                             WINDOWS _QTU0N30KS 494633879       295                 296       297       298       299                                                                                                                                                                           WINDOWS _QTU0N30NE 496261463       304                 305       306       307       308                 312       736                                                                                                                                             COMMENT FONTINFO                                                                     323                                                                                                                                                                          
  27128. VERSION =  0.028
  27129. dataenvironment
  27130. dataenvironment
  27131. Datanavigation
  27132. ILeft = 54
  27133. Top = 40
  27134. Width = 581
  27135. Height = 300
  27136. Name = "Datanavigation"
  27137. cursor
  27138. cursor
  27139. Cursor1
  27140. Datanavigation.
  27141. Left = 20
  27142. Top = 10
  27143. Width = 98
  27144. Height = 108
  27145. Alias = "employee"
  27146. Database = ..\..\data\testdata.dbc
  27147. CursorSource = "employee"
  27148. Name = "Cursor1"
  27149. form1
  27150. Top =   5.19
  27151. Left =  18.83
  27152. Height =  19.63
  27153. Width =  69.00
  27154. AutoCenter = .T.
  27155. BackColor = 192,192,192
  27156. Caption = "RowSourceTypes"
  27157. DefButton = DefButton
  27158. Name = "form1"
  27159. PROCEDURE Init
  27160. lTemp1 = AMEMBERS(aArray1,thisform.list1)
  27161. ENDPROC
  27162. PROCEDURE Load
  27163. PUBLIC cValueVariable, aArray1[10]
  27164. #define VAR_LOC "Hello World"
  27165. cValueVariable = VAR_LOC
  27166. ENDPROC
  27167. PROCEDURE Unload
  27168. * If this form is run from main.scx in controls.app,
  27169. * the hidden form object, main, is made visible when
  27170. * this form is unloaded
  27171. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  27172.     main.show
  27173. ENDIF
  27174. ENDPROC
  27175. LTEMP1
  27176. AARRAY1
  27177. THISFORM
  27178. LIST1,
  27179. Hello World
  27180. CVALUEVARIABLE
  27181. AARRAY14
  27182. mainb
  27183. Init,
  27184. Loadm
  27185. Unload
  27186. c:\vfp\samples\controls\lists\
  27187. 80605206.tmp
  27188. c:\vfp\samples\controls\lists\80605206.tmp
  27189. label
  27190. label
  27191. Label1
  27192. form1.
  27193. BackStyle = 0
  27194. Caption = "Listbox.RowSourceType"
  27195. Height =   1.00
  27196. Left =  40.17
  27197. Top =  12.38
  27198. Width =  28.17
  27199. Name = "Label1"
  27200. label
  27201. label
  27202. Label2
  27203. form1.
  27204. }BackStyle = 0
  27205. Caption = "Listbox.RowSource"
  27206. Height =   1.00
  27207. Left =   3.17
  27208. Top =  12.38
  27209. Width =  24.17
  27210. Name = "Label2"
  27211. textbox
  27212. textbox
  27213. Text1
  27214. form1.
  27215. gBackColor = 192,192,192
  27216. Height =   1.50
  27217. Left =  41.67
  27218. Top =  13.50
  27219. Width =  23.17
  27220. Name = "Text1"
  27221. 2PROCEDURE Init
  27222. this.value = "0 - None"
  27223. ENDPROC
  27224. 0 - None
  27225. VALUE
  27226. Init,
  27227. c:\vfp\samples\controls\lists\
  27228. 80605206.tmp
  27229. c:\vfp\samples\controls\lists\80605206.tmp
  27230. textbox
  27231. textbox
  27232. Text2
  27233. form1.
  27234. gBackColor = 192,192,192
  27235. Height =   4.75
  27236. Left =   2.67
  27237. Top =  13.50
  27238. Width =  35.17
  27239. Name = "Text2"
  27240. listbox
  27241. listbox
  27242. List1
  27243. form1.
  27244. RowSourceType = 6
  27245. Height =   9.44
  27246. Left =   2.50
  27247. Top =   2.38
  27248. Width =  64.00
  27249. ItemBackColor = 192,192,192
  27250. BorderColor = 255,255,255
  27251. Name = "List1"
  27252. combobox
  27253. combobox
  27254. Combo1
  27255. form1.
  27256. BackColor = 192,192,192
  27257. Value = 1
  27258. ControlSource = ""
  27259. Height =   1.38
  27260. Left =  23.67
  27261. Style = 2
  27262. Top =   0.44
  27263. Width =  24.17
  27264. Name = "Combo1"
  27265. PROCEDURE Click
  27266. SELECT employee
  27267. thisform.text1.value = alltrim(str(this.listitemid-1)) + " - " + this.list(this.listindex)
  27268. DO CASE    
  27269.     CASE this.listitemid = 1
  27270.         thisform.list1.ColumnCount = 0
  27271.         thisform.list1.rowsourcetype = 0
  27272.         thisform.list1.rowsource = ""
  27273.         thisform.text2.value = ""
  27274.     CASE this.listitemid = 2
  27275.         thisform.list1.ColumnCount = 0
  27276.         thisform.list1.rowsourcetype = 0
  27277.         thisform.list1.rowsource = cValueVariable
  27278.         thisform.list1.rowsourcetype = 1
  27279.         thisform.text2.value = "cValueVariable"
  27280.     CASE this.listitemid = 3
  27281.         thisform.list1.ColumnCount = 3
  27282.         thisform.list1.columnwidths = "6,20,20"
  27283.         thisform.list1.rowsourcetype = 0
  27284.         thisform.list1.rowsource = "employee"
  27285.         thisform.list1.rowsourcetype = 2
  27286.         thisform.text2.value = "employee.dbf: first 3 fields"
  27287.     CASE this.listitemid = 4
  27288.         thisform.list1.ColumnCount = 2
  27289.         thisform.list1.columnwidths = "20,25"
  27290.         thisform.list1.rowsourcetype = 0
  27291.         thisform.list1.rowsource = "SELECT first_name,last_name from employee where first_name='A' into cursor temp"
  27292.         thisform.list1.rowsourcetype = 3
  27293.         thisform.text2.value = "SELECT first_name,last_name from employee where first_name='A'"
  27294.     CASE this.listitemid = 5
  27295.         thisform.list1.ColumnCount = 2
  27296.         thisform.list1.columnwidths = "20,25"
  27297.         thisform.list1.rowsourcetype = 0
  27298.         thisform.list1.rowsource = "region.qpr"
  27299.         thisform.list1.rowsourcetype = 4
  27300.         thisform.text2.value = "REGION.QPR - a query for people who do not have a region listed in the table"
  27301.     CASE this.listitemid = 6
  27302.         thisform.list1.ColumnCount = 0
  27303.         thisform.list1.rowsourcetype = 0
  27304.         thisform.list1.rowsource = "aArray1"
  27305.         thisform.list1.rowsourcetype = 5
  27306.         thisform.text2.value = "Array - contents of the array is the AMEMBERS() of the listbox"
  27307.     CASE this.listitemid = 7
  27308.         thisform.list1.ColumnCount = 2
  27309.         thisform.list1.columnwidths = "20,20"
  27310.         thisform.list1.rowsourcetype = 0
  27311.         thisform.list1.rowsource = "city,postalcode"
  27312.         thisform.list1.rowsourcetype = 6
  27313.         thisform.text2.value = "city and postalcode"
  27314.     CASE this.listitemid = 8
  27315.         thisform.list1.ColumnCount = 0
  27316.         thisform.list1.rowsourcetype = 0
  27317.         thisform.list1.rowsource = "*.DBF"
  27318.         thisform.list1.rowsourcetype = 7
  27319.         thisform.text2.value = "*.DBF files only"
  27320.     CASE this.listitemid = 9
  27321.         thisform.list1.ColumnCount = 0
  27322.         thisform.list1.rowsourcetype = 0
  27323.         thisform.list1.rowsource = "employee.dbf"
  27324.         thisform.list1.rowsourcetype = 8
  27325.         thisform.text2.value = "Structure of employee.dbf"
  27326. ENDCASE
  27327. ENDPROC
  27328. PROCEDURE Init
  27329. this.additem("None")
  27330. this.additem("Value")
  27331. this.additem("Table")
  27332. this.additem("SQL Statement")
  27333. this.additem("Query (.QPR)")
  27334. this.additem("Array")
  27335. this.additem("Fields")
  27336. this.additem("Files")
  27337. this.additem("Structure")
  27338. this.value = 1
  27339. ENDPROC
  27340. cValueVariable
  27341. 6,20,20
  27342. employee
  27343. employee.dbf: first 3 fields
  27344. 20,25
  27345. SELECT first_name,last_name from employee where first_name='A' into cursor temp
  27346. SELECT first_name,last_name from employee where first_name='A'
  27347. 20,25
  27348. region.qpr
  27349. REGION.QPR - a query for people who do not have a region listed in the table
  27350. aArray1
  27351. Array - contents of the array is the AMEMBERS() of the listbox
  27352. 20,20
  27353. city,postalcode
  27354. city and postalcode
  27355. *.DBF
  27356. *.DBF files only
  27357. employee.dbf
  27358. Structure of employee.dbf
  27359. EMPLOYEE
  27360. THISFORM
  27361. TEXT1
  27362. VALUE
  27363. LISTITEMID
  27364. LIST    
  27365. LISTINDEX
  27366. LIST1
  27367. COLUMNCOUNT
  27368. ROWSOURCETYPE    
  27369. ROWSOURCE
  27370. TEXT2
  27371. CVALUEVARIABLE
  27372. COLUMNWIDTHS
  27373. Value
  27374. Table
  27375. SQL Statement
  27376. Query (.QPR)
  27377. Array
  27378. Fields
  27379. Files
  27380. Structure
  27381. ADDITEM
  27382. VALUE
  27383. Click,
  27384. Init&
  27385. c:\vfp\samples\controls\lists\
  27386. 80605206.tmp
  27387. c:\vfp\samples\controls\lists\80605206.tmp
  27388. label
  27389. label
  27390. Label3
  27391. form1.
  27392. Alignment = 2
  27393. BackStyle = 0
  27394. Caption = "Row Source Types"
  27395. Height =   1.00
  27396. Left =   1.67
  27397. Top =   0.50
  27398. Width =  22.17
  27399. Name = "Label3"
  27400. commandbutton
  27401. commandbutton
  27402. Command1
  27403. form1.
  27404. pTop =  16.19
  27405. Left =  45.17
  27406. Height =   2.00
  27407. Width =  16.17
  27408. Caption = "OK"
  27409. Default = .T.
  27410. Name = "Command1"
  27411. 6PROCEDURE Click
  27412. release thisform
  27413. rele all
  27414. ENDPROC
  27415. THISFORM
  27416. Click,
  27417. c:\vfp\samples\controls\lists\
  27418. 80605206.tmp
  27419. c:\vfp\samples\controls\lists\80605206.tmp
  27420. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  27421. VERSION =  0.028
  27422. dataenvironment
  27423. dataenvironment
  27424. Datanavigation
  27425. ILeft = 54
  27426. Top = 40
  27427. Width = 581
  27428. Height = 300
  27429. Name = "Datanavigation"
  27430. cursor
  27431. cursor
  27432. Cursor1
  27433. Datanavigation
  27434. Left = 20
  27435. Top = 10
  27436. Width = 98
  27437. Height = 108
  27438. Alias = "employee"
  27439. Database = ..\..\data\testdata.dbc
  27440. CursorSource = "employee"
  27441. Name = "Cursor1"
  27442. form1
  27443. Top =   1.38
  27444. Left =  11.67
  27445. Height =  19.63
  27446. Width =  69.00
  27447. AutoCenter = .T.
  27448. BackColor = 192,192,192
  27449. Caption = "RowSourceTypes"
  27450. DefButton = DefButton
  27451. Name = "form1"
  27452. PROCEDURE Init
  27453. lTemp1 = AMEMBERS(aArray1,thisform.list1)
  27454. ENDPROC
  27455. PROCEDURE Load
  27456. PUBLIC cValueVariable, aArray1[10]
  27457. cValueVariable = "Hello World"
  27458. ENDPROC
  27459. PROCEDURE Unload
  27460. * If this form is run from main.scx in controls.app,
  27461. * the hidden form object, main, is made visible when
  27462. * this form is unloaded
  27463. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  27464.     main.show
  27465. ENDIF
  27466. ENDPROC
  27467. LTEMP1
  27468. AARRAY1
  27469. THISFORM
  27470. LIST1,
  27471. Hello World
  27472. CVALUEVARIABLE
  27473. AARRAY14
  27474. mainb
  27475. Init,
  27476. Loadm
  27477. Unload
  27478. c:\vfp\samples\controls\lists\
  27479. multdat1.scx
  27480. c:\vfp\samples\controls\lists\multdat1.scx
  27481. label
  27482. label
  27483. Label1
  27484. form1
  27485. BackStyle = 0
  27486. Caption = "Listbox.RowSourceType"
  27487. Height =   1.00
  27488. Left =  40.17
  27489. Top =  12.38
  27490. Width =  28.17
  27491. Name = "Label1"
  27492. label
  27493. label
  27494. Label2
  27495. form1
  27496. }BackStyle = 0
  27497. Caption = "Listbox.RowSource"
  27498. Height =   1.00
  27499. Left =   3.17
  27500. Top =  12.38
  27501. Width =  24.17
  27502. Name = "Label2"
  27503. textbox
  27504. textbox
  27505. Text1
  27506. form1
  27507. gBackColor = 192,192,192
  27508. Height =   1.50
  27509. Left =  41.67
  27510. Top =  13.50
  27511. Width =  23.17
  27512. Name = "Text1"
  27513. 2PROCEDURE Init
  27514. this.value = "0 - None"
  27515. ENDPROC
  27516. 0 - None
  27517. VALUE
  27518. Init,
  27519. c:\vfp\samples\controls\lists\
  27520. multdat1.scx
  27521. c:\vfp\samples\controls\lists\multdat1.scx
  27522. textbox
  27523. textbox
  27524. Text2
  27525. form1
  27526. gBackColor = 192,192,192
  27527. Height =   4.75
  27528. Left =   2.67
  27529. Top =  13.50
  27530. Width =  35.17
  27531. Name = "Text2"
  27532. listbox
  27533. listbox
  27534. List1
  27535. form1
  27536. RowSourceType = 6
  27537. Height =   9.44
  27538. Left =   2.50
  27539. Top =   2.38
  27540. Width =  64.00
  27541. ItemBackColor = 192,192,192
  27542. BorderColor = 255,255,255
  27543. Name = "List1"
  27544. combobox
  27545. combobox
  27546. Combo1
  27547. form1
  27548. BackColor = 192,192,192
  27549. Value = 1
  27550. ControlSource = ""
  27551. Height =   1.38
  27552. Left =  23.67
  27553. Style = 2
  27554. Top =   0.44
  27555. Width =  24.17
  27556. Name = "Combo1"
  27557. PROCEDURE Click
  27558. SELECT employee
  27559. thisform.text1.value = alltrim(str(this.listitemid-1)) + " - " + this.list(this.listindex)
  27560. DO CASE    
  27561.     CASE this.listitemid = 1
  27562.         thisform.list1.ColumnCount = 0
  27563.         thisform.list1.rowsourcetype = 0
  27564.         thisform.list1.rowsource = ""
  27565.         thisform.text2.value = ""
  27566.     CASE this.listitemid = 2
  27567.         thisform.list1.ColumnCount = 0
  27568.         thisform.list1.rowsourcetype = 0
  27569.         thisform.list1.rowsource = cValueVariable
  27570.         thisform.list1.rowsourcetype = 1
  27571.         thisform.text2.value = "cValueVariable"
  27572.     CASE this.listitemid = 3
  27573.         thisform.list1.ColumnCount = 3
  27574.         thisform.list1.columnwidths = "6,20,20"
  27575.         thisform.list1.rowsourcetype = 0
  27576.         thisform.list1.rowsource = "employee"
  27577.         thisform.list1.rowsourcetype = 2
  27578.         thisform.text2.value = "employee.dbf: first 3 fields"
  27579.     CASE this.listitemid = 4
  27580.         thisform.list1.ColumnCount = 2
  27581.         thisform.list1.columnwidths = "20,25"
  27582.         thisform.list1.rowsourcetype = 0
  27583.         thisform.list1.rowsource = "SELECT first_name,last_name from employee where first_name='A' into cursor temp"
  27584.         thisform.list1.rowsourcetype = 3
  27585.         thisform.text2.value = "SELECT first_name,last_name from employee where first_name='A'"
  27586.     CASE this.listitemid = 5
  27587.         thisform.list1.ColumnCount = 2
  27588.         thisform.list1.columnwidths = "20,25"
  27589.         thisform.list1.rowsourcetype = 0
  27590.         thisform.list1.rowsource = "region.qpr"
  27591.         thisform.list1.rowsourcetype = 4
  27592.         thisform.text2.value = "REGION.QPR - a query for people who do not have a region listed in the table"
  27593.     CASE this.listitemid = 6
  27594.         thisform.list1.ColumnCount = 0
  27595.         thisform.list1.rowsourcetype = 0
  27596.         thisform.list1.rowsource = "aArray1"
  27597.         thisform.list1.rowsourcetype = 5
  27598.         thisform.text2.value = "Array - contents of the array is the AMEMBERS() of the listbox"
  27599.     CASE this.listitemid = 7
  27600.         thisform.list1.ColumnCount = 2
  27601.         thisform.list1.columnwidths = "20,20"
  27602.         thisform.list1.rowsourcetype = 0
  27603.         thisform.list1.rowsource = "city,postalcode"
  27604.         thisform.list1.rowsourcetype = 6
  27605.         thisform.text2.value = "city and postalcode"
  27606.     CASE this.listitemid = 8
  27607.         thisform.list1.ColumnCount = 0
  27608.         thisform.list1.rowsourcetype = 0
  27609.         thisform.list1.rowsource = "*.DBF"
  27610.         thisform.list1.rowsourcetype = 7
  27611.         thisform.text2.value = "*.DBF files only"
  27612.     CASE this.listitemid = 9
  27613.         thisform.list1.ColumnCount = 0
  27614.         thisform.list1.rowsourcetype = 0
  27615.         thisform.list1.rowsource = "employee.dbf"
  27616.         thisform.list1.rowsourcetype = 8
  27617.         thisform.text2.value = "Structure of employee.dbf"
  27618. ENDCASE
  27619. ENDPROC
  27620. PROCEDURE Init
  27621. this.additem("None")
  27622. this.additem("Value")
  27623. this.additem("Table")
  27624. this.additem("SQL Statement")
  27625. this.additem("Query (.QPR)")
  27626. this.additem("Array")
  27627. this.additem("Fields")
  27628. this.additem("Files")
  27629. this.additem("Structure")
  27630. this.value = 1
  27631. ENDPROC
  27632. cValueVariable
  27633. 6,20,20
  27634. employee
  27635. employee.dbf: first 3 fields
  27636. 20,25
  27637. SELECT first_name,last_name from employee where first_name='A' into cursor temp
  27638. SELECT first_name,last_name from employee where first_name='A'
  27639. 20,25
  27640. region.qpr
  27641. REGION.QPR - a query for people who do not have a region listed in the table
  27642. aArray1
  27643. Array - contents of the array is the AMEMBERS() of the listbox
  27644. 20,20
  27645. city,postalcode
  27646. city and postalcode
  27647. *.DBF
  27648. *.DBF files only
  27649. employee.dbf
  27650. Structure of employee.dbf
  27651. EMPLOYEE
  27652. THISFORM
  27653. TEXT1
  27654. VALUE
  27655. LISTITEMID
  27656. LIST    
  27657. LISTINDEX
  27658. LIST1
  27659. COLUMNCOUNT
  27660. ROWSOURCETYPE    
  27661. ROWSOURCE
  27662. TEXT2
  27663. CVALUEVARIABLE
  27664. COLUMNWIDTHS
  27665. Value
  27666. Table
  27667. SQL Statement
  27668. Query (.QPR)
  27669. Array
  27670. Fields
  27671. Files
  27672. Structure
  27673. ADDITEM
  27674. VALUE
  27675. Click,
  27676. Init&
  27677. c:\vfp\samples\controls\lists\
  27678. multdat1.scx
  27679. c:\vfp\samples\controls\lists\multdat1.scx
  27680. label
  27681. label
  27682. Label3
  27683. form1
  27684. Alignment = 2
  27685. BackStyle = 0
  27686. Caption = "Row Source Types"
  27687. Height =   1.00
  27688. Left =   1.67
  27689. Top =   0.50
  27690. Width =  22.17
  27691. Name = "Label3"
  27692. commandbutton
  27693. commandbutton
  27694. Command1
  27695. form1
  27696. pTop =  16.19
  27697. Left =  45.17
  27698. Height =   2.00
  27699. Width =  16.17
  27700. Caption = "OK"
  27701. Default = .T.
  27702. Name = "Command1"
  27703. 6PROCEDURE Click
  27704. release thisform
  27705. rele all
  27706. ENDPROC
  27707. THISFORM
  27708. Click,
  27709. c:\vfp\samples\controls\lists\
  27710. multdat1.scx
  27711. c:\vfp\samples\controls\lists\multdat1.scx
  27712. "Arial, 1, 10, 6, 16, 13, 15, 3, 0
  27713. LTEMP1
  27714. AARRAY1
  27715. THISFORM
  27716. LIST1,
  27717. Hello World
  27718. CVALUEVARIABLE
  27719. AARRAY14
  27720. mainb
  27721. Init,
  27722. Loadm
  27723. Unload
  27724. c:\vfp\samples\controls\lists\
  27725. multdat1.scx
  27726. c:\vfp\samples\controls\lists\multdat1.scx
  27727. 0 - None
  27728. VALUE
  27729. Init,
  27730. c:\vfp\samples\controls\lists\
  27731. multdat1.scx
  27732. c:\vfp\samples\controls\lists\multdat1.scx
  27733. cValueVariable
  27734. 6,20,20
  27735. employee
  27736. employee.dbf: first 3 fields
  27737. 20,25
  27738. SELECT first_name,last_name from employee where first_name='A' into cursor temp
  27739. SELECT first_name,last_name from employee where first_name='A'
  27740. 20,25
  27741. region.qpr
  27742. REGION.QPR - a query for people who do not have a region listed in the table
  27743. aArray1
  27744. Array - contents of the array is the AMEMBERS() of the listbox
  27745. 20,20
  27746. city,postalcode
  27747. city and postalcode
  27748. *.DBF
  27749. *.DBF files only
  27750. employee.dbf
  27751. Structure of employee.dbf
  27752. EMPLOYEE
  27753. THISFORM
  27754. TEXT1
  27755. VALUE
  27756. LISTITEMID
  27757. LIST    
  27758. LISTINDEX
  27759. LIST1
  27760. COLUMNCOUNT
  27761. ROWSOURCETYPE    
  27762. ROWSOURCE
  27763. TEXT2
  27764. CVALUEVARIABLE
  27765. COLUMNWIDTHS
  27766. Value
  27767. Table
  27768. SQL Statement
  27769. Query (.QPR)
  27770. Array
  27771. Fields
  27772. Files
  27773. Structure
  27774. ADDITEM
  27775. VALUE
  27776. Click,
  27777. Init&
  27778. c:\vfp\samples\controls\lists\
  27779. multdat1.scx
  27780. c:\vfp\samples\controls\lists\multdat1.scx
  27781. THISFORM
  27782. Click,
  27783. c:\vfp\samples\controls\lists\
  27784. multdat1.scx
  27785. c:\vfp\samples\controls\lists\multdat1.scx
  27786. employee
  27787. temp2
  27788. LAST_NAME
  27789. FIRST_NAME
  27790. EMPLOYEE
  27791. REGION
  27792. TEMP24
  27793. ctoolbar
  27794. formbutton
  27795. OTOOLBAR
  27796. ONEWFORM
  27797. CMDQUIT
  27798. SETFOCUSB
  27799. mainb
  27800. OTOOLBAR
  27801. ONEWFORM
  27802. Toolbar
  27803. NEWSOURCE
  27804. NEWCURRENTX
  27805. NEWCURRENTY
  27806. NEWSTATE
  27807. PARENT    
  27808. BASECLASS
  27809. CAPTION
  27810. PICTURE
  27811. THISFORMR
  27812. THISFORM
  27813. CMDFORM
  27814. CAPTION
  27815. PICTURE
  27816. Destroy
  27817. dragdrop
  27818. click8
  27819. clickP
  27820. Drag and Drop Toolbar
  27821. red.bmp
  27822. yellow.bmp
  27823. Yellow
  27824. green.bmp
  27825. Green
  27826. SCALEMODE
  27827. CAPTION
  27828. CMDIM
  27829. CMDFORMBUTTON
  27830. PICTURE
  27831. Drag and Drop Example
  27832. Drag toolbar objects onto form controls.
  27833. Drag them to the toolbar to remove them.
  27834. HEIGHT
  27835. WIDTH    
  27836. SCALEMODE
  27837. AUTOCENTER    
  27838. BACKCOLOR
  27839. CAPTION
  27840. SHPBOX
  27841. SHAPE
  27842. SPECIALEFFECT
  27843. LABEL1
  27844. LABEL
  27845. AUTOSIZE
  27846. LABEL2
  27847. CMDFORM
  27848. CMDFORMBUTTON
  27849. CMDQUIT
  27850. CMRESET
  27851. CMDRESETZ
  27852. SCALEMODE
  27853. DRAGMODE
  27854. WIDTH
  27855. HEIGHT
  27856. CAPTION
  27857. FONTTRANSPARENTN
  27858. HEIGHT
  27859. CAPTION
  27860. DEFAULTQ
  27861. Reset
  27862. HEIGHT
  27863. CAPTION
  27864. DEFAULT
  27865. ctoolbar
  27866. TOOLBAR
  27867. formbutton
  27868. cmdformbutton
  27869. commandbutton
  27870. cmdquit
  27871. COMMANDBUTTONz
  27872. cmdreset
  27873. COMMANDBUTTON
  27874. CustTool
  27875. NOUTPUT
  27876. LTRACKMOUSE
  27877. LDONE    
  27878. EVENTTOOL
  27879. NOUTPUT
  27880. OFORMSET
  27881. EVENTWIN
  27882. VISIBLE!
  27883. NOUTPUT
  27884. OFORMSET
  27885. EVENTWIN
  27886. VISIBLE!
  27887. NOUTPUT
  27888. OFORMSET
  27889. EVENTWIN
  27890. VISIBLE!
  27891. NOUTPUT
  27892. OFORMSET
  27893. EVENTWIN
  27894. VISIBLEU
  27895. NOUTPUT
  27896. OFORMSET
  27897. EVENTWIN
  27898. EDIT1
  27899. VALUE2
  27900. LTRACKMOUSEA
  27901. Press a key to return...
  27902. OFORMSET
  27903. VISIBLE
  27904. LDONE
  27905. OFORMSET
  27906. ACTIVATE
  27907. Destroy
  27908. optgrp1.option1.Click
  27909. optgrp1.option2.Click
  27910. optgrp1.option3.ClickW
  27911. optgrp1.option4.Click
  27912. cmdErase.Click
  27913. cmdMouse.Clickq
  27914. cmdHide.Click
  27915. cmdClose.Click
  27916. Output
  27917. Screen.BMP
  27918. Output to Screen
  27919. Commdwin.BMP
  27920. Output to Window
  27921. New.BMP
  27922. Output to File
  27923. Remove.BMP
  27924. No Output
  27925. Erase.BMP
  27926. Erase Output Area
  27927. Mouse.BMP
  27928. Track Mouse Events
  27929. Hide.BMP
  27930. Hide Windows
  27931. Close.BMP
  27932. Close Event Tracker
  27933. CAPTION
  27934. HEIGHT
  27935. SMALLHEIGHT
  27936. SMALLWIDTH
  27937. LARGEHEIGHT
  27938. LARGEWIDTH
  27939. BUTTONSIZE
  27940. VISIBLE
  27941. CONTROLBOX
  27942. OPTGRP1
  27943. OPTIONGROUP
  27944. BORDERWIDTH
  27945. BUTTONCOUNT
  27946. WIDTH
  27947. OPTION1
  27948. STYLE
  27949. PICTURE
  27950. TOOLTIPTEXT
  27951. OPTION2
  27952. OPTION3
  27953. OPTION4
  27954. SEP1    
  27955. SEPARATOR
  27956. CMDERASE
  27957. COMMANDBUTTON
  27958. CMDMOUSE
  27959. CHECKBOX
  27960. CMDHIDE
  27961. CMDCLOSE
  27962. CustTool
  27963. ToolBar
  27964. PLATFORM
  27965. UNIQUEID
  27966. TIMESTAMP
  27967. CLASS
  27968. CLASSLOC
  27969. BASECLASS
  27970. OBJNAME
  27971. PARENT
  27972. PROPERTIES
  27973. PROTECTED
  27974. METHODS
  27975. OBJCODE
  27976. COMMENT
  27977. RESERVED1
  27978. RESERVED2
  27979. RESERVED3
  27980. RESERVED4
  27981. RESERVED5
  27982. RESERVED6
  27983. RESERVED7
  27984. RESERVED8
  27985. RESERVED9
  27986. RESERVED10
  27987.  COMMENT Screen                                                                                                                                              16                                                                                                     WINDOWS _QTS1039JM 493773160        17                  18        19                  20                                                                              66                                                                                           WINDOWS _QV40Q4EHS 505834647        23                  24        25        26        27                                                                                                                                                                           WINDOWS _QV40Q4EIC 505834647        32                  33        34        35        36                                                                                                                                                                           WINDOWS _QV40Q4EJ6 505834647        41                  42        43        44        45                                                                                                                                                                           WINDOWS _QV40Q4EKA 493773160        50                  51        52        53        54                                                                                                                                                                           WINDOWS _QV40Q4EKK 493773160        58                  59        60        61        62                                                                                                                                                                           WINDOWS _QTS0WZ4B6 505834647        67                  68        69                  70                  76       558                                                                                                                                             WINDOWS _QTS117M2N 491943630        94                  95        96        97        98                                                                                                                                                                           WINDOWS _QTS117M2X 491943630       102                 103       104       105       106                                                                                                                                                                           WINDOWS _QTS117M37 491943630       110                 111       112       113       114                                                                                                                                                                           WINDOWS _QTS117M38 491943630       118                 119       120       121       122                                                                                                                                                                           WINDOWS _QTS0WZ4C4 492522637       127                 128       129       130       131                                                                                                                                                                           WINDOWS _QTS0WZ4E0 492522637       137                 138       139       140       141                                                                                                                                                                           WINDOWS _QTS0XU2HD 492522386       152                 153       154       155       156                 166       568                                                                                                                                             WINDOWS _QTS10V7G8 492404769       177                 178       179       180       181                                                                                                                                                                           WINDOWS _QTS10V7GI 491943630       187                 188       189       190       191                                                                                                                                                                           WINDOWS _QTS10V7GS 491943630       197                 198       199       200       201                                                                                                                                                                           WINDOWS _QTS10V7H2 491943630       206                 207       208       209       210                                                                                                                                                                           WINDOWS _QTT0YRNQU 492522637       215                 216       217       218       219                                                                                                                                                                           WINDOWS _QTT0ZAEEA 491943630       224                 225       226       227       228                                                                                                                                                                           WINDOWS _QTT0ZAEEK 491943630       233                 234       235       236       237                                                                                                                                                                           WINDOWS _QTT0ZDRY1 491943630       241                 242       243       244       245                                                                                                                                                                           WINDOWS _QTT0ZDRYB 491943630       248                 249       250       251       252                                                                                                                                                                           WINDOWS _QUN0J2S24 492587852       255                 256       257       258       259                 263       577                                                                                                                                             WINDOWS _QVX0NI8Q7 495802178       275       276       277       278       279       280                                                                                                                                                                           COMMENT FONTINFO                                                                     286                                                                                                                                                                          
  27988. VERSION =  0.028
  27989. dataenvironment
  27990. dataenvironment
  27991. Datanavigation
  27992. ILeft = 21
  27993. Top = 59
  27994. Width = 623
  27995. Height = 352
  27996. Name = "Datanavigation"
  27997. cursor
  27998. cursor
  27999. Cursor1
  28000. Datanavigation.
  28001. Database = ..\..\data\testdata.dbc
  28002. Left = 20
  28003. Top = 10
  28004. Width = 98
  28005. Height = 226
  28006. Alias = "customer"
  28007. CursorSource = "customer"
  28008. Name = "Cursor1"
  28009. cursor
  28010. cursor
  28011. Cursor2
  28012. Datanavigation.
  28013. Database = ..\..\data\testdata.dbc
  28014. Left = 160
  28015. Top = 10
  28016. Width = 98
  28017. Height = 225
  28018. Alias = "orders"
  28019. CursorSource = "orders"
  28020. Name = "Cursor2"
  28021. cursor
  28022. cursor
  28023. Cursor3
  28024. Datanavigation.
  28025. Database = ..\..\data\testdata.dbc
  28026. Left = 300
  28027. Top = 10
  28028. Width = 98
  28029. Height = 223
  28030. Alias = "orditems"
  28031. CursorSource = "orditems"
  28032. Name = "Cursor3"
  28033. relation
  28034. relation
  28035.     Relation1
  28036. Datanavigation.
  28037. yParentAlias = "customer"
  28038. RelationalExpr = "cust_id"
  28039. ChildAlias = "orders"
  28040. ChildOrder = "cust_id"
  28041. Name = "Relation1"
  28042. relation
  28043. relation
  28044.     Relation2
  28045. Datanavigation.
  28046. {ParentAlias = "orders"
  28047. RelationalExpr = "order_id"
  28048. ChildAlias = "orditems"
  28049. ChildOrder = "order_id"
  28050. Name = "Relation2"
  28051. frmonetomany
  28052. ScaleMode = 3
  28053. Caption = "One to Many"
  28054. Top = 72
  28055. Left = 152
  28056. Height = 336
  28057. Width = 337
  28058. AutoCenter = .T.
  28059. BackColor = 192,192,192
  28060. DataSession = 2
  28061. Name = "frmonetomany"
  28062. PROCEDURE Unload
  28063. * If this form is run from main.scx in controls.app,
  28064. * the hidden form object, main, is made visible when
  28065. * this form is unloaded
  28066. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  28067.     main.show
  28068. ENDIF
  28069. ENDPROC
  28070. mainb
  28071. Unload,
  28072. c:\vfp\samples\controls\grid\
  28073. 58127480.tmp
  28074. c:\vfp\samples\controls\grid\58127480.tmp
  28075. label
  28076. label
  28077. lblItems
  28078. frmonetomany.
  28079. oCaption = "Items:"
  28080. Top = 175
  28081. Left = 25
  28082. BackColor = 192,192,192
  28083. Height = 13
  28084. Width = 49
  28085. Name = "lblItems"
  28086. label
  28087. label
  28088.     lblOrders
  28089. frmonetomany.
  28090. pCaption = "Orders:"
  28091. Top = 56
  28092. Left = 24
  28093. BackColor = 192,192,192
  28094. Height = 13
  28095. Width = 73
  28096. Name = "lblOrders"
  28097. label
  28098. label
  28099. lblCustomerID
  28100. frmonetomany.
  28101. yCaption = "Customer ID:"
  28102. Top = 8
  28103. Left = 169
  28104. BackColor = 192,192,192
  28105. Height = 13
  28106. Width = 85
  28107. Name = "lblCustomerID"
  28108. label
  28109. label
  28110. lblCustomerName
  28111. frmonetomany.
  28112. }Caption = "Customer Name:"
  28113. Top = 8
  28114. Left = 25
  28115. BackColor = 192,192,192
  28116. Height = 13
  28117. Width = 120
  28118. Name = "lblCustomerName"
  28119. textbox
  28120. textbox
  28121. txtCustomerID
  28122. frmonetomany.
  28123. Top = 24
  28124. Left = 168
  28125. BackColor = 0,0,0
  28126. ControlSource = "customer.cust_id"
  28127. ForeColor = 0,255,0
  28128. Height = 25
  28129. TabIndex = 1
  28130. Width = 145
  28131. Name = "txtCustomerID"
  28132.     grdOrders
  28133. frmonetomany.
  28134. KTop = 72
  28135. Left = 24
  28136. FontBold = .F.
  28137. BackColor = 0,0,0
  28138. ChildOrder = "cust_id"
  28139. DeleteMark = .F.
  28140. ForeColor = 0,255,0
  28141. GridLineColor = 0,255,0
  28142. Height = 97
  28143. LinkMaster = "customer"
  28144. RecordMark = .F.
  28145. RecordSource = "orders"
  28146. RecordSourceType = 1
  28147. RelationalExpr = "customer.cust_id"
  28148. TabIndex = 3
  28149. Width = 289
  28150. Name = "grdOrders"
  28151. grdItems
  28152. frmonetomany.
  28153. ;Top = 192
  28154. Left = 24
  28155. BackColor = 0,0,0
  28156. ChildOrder = "order_id"
  28157. DeleteMark = .F.
  28158. ForeColor = 0,255,0
  28159. GridLineColor = 0,255,0
  28160. Height = 97
  28161. LinkMaster = "orders"
  28162. RecordMark = .F.
  28163. RecordSource = "orditems"
  28164. RecordSourceType = 1
  28165. RelationalExpr = "orders.order_id"
  28166. TabIndex = 4
  28167. Width = 289
  28168. Name = "grdItems"
  28169. ,PROCEDURE Valid
  28170. thisform.refresh
  28171. ENDPROC
  28172. THISFORM
  28173. REFRESH
  28174. Valid,
  28175. c:\vfp\samples\controls\grid\
  28176. 58127480.tmp
  28177. c:\vfp\samples\controls\grid\58127480.tmp
  28178. label
  28179. label
  28180. lblCustomerNames
  28181. frmonetomany.
  28182. Caption = "Customer Name:"
  28183. Top = 7
  28184. Left = 24
  28185. BackColor = 192,192,192
  28186. BackStyle = 0
  28187. ForeColor = 255,255,255
  28188. Height = 13
  28189. Width = 121
  28190. Name = "lblCustomerNames"
  28191. label
  28192. label
  28193. lblCustomerID
  28194. frmonetomany.
  28195. Caption = "Customer ID:"
  28196. Top = 7
  28197. Left = 168
  28198. BackColor = 192,192,192
  28199. BackStyle = 0
  28200. ForeColor = 255,255,255
  28201. Height = 13
  28202. Width = 121
  28203. Name = "lblCustomerID"
  28204. label
  28205. label
  28206.     lblOrders
  28207. frmonetomany.
  28208. Caption = "Orders:"
  28209. Top = 55
  28210. Left = 23
  28211. BackColor = 192,192,192
  28212. BackStyle = 0
  28213. ForeColor = 255,255,255
  28214. Height = 13
  28215. Width = 85
  28216. Name = "lblOrders"
  28217. label
  28218. label
  28219. lblItems
  28220. frmonetomany.
  28221. Caption = "Items:"
  28222. Top = 174
  28223. Left = 23
  28224. BackColor = 192,192,192
  28225. BackStyle = 0
  28226. ForeColor = 255,255,255
  28227. Height = 13
  28228. Width = 61
  28229. Name = "lblItems"
  28230. textbox
  28231. textbox
  28232. txtCustomerName
  28233. frmonetomany.
  28234. Top = 24
  28235. Left = 24
  28236. BackColor = 0,0,0
  28237. ControlSource = "customer.company"
  28238. ForeColor = 0,255,0
  28239. Height = 25
  28240. Width = 133
  28241. Name = "txtCustomerName"
  28242.     linBottom
  28243. frmonetomany.
  28244. Top = 352
  28245. Left = 0
  28246. BorderWidth = 1
  28247. BorderColor = 128,128,128
  28248. Height = 0
  28249. Width = 339
  28250. LineSlant = "/"
  28251. Name = "linBottom"
  28252. linTop
  28253. frmonetomany.
  28254. jTop = 0
  28255. Left = -1
  28256. BorderWidth = 1
  28257. BorderColor = 255,255,255
  28258. Height = 0
  28259. Width = 361
  28260. Name = "linTop"
  28261. linLeft
  28262. frmonetomany.
  28263. ZTop = -6
  28264. Left = 0
  28265. BorderColor = 255,255,255
  28266. Height = 371
  28267. Width = 0
  28268. Name = "linLeft"
  28269. Line4
  28270. frmonetomany.
  28271. YTop = 1
  28272. Left = 336
  28273. BorderColor = 128,128,128
  28274. Height = 351
  28275. Width = 0
  28276. Name = "Line4"
  28277. commandbutton
  28278. commandbutton
  28279. cmdOK
  28280. frmonetomany.
  28281. _Caption = "OK"
  28282. Top = 300
  28283. Left = 245
  28284. Height = 25
  28285. Width = 37
  28286. Default = .F.
  28287. Name = "cmdOK"
  28288. =PROCEDURE Click
  28289. ThisForm.HIDE
  28290. RELEASE THISFORM
  28291. ENDPROC
  28292. THISFORM
  28293. Click,
  28294. c:\vfp\samples\controls\grid\
  28295. 58127480.tmp
  28296. c:\vfp\samples\controls\grid\58127480.tmp
  28297. ..\buttons.vcx
  28298.     container
  28299. frmonetomany.
  28300. Top = 300
  28301. Left = 36
  28302. skiptable = Customer
  28303. Name = "Vcr1"
  28304. cmdtop.Name = "cmdtop"
  28305. cmdprior.Name = "cmdprior"
  28306. cmdnext.Name = "cmdnext"
  28307. cmdbottom.Name = "cmdbottom"
  28308. DArial, 1, 10, 6, 16, 13, 15, 3, 0
  28309. Arial, 0, 10, 6, 16, 13, 16, 3, 0
  28310. VERSION =  0.028
  28311. dataenvironment
  28312. dataenvironment
  28313. Datanavigation
  28314. ILeft = 21
  28315. Top = 59
  28316. Width = 623
  28317. Height = 352
  28318. Name = "Datanavigation"
  28319. cursor
  28320. cursor
  28321. Cursor1
  28322. Datanavigation
  28323. Left = 20
  28324. Top = 10
  28325. Width = 98
  28326. Height = 226
  28327. Alias = "customer"
  28328. Database = ..\..\data\testdata.dbc
  28329. CursorSource = "customer"
  28330. Name = "Cursor1"
  28331. cursor
  28332. cursor
  28333. Cursor2
  28334. Datanavigation
  28335. Left = 160
  28336. Top = 10
  28337. Width = 98
  28338. Height = 225
  28339. Alias = "orders"
  28340. Database = ..\..\data\testdata.dbc
  28341. CursorSource = "orders"
  28342. Name = "Cursor2"
  28343. cursor
  28344. cursor
  28345. Cursor3
  28346. Datanavigation
  28347. Left = 300
  28348. Top = 10
  28349. Width = 98
  28350. Height = 223
  28351. Alias = "orditems"
  28352. Database = ..\..\data\testdata.dbc
  28353. CursorSource = "orditems"
  28354. Name = "Cursor3"
  28355. relation
  28356. relation
  28357.     Relation1
  28358. Datanavigation
  28359. yParentAlias = "customer"
  28360. RelationalExpr = "cust_id"
  28361. ChildAlias = "orders"
  28362. ChildOrder = "cust_id"
  28363. Name = "Relation1"
  28364. relation
  28365. relation
  28366.     Relation2
  28367. Datanavigation
  28368. {ParentAlias = "orders"
  28369. RelationalExpr = "order_id"
  28370. ChildAlias = "orditems"
  28371. ChildOrder = "order_id"
  28372. Name = "Relation2"
  28373. frmonetomany
  28374. ScaleMode = 3
  28375. Top = 10
  28376. Left = 156
  28377. Height = 336
  28378. Width = 337
  28379. AutoCenter = .T.
  28380. BackColor = 192,192,192
  28381. Caption = "One to Many"
  28382. Name = "frmonetomany"
  28383. PROCEDURE Unload
  28384. * If this form is run from main.scx in controls.app,
  28385. * the hidden form object, main, is made visible when
  28386. * this form is unloaded
  28387. IF NOT (TYPE('main') = 'U' OR ISNULL(main))
  28388.     main.show
  28389. ENDIF
  28390. ENDPROC
  28391. mainb
  28392. Unload,
  28393. c:\vfp\samples\controls\grid\
  28394. 1_many.scx
  28395. c:\vfp\samples\controls\grid\1_many.scx
  28396. label
  28397. label
  28398. lblItems
  28399. frmonetomany
  28400. oBackColor = 192,192,192
  28401. Caption = "Items:"
  28402. Height = 13
  28403. Left = 25
  28404. Top = 175
  28405. Width = 49
  28406. Name = "lblItems"
  28407. label
  28408. label
  28409.     lblOrders
  28410. frmonetomany
  28411. pBackColor = 192,192,192
  28412. Caption = "Orders:"
  28413. Height = 13
  28414. Left = 24
  28415. Top = 56
  28416. Width = 73
  28417. Name = "lblOrders"
  28418. label
  28419. label
  28420. lblCustomerID
  28421. frmonetomany
  28422. yBackColor = 192,192,192
  28423. Caption = "Customer ID:"
  28424. Height = 13
  28425. Left = 169
  28426. Top = 8
  28427. Width = 85
  28428. Name = "lblCustomerID"
  28429. label
  28430. label
  28431. lblCustomerName
  28432. frmonetomany
  28433. }BackColor = 192,192,192
  28434. Caption = "Customer Name:"
  28435. Height = 13
  28436. Left = 25
  28437. Top = 8
  28438. Width = 120
  28439. Name = "lblCustomerName"
  28440. textbox
  28441. textbox
  28442. txtCustomerID
  28443. frmonetomany
  28444. BackColor = 0,0,0
  28445. ControlSource = "customer.cust_id"
  28446. ForeColor = 0,255,0
  28447. Height = 25
  28448. Left = 168
  28449. TabIndex = 1
  28450. Top = 24
  28451. Width = 145
  28452. Name = "txtCustomerID"
  28453.     grdOrders
  28454. frmonetomany
  28455. KFontBold = .F.
  28456. BackColor = 0,0,0
  28457. ChildOrder = "cust_id"
  28458. DeleteMark = .F.
  28459. ForeColor = 0,255,0
  28460. GridLineColor = 0,255,0
  28461. Height = 97
  28462. Left = 24
  28463. LinkMaster = "customer"
  28464. RecordMark = .F.
  28465. RecordSource = "orders"
  28466. RecordSourceType = 1
  28467. RelationalExpr = "customer.cust_id"
  28468. TabIndex = 3
  28469. Top = 72
  28470. Width = 289
  28471. Name = "grdOrders"
  28472. grdItems
  28473. frmonetomany
  28474. ;BackColor = 0,0,0
  28475. ChildOrder = "order_id"
  28476. DeleteMark = .F.
  28477. ForeColor = 0,255,0
  28478. GridLineColor = 0,255,0
  28479. Height = 97
  28480. Left = 24
  28481. LinkMaster = "orders"
  28482. RecordMark = .F.
  28483. RecordSource = "orditems"
  28484. RecordSourceType = 1
  28485. RelationalExpr = "orders.order_id"
  28486. TabIndex = 4
  28487. Top = 192
  28488. Width = 289
  28489. Name = "grdItems"
  28490. ,PROCEDURE Valid
  28491. thisform.refresh
  28492. ENDPROC
  28493. THISFORM
  28494. REFRESH
  28495. Valid,
  28496. c:\vfp\samples\controls\grid\
  28497. 1_many.scx
  28498. c:\vfp\samples\controls\grid\1_many.scx
  28499. label
  28500. label
  28501. lblCustomerNames
  28502. frmonetomany
  28503. BackColor = 192,192,192
  28504. BackStyle = 0
  28505. Caption = "Customer Name:"
  28506. ForeColor = 255,255,255
  28507. Height = 13
  28508. Left = 24
  28509. Top = 7
  28510. Width = 121
  28511. Name = "lblCustomerNames"
  28512. label
  28513. label
  28514. lblCustomerID
  28515. frmonetomany
  28516. BackColor = 192,192,192
  28517. BackStyle = 0
  28518. Caption = "Customer ID:"
  28519. ForeColor = 255,255,255
  28520. Height = 13
  28521. Left = 168
  28522. Top = 7
  28523. Width = 121
  28524. Name = "lblCustomerID"
  28525. label
  28526. label
  28527.     lblOrders
  28528. frmonetomany
  28529. BackColor = 192,192,192
  28530. BackStyle = 0
  28531. Caption = "Orders:"
  28532. ForeColor = 255,255,255
  28533. Height = 13
  28534. Left = 23
  28535. Top = 55
  28536. Width = 85
  28537. Name = "lblOrders"
  28538. label
  28539. label
  28540. lblItems
  28541. frmonetomany
  28542. BackColor = 192,192,192
  28543. BackStyle = 0
  28544. Caption = "Items:"
  28545. ForeColor = 255,255,255
  28546. Height = 13
  28547. Left = 23
  28548. Top = 174
  28549. Width = 61
  28550. Name = "lblItems"
  28551. textbox
  28552. textbox
  28553. txtCustomerName
  28554. frmonetomany
  28555. BackColor = 0,0,0
  28556. ControlSource = "customer.company"
  28557. ForeColor = 0,255,0
  28558. Height = 25
  28559. Left = 24
  28560. Top = 24
  28561. Width = 133
  28562. Name = "txtCustomerName"
  28563.     linBottom
  28564. frmonetomany
  28565. BorderWidth = 1
  28566. BorderColor = 128,128,128
  28567. Height = 0
  28568. Left = 0
  28569. Top = 352
  28570. Width = 339
  28571. LineSlant = "/"
  28572. Name = "linBottom"
  28573. linTop
  28574. frmonetomany
  28575. jBorderWidth = 1
  28576. BorderColor = 255,255,255
  28577. Height = 0
  28578. Left = -1
  28579. Top = 0
  28580. Width = 361
  28581. Name = "linTop"
  28582. linLeft
  28583. frmonetomany
  28584. ZBorderColor = 255,255,255
  28585. Height = 371
  28586. Left = 0
  28587. Top = -6
  28588. Width = 0
  28589. Name = "linLeft"
  28590. Line4
  28591. frmonetomany
  28592. YBorderColor = 128,128,128
  28593. Height = 351
  28594. Left = 336
  28595. Top = 1
  28596. Width = 0
  28597. Name = "Line4"
  28598. commandbutton
  28599. commandbutton
  28600. cmdOK
  28601. frmonetomany
  28602. _Top = 300
  28603. Left = 245
  28604. Height = 25
  28605. Width = 37
  28606. Caption = "OK"
  28607. Default = .F.
  28608. Name = "cmdOK"
  28609. =PROCEDURE Click
  28610. ThisForm.HIDE
  28611. RELEASE THISFORM
  28612. ENDPROC
  28613. THISFORM
  28614. Click,
  28615. c:\vfp\samples\controls\grid\
  28616. 1_many.scx
  28617. c:\vfp\samples\controls\grid\1_many.scx
  28618. ..\buttons.vcx
  28619.     container
  28620. frmonetomany
  28621. ;Top = 300
  28622. Left = 36
  28623. skiptable = Customer
  28624. Name = "Vcr1"
  28625. DArial, 1, 10, 6, 16, 13, 15, 3, 0
  28626. Arial, 0, 10, 6, 16, 13, 16, 3, 0
  28627. mainb
  28628. Unload,
  28629. c:\vfp\samples\controls\grid\
  28630. 1_many.scx
  28631. c:\vfp\samples\controls\grid\1_many.scx
  28632. THISFORM
  28633. REFRESH
  28634. Valid,
  28635. c:\vfp\samples\controls\grid\
  28636. 1_many.scx
  28637. c:\vfp\samples\controls\grid\1_many.scx
  28638. THISFORM
  28639. Click,
  28640. c:\vfp\samples\controls\grid\
  28641. 1_many.scx
  28642. c:\vfp\samples\controls\grid\1_many.scx
  28643. FoxDraw
  28644. FdProc
  28645. Loading Fox Draw 1.0...
  28646. fdToolBar
  28647. tbrFD1
  28648. frmTF1
  28649. FRMFD1
  28650. TBRFD1
  28651. LLLAYOUT
  28652. LLFORM
  28653. LLCONTROLS    
  28654. LLPALETTE
  28655. FOXDRAW
  28656. FDPROC
  28657. HIDETOOLBAR    
  28658. SCALEMODE    
  28659. BACKCOLOR
  28660. VISIBLE
  28661. PLATFORM
  28662. UNIQUEID
  28663. TIMESTAMP
  28664. CLASS
  28665. CLASSLOC
  28666. BASECLASS
  28667. OBJNAME
  28668. PARENT
  28669. PROPERTIES
  28670. PROTECTED
  28671. METHODS
  28672. OBJCODE
  28673. COMMENT
  28674. RESERVED1
  28675. RESERVED2
  28676. RESERVED3
  28677. RESERVED4
  28678. RESERVED5
  28679. RESERVED6
  28680. RESERVED7
  28681. RESERVED8
  28682. RESERVED9
  28683. RESERVED10
  28684.  COMMENT Class              0                                                                                                                                 8                                                                                                     WINDOWS _QVU0USG09 495612604         9                  10        11                  12                  16       165                                      87        88        89                           102       103                 104                    
  28685. VERSION =  0.028
  28686. frmfd
  28687. ScaleMode = 3
  28688. Top = 27
  28689. Left = -1
  28690. Height = 360
  28691. Width = 430
  28692. Caption = "FoxDraw 1.0"
  28693. Closable = .F.
  28694. MousePointer = 1
  28695. tbrfd1 = ""
  28696. cformname = ""
  28697. cformmode = ""
  28698. cpencolor = ""
  28699. ndrawmode = 1
  28700. Name = "frmfd"
  28701. PROCEDURE Activate
  28702. *- Adjust Form postion for 640X480 if necessary
  28703. IF SYSMETRIC(1) <> 640
  28704.     THIS.AutoCenter = .t.
  28705.     THIS.Top = 1.00
  28706.     THIS.Left = ((_screen.width - THIS.Width)/2)
  28707. ENDIF
  28708. WAIT CLEAR
  28709. ENDPROC
  28710. PROCEDURE Init
  28711. *- Form Specific Init
  28712. *- Set form properties
  28713. THIS.ScaleMode = 3
  28714. THIS.cFormName = THIS.Caption
  28715. THIS.cFormMode = " - (Active - "
  28716. THIS.cPenColor = "Black"
  28717. THIS.mousepointer = 2
  28718. THIS.SetCaption
  28719. ENDPROC
  28720. PROCEDURE MouseDown
  28721. Parameters nButton, nShift, nXCoord, nYCoord
  28722. *- Set Start point if nDrawMode = 1 (Lines)
  28723. if THISFORM.MousePointer = 2
  28724.     THISFORM.PSet(nXCoord, nYCoord)
  28725. endif
  28726. ENDPROC
  28727. PROCEDURE MouseMove
  28728. Parameters nButton, nShift, nXCoord, nYCoord
  28729. *- Type of lines to draw - regular or 'anchored' (rays)
  28730. if nButton = 1 and This.MousePointer = 2
  28731.     if THISFORM.nDrawMode = 1    && Lines
  28732.         *- Draw from MouseDown point
  28733.         THISFORM.LINE(nXCoord, nYCoord)    
  28734.     else    && Rays
  28735.         *- Draw to CurrentX, CurrentY
  28736.         THISFORM.LINE(nXCoord, nYCoord, THISFORM.CurrentX, THISFORM.CurrentY)
  28737.     endif
  28738. endif
  28739. ENDPROC
  28740. PROCEDURE drawaction
  28741. Parameters nMPointer
  28742. * Change mouse pointer and form caption as needed
  28743.     if nMPointer = 1
  28744.         THISFORM.mousepointer = 2
  28745.     else
  28746.         THISFORM.MousePointer = 1
  28747.     endif
  28748.     THISFORM.cFormMode = iif(nMPointer = 2, ;
  28749.     " - (Inactive - "," - (Active - ")
  28750.     THISFORM.SetCaption
  28751.     THISFORM.refresh
  28752. ENDPROC
  28753. PROCEDURE drawcolor
  28754. Parameters nColor, cColorName
  28755. * Set colors, add to caption
  28756.     THISFORM.forecolor = nColor
  28757.     THISFORM.cPenColor = cColorName
  28758.     THISFORM.SetCaption
  28759. ENDPROC
  28760. PROCEDURE setcaption
  28761. *- Set form caption to current mode, color
  28762. LOCAL lcColorName
  28763. lcColorName = THISFORM.cPenColor + " Pen" + ;
  28764.     "/" + ltrim(str(THISFORM.DrawWidth,3,0)) +")"
  28765. THISFORM.Caption = ;
  28766. THIS.cFormName + THIS.cFormMode + lcColorName
  28767. ENDPROC
  28768. PROCEDURE chgdrawmode
  28769. *- Switch draw modes
  28770. THISFORM.nDrawMode = IIF(THISFORM.nDrawMode = 1, 0, 1)
  28771. ENDPROC
  28772. PROCEDURE setpenwidth
  28773. Parameters nValue
  28774. * Set pen width
  28775. THISFORM.DrawWidth = nValue
  28776. ENDPROC
  28777. PROCEDURE setdrawmode
  28778. Parameters nValue
  28779. * Set Draw mode
  28780.     THISFORM.DrawMode = nValue
  28781. ENDPROC
  28782. PROCEDURE setdrawstyle
  28783. Parameters nValue
  28784. * Set draw style
  28785.     THISFORM.DrawStyle = nValue
  28786. ENDPROC
  28787. PROCEDURE clearform
  28788. * Clear the form surface
  28789. THISFORM.Cls
  28790. ENDPROC
  28791. PROCEDURE graphdemo
  28792. PARAMETERS nChoice
  28793. * Show various graph methods - line, circle, box
  28794.     LOCAL I, lnXaxis,lnYaxis,lnXPos,lnYPos,lnRadius,;
  28795.         lnFillStyle,lnAspect,lnBoxX,lnBoxY
  28796.     lnXaxis = THISFORM.Width
  28797.     lnYAxis = THISFORM.Height
  28798.     lnRadius = 90
  28799.     lnAspect = 3
  28800.     * Select Graphics method - Line, Circle, or Box
  28801.     DO CASE
  28802.     CASE nChoice = 1
  28803.         * Draw a line in each DrawStyle
  28804.         I = 1
  28805.         THISFORM.DrawWidth = 1
  28806.         THISFORM.pset(10,10)
  28807.         FOR I = 1 to 4
  28808.             THISFORM.Pset(10,I*50)
  28809.             THISFORM.Print ( "Draw Style: " + str((I-1)) )            
  28810.             THISFORM.DrawStyle = I - 1
  28811.             THISFORM.Line(10,I*50, lnXAxis-50,I*50)
  28812.         ENDFOR
  28813.         THISFORM.DrawStyle = 0    && Reset DrawStyle to normal
  28814.     CASE nChoice = 2
  28815.         * Draw a triangle
  28816.         THISFORM.Line(150,50,300,200)
  28817.         THISFORM.line(300,200,150,200)    
  28818.         THISFORM.line(150,200,150,50)
  28819.     CASE str(nChoice,1,0) $ "345678"
  28820.         * Circles     - Open = 3, Filled = 4
  28821.         * Ellipses     - Open = 5, Filled = 6
  28822.         * Square     - Open = 7, Filled = 8
  28823.         IF str(nChoice,1,0) $ "468"
  28824.             * Select random fill style - 0/7
  28825.             THISFORM.FillStyle = THISFORM.uRand(1,7)-1
  28826.         ENDIF                
  28827.         * Calculate X,Y position for circle randomly in quadrant 1-4
  28828.         DO CASE
  28829.         CASE THISFORM.uRand(1,4) = 1
  28830.             lnXpos = lnXaxis*.25
  28831.             lnYpos = lnYaxis*.25
  28832.         CASE THISFORM.uRand(1,4) = 2
  28833.             lnXpos = lnXaxis*.75
  28834.             lnYpos = lnYaxis*.25
  28835.         CASE THISFORM.uRand(1,4) = 3
  28836.             lnXpos = lnXaxis*.25
  28837.             lnYpos = lnYaxis*.75
  28838.         OTHERWISE && uRand = 4
  28839.             lnXpos = lnXaxis*.75
  28840.             lnYpos = lnYaxis*.75
  28841.         ENDCASE    
  28842.         DO CASE
  28843.         CASE nChoice = 3 or nChoice = 4
  28844.         * Circle - plain or filled
  28845.             THISFORM.Circle(;
  28846.              lnRadius * RAND(),lnXPos * RAND(),lnYpos * RAND() )
  28847.         CASE nChoice = 5 or nChoice = 6
  28848.             THISFORM.Circle(;
  28849.              lnRadius, lnXPos*RAND(),lnYPos*RAND(),lnAspect*RAND())            
  28850.         CASE nChoice = 7 or nChoice = 8
  28851.             lnBoxX = 50 + RAND()*100
  28852.             lnBoxY = 30 + RAND()*100
  28853.             THISFORM.box( lnBoxX,lnBoxY, lnBoxX+170,lnBoxY+150 )
  28854.         ENDCASE
  28855.         THISFORM.FillStyle = 1
  28856.     ENDCASE
  28857.     THISFORM.Refresh
  28858. ENDPROC
  28859. PROCEDURE urand
  28860. PARAMETERS nLower, nUpper
  28861. * Return uniform series of integers between nLower, nUpper
  28862. RETURN INT((nUpper-nLower+1)*RAND()+1)
  28863. ENDPROC
  28864. Class
  28865. )tbrfd1 Object Reference to FoxDraw Toolbar
  28866. cformname Property to store current form name
  28867. cformmode Property to store FormMode  - (Active or Inactive)
  28868. cpencolor Property to hold literal value of pen color
  28869. ndrawmode Property to hold current drawmode - 1 = Lines, 2 = Rays
  28870. *nlastfill Property to hold last fillstyle
  28871. *drawaction Method: What drawing action to take
  28872. *drawcolor Method: Sets drawing color.
  28873. *setcaption Method: Sets caption to current state
  28874. *chgdrawmode Method: Switches drawing mode
  28875. *setpenwidth Method: Set PenWidth property
  28876. *setdrawmode Method: Sets DrawMode property
  28877. *setdrawstyle Method: Sets DrawStyle property
  28878. *clearform Method: Clears the form surface
  28879. *graphdemo Method: Main module to demo graphic methods.
  28880. *urand Method: Generates random number for use by graphdemo method.
  28881. Pixels
  28882. 1Form class that illustrates VFP graphics methods.
  28883.     foxdraw.h
  28884. AUTOCENTER
  28885. WIDTHr
  28886.  - (Active - 
  28887. Black
  28888. THIS    
  28889. SCALEMODE    
  28890. CFORMNAME
  28891. CAPTION    
  28892. CFORMMODE    
  28893. CPENCOLOR
  28894. MOUSEPOINTER
  28895. SETCAPTIONC
  28896. NBUTTON
  28897. NSHIFT
  28898. NXCOORD
  28899. NYCOORD
  28900. THISFORM
  28901. MOUSEPOINTER
  28902. NBUTTON
  28903. NSHIFT
  28904. NXCOORD
  28905. NYCOORD
  28906. MOUSEPOINTER
  28907. THISFORM    
  28908. NDRAWMODE
  28909. CURRENTX
  28910. CURRENTY
  28911.  - (Inactive - 
  28912.  - (Active - 6
  28913. NMPOINTER
  28914. THISFORM
  28915. MOUSEPOINTER    
  28916. CFORMMODE
  28917. SETCAPTION
  28918. REFRESH8
  28919. NCOLOR
  28920. CCOLORNAME
  28921. THISFORM    
  28922. FORECOLOR    
  28923. CPENCOLOR
  28924. SETCAPTION[
  28925. LCCOLORNAME
  28926. THISFORM    
  28927. CPENCOLOR    
  28928. DRAWWIDTH
  28929. CAPTION
  28930. THIS    
  28931. CFORMNAME    
  28932. CFORMMODE(
  28933. THISFORM    
  28934. NDRAWMODE
  28935. NVALUE
  28936. THISFORM    
  28937. DRAWWIDTH
  28938. NVALUE
  28939. THISFORM
  28940. DRAWMODE
  28941. NVALUE
  28942. THISFORM    
  28943. DRAWSTYLE
  28944. THISFORM
  28945. Draw Style: C
  28946. 345678
  28947. NCHOICE
  28948. LNXAXIS
  28949. LNYAXIS
  28950. LNXPOS
  28951. LNYPOS
  28952. LNRADIUS
  28953. LNFILLSTYLE
  28954. LNASPECT
  28955. LNBOXX
  28956. LNBOXY
  28957. THISFORM
  28958. WIDTH
  28959. HEIGHT    
  28960. DRAWWIDTH
  28961. PRINT    
  28962. DRAWSTYLE
  28963. LINE    
  28964. FILLSTYLE
  28965. URAND
  28966. CIRCLE
  28967. REFRESH)
  28968. NLOWER
  28969. NUPPER
  28970. Activate,
  28971. MouseDown
  28972. MouseMove
  28973. drawaction
  28974. drawcolor
  28975. setcaptionj
  28976. chgdrawmode
  28977. setpenwidth\
  28978. setdrawmode
  28979. setdrawstyle
  28980. clearform
  28981. graphdemo,
  28982. urandU
  28983. c:\vfp\fd6\
  28984. foxdraw.vcx
  28985. c:\vfp\fd6\foxdraw.vcx
  28986. AUTOCENTER
  28987. WIDTHr
  28988.  - (Active - 
  28989. Black
  28990. THIS    
  28991. SCALEMODE    
  28992. CFORMNAME
  28993. CAPTION    
  28994. CFORMMODE    
  28995. CPENCOLOR
  28996. MOUSEPOINTER
  28997. SETCAPTIONC
  28998. NBUTTON
  28999. NSHIFT
  29000. NXCOORD
  29001. NYCOORD
  29002. THISFORM
  29003. MOUSEPOINTER
  29004. NBUTTON
  29005. NSHIFT
  29006. NXCOORD
  29007. NYCOORD
  29008. MOUSEPOINTER
  29009. THISFORM    
  29010. NDRAWMODE
  29011. CURRENTX
  29012. CURRENTY
  29013.  - (Inactive - 
  29014.  - (Active - 6
  29015. NMPOINTER
  29016. THISFORM
  29017. MOUSEPOINTER    
  29018. CFORMMODE
  29019. SETCAPTION
  29020. REFRESH8
  29021. NCOLOR
  29022. CCOLORNAME
  29023. THISFORM    
  29024. FORECOLOR    
  29025. CPENCOLOR
  29026. SETCAPTION[
  29027. LCCOLORNAME
  29028. THISFORM    
  29029. CPENCOLOR    
  29030. DRAWWIDTH
  29031. CAPTION
  29032. THIS    
  29033. CFORMNAME    
  29034. CFORMMODE(
  29035. THISFORM    
  29036. NDRAWMODE
  29037. NVALUE
  29038. THISFORM    
  29039. DRAWWIDTH
  29040. NVALUE
  29041. THISFORM
  29042. DRAWMODE
  29043. NVALUE
  29044. THISFORM    
  29045. DRAWSTYLE
  29046. THISFORM
  29047. Draw Style: C
  29048. 345678
  29049. NCHOICE
  29050. LNXAXIS
  29051. LNYAXIS
  29052. LNXPOS
  29053. LNYPOS
  29054. LNRADIUS
  29055. LNFILLSTYLE
  29056. LNASPECT
  29057. LNBOXX
  29058. LNBOXY
  29059. THISFORM
  29060. WIDTH
  29061. HEIGHT    
  29062. DRAWWIDTH
  29063. PRINT    
  29064. DRAWSTYLE
  29065. LINE    
  29066. FILLSTYLE
  29067. URAND
  29068. CIRCLE
  29069. REFRESH)
  29070. NLOWER
  29071. NUPPER
  29072. Activate,
  29073. MouseDown
  29074. MouseMove
  29075. drawaction
  29076. drawcolor
  29077. setcaptionj
  29078. chgdrawmode
  29079. setpenwidth\
  29080. setdrawmode
  29081. setdrawstyle
  29082. clearform
  29083. graphdemo,
  29084. urandU
  29085. c:\vfp\samples\controls\graphics\
  29086. foxdraw.vcx
  29087. c:\vfp\samples\controls\graphics\foxdraw.vcx
  29088. Draw Control
  29089. FontSize
  29090. DOCKIT    
  29091. SCALEMODE
  29092. CAPTION
  29093. CONTROLBOX
  29094. SETALL#
  29095. Unloading FoxDraw...
  29096. ERROR
  29097. DO fdMainErr with ERROR()
  29098. Mainb
  29099. ON ERROR &cErrorSave
  29100. VISIBLE
  29101. THISFORMSET
  29102. FRMFD    
  29103. BACKCOLOR
  29104. FDMAIN    
  29105. SCALEMODE
  29106. CERRORSAVE
  29107. SHOWm
  29108. Inactive
  29109. Active
  29110. THISFORMSET
  29111. FRMFD
  29112. DRAWACTION
  29113. MOUSEPOINTER
  29114. CAPTION\
  29115. Lines
  29116. THISFORMSET
  29117. FRMFD
  29118. CHGDRAWMODE    
  29119. NDRAWMODE
  29120. CAPTION&
  29121. THISFORMSET
  29122. FRMFD
  29123. SETPENWIDTH
  29124. VALUE
  29125. SETCAPTION
  29126. THISFORMSET
  29127. FRMFD
  29128. SETDRAWMODE
  29129. VALUE
  29130. THISFORMSET
  29131. FRMFD    
  29132. GRAPHDEMO
  29133. VALUE%
  29134. THISFORMSET
  29135. FRMFD    
  29136. DRAWCOLOR
  29137. CAPTION%
  29138. THISFORMSET
  29139. FRMFD    
  29140. DRAWCOLOR
  29141. CAPTION%
  29142. THISFORMSET
  29143. FRMFD    
  29144. DRAWCOLOR
  29145. CAPTIONA
  29146. LNCOLOR
  29147. THISFORMSET
  29148. FRMFD    
  29149. DRAWCOLOR
  29150. CAPTION    
  29151. FORECOLOR%
  29152. THISFORMSET
  29153. FRMFD    
  29154. DRAWCOLOR
  29155. CAPTION
  29156. THISFORMSET
  29157. FRMFD    
  29158. CLEARFORM
  29159. THISFORMSET
  29160. 1-Blackness
  29161. 2-Not Merge Pen
  29162. 3-Mask Not Pen
  29163. 4-Not Copy Pen
  29164. 5-Mask Pen Not
  29165. 6-Invert
  29166. 7-Xor Pen
  29167. 8-Not Mask Pen
  29168. 9-Mask Pen
  29169. 10-Not Xor Pen
  29170. 11-Nop
  29171. 12-Merge Not Pen
  29172. 13-Copy Pen(Def)
  29173. 14-Merge Pen Not
  29174. 15-Merge Pen
  29175. 16-Whiteness
  29176. ADDITEM
  29177. Line: Draw Styles
  29178. Line: Triangle
  29179. Circles :Open
  29180. Circles :Filled
  29181. Ellipses:Open
  29182. Ellipses:Filled
  29183. Boxes:Open
  29184. Boxes:Filled
  29185. ADDITEM
  29186. layout
  29187. controls
  29188. palette
  29189. LAYOUT
  29190. LLLAYOUT
  29191. LLFORM
  29192. CONTROLS
  29193. LLCONTROLS
  29194. PALETTE    
  29195. LLPALETTE
  29196. LLCONTROLS
  29197. CONTROLS
  29198. LLFORM
  29199. LLLAYOUT
  29200. LAYOUT    
  29201. LLPALETTE
  29202. PALETTEB
  29203. Error:C
  29204. NERROR
  29205. Init,
  29206. Destroy
  29207. cmdDraw.ClickN
  29208. cmdDrawMode.Click
  29209. spnPenWidth.InteractiveChange
  29210. cboPenMode.InteractiveChange
  29211. cboGDemo.CLickF
  29212. cmdRed.CLICK
  29213. cmdGreen.CLICK
  29214. cmdBlue.CLICK=
  29215. cmdCustom.CLICK
  29216. cmdErase.CLICK
  29217. cmdClear.CLICKr
  29218. cmdDone.Click
  29219. cmdDone.RightClick
  29220. cboPenMode.Init
  29221. cboGDemo.Init
  29222. HideToolBar
  29223. ShowToolBar
  29224. fdMainErr
  29225. Form Drawing Is:
  29226. Active
  29227. Click to toggle Form Drawing on/off..
  29228. Mode Is:
  29229. Lines
  29230. Click to toggle between Rays and Lines..
  29231. Pen Width:
  29232. Set Pen Width to <n> pixels
  29233. Pen Draw Mode:
  29234. Set Pen Draw Mode to < 1 - 16>
  29235. Change Pen Color to Red
  29236. Green
  29237. Change Pen Color to Green
  29238. Change Pen Color to Blue
  29239. Custom
  29240. Select Custom Pen Color
  29241. Erase
  29242. Erase at Current Pen Width
  29243. Clear
  29244. Clear Form drawing surface..
  29245. Method Samples:
  29246. Examples of Graphics Methods
  29247. Exit FoxPro 3.0 Graphics Methods Sample
  29248. LABEL
  29249. CAPTION
  29250. WIDTH    
  29251. BACKCOLOR
  29252. CMDDRAW
  29253. COMMANDBUTTON
  29254. HEIGHT
  29255. TOOLTIPTEXT
  29256. CMDDRAWMODE
  29257. SEPD2    
  29258. SEPARATOR
  29259. SPNPENWIDTH
  29260. SPINNER
  29261. VALUE
  29262. SPINNERLOWVALUE
  29263. SPINNERHIGHVALUE
  29264. CBOPENMODE
  29265. COMBOBOX
  29266. STYLE
  29267. SEPC1
  29268. CMDRED    
  29269. FORECOLOR
  29270. CMDGREEN
  29271. CMDBLUE    
  29272. CMDCUSTOM
  29273. CMDERASE
  29274. CMDCLEAR
  29275. SEPCLR1
  29276. CBOGDEMO
  29277. SEPCG1
  29278. CMDDONE    
  29279. fdToolBar
  29280. ToolBar
  29281.     9999
  29282. 9999999
  29283. 99999999
  29284. 99991
  29285. PLATFORM
  29286. UNIQUEID
  29287. TIMESTAMP
  29288. CLASS
  29289. CLASSLOC
  29290. BASECLASS
  29291. OBJNAME
  29292. PARENT
  29293. PROPERTIES
  29294. PROTECTED
  29295. METHODS
  29296. OBJCODE
  29297. COMMENT
  29298. RESERVED1
  29299. RESERVED2
  29300. RESERVED3
  29301. RESERVED4
  29302. RESERVED5
  29303. RESERVED6
  29304. RESERVED7
  29305. RESERVED8
  29306. RESERVED9
  29307. RESERVED10
  29308.  COMMENT Class              0                                                                                                                                 8                                                                                                     WINDOWS _QUD0KJAB9 491932763        57                  58        59                  60                                                                    62        63        64                            65                                                   WINDOWS _QUD0KJA37 491932762        66                  67        68        69        70                                                                                                                                                                           WINDOWS _QUD0KJA5F 491932763        75                  76        77        78        79                                                                                                                                                                           WINDOWS _QUD0KJA7N 491932763        85                  86        87        88        89                  91       201                                                                                                                                             WINDOWS _QUD0KPTXQ 491932925        97                  98        99                 100       102       103       209                                     114       115       116                           118                                                   WINDOWS _QUD0KPTMC 491932925       119                 120       121       122       123                 125       225                                                                                                                                             WINDOWS _QUD0KPTP4 491932925       130                 131       132       133       134                                                                                                                                                                           WINDOWS _QUD0KPTR2 491932925       136                 137       138       139       140                                                                                                                                                                           WINDOWS _QUD0KPTSG 491932925       142                  56        55        54        52                                                                                                                                                                           WINDOWS _QUD0KPTU4 491932925        51                  50        49        48        46                                                                                                                                                                           WINDOWS _QUD0KPTW2 491932925        45                  44        43        42        40                                                                                                                                                                           WINDOWS _QTZ0WOH2H 491026904       200                 199       198       197       195                                                                                                                                                                           WINDOWS _QTZ0WOH4U 491026904       194                 193       192       191       189                 186       233                                                                                                                                             WINDOWS _QTZ0WOHAP 491026904       178                 177       176       175       173                                                                                                                                                                           WINDOWS _QWN0V6RXZ 505836579       172                 171       170                 169                                                                   168       167                                     166                                                   WINDOWS _QWN0V6RSF 505836579       165                 164       163       162       160                 156       241                                                                                                                                             WINDOWS _QWN0V6RW1 505836579       149                 148       147       146       143                                                                                                                                                                          
  29309. VERSION =  0.028
  29310. PARENT
  29311. NHOUR
  29312. UPDATEDISPLAY
  29313. Timer,
  29314. c:\vfp\t2\
  29315. samples.vcx
  29316. c:\vfp\t2\samples.vcx
  29317. NHOUR
  29318. TIMER1
  29319. ENABLED
  29320. TIMER1
  29321. ENABLED=
  29322. NHOUR
  29323. UPDATEDISPLAY
  29324. CSECDISPLAY
  29325. CMINDISPLAY
  29326. CHOURDISPLAY
  29327. NHOUR
  29328. LBLSECONDS
  29329. CAPTION
  29330. LBLMINUTES
  29331. LBLHOURS
  29332. Init,
  29333. Startm
  29334. Reset
  29335. UpdateDisplay4
  29336. c:\vfp\t2\
  29337. samples.vcx
  29338. c:\vfp\t2\samples.vcx
  29339. CCCC$%Z
  29340. CCCC$iZ
  29341. CCCC^
  29342. CCCCC^
  29343. PARENT
  29344. TXTDATE
  29345. VALUE
  29346. TIMEFORMAT
  29347. TXTTIME
  29348. Timer,
  29349. c:\vfp\t2\
  29350. samples.vcx
  29351. c:\vfp\t2\samples.vcx
  29352. RCaption = "00"
  29353. Height = 13
  29354. Left = 46
  29355. Top = 8
  29356. Width = 15
  29357. Name = "lblSeconds"
  29358.     stopwatch
  29359. lblSeconds
  29360. label
  29361. label
  29362. OCaption = ":"
  29363. Height = 13
  29364. Left = 42
  29365. Top = 7
  29366. Width = 5
  29367. Name = "lblColon1"
  29368.     stopwatch
  29369.     lblColon1
  29370. label
  29371. label
  29372. RCaption = "00"
  29373. Height = 13
  29374. Left = 27
  29375. Top = 8
  29376. Width = 15
  29377. Name = "lblMinutes"
  29378.     stopwatch
  29379. lblMinutes
  29380. label
  29381.     container
  29382.     container
  29383. clock
  29384. ?Width = 251
  29385. Height = 25
  29386. TimeFormat = 0
  29387. Name = "container1"
  29388. Class
  29389. TimeFormat
  29390. Pixels
  29391. textbox
  29392. textbox
  29393. txtDate
  29394. clock
  29395. &Alignment = 2
  29396. BackColor = 255,255,0
  29397. BorderStyle = 0
  29398. Enabled = .F.
  29399. Height = 18
  29400. Left = 0
  29401. Value = (CDOW(date())+" "+CMONTH(date())+" "+  ALLT(STR(DAY(date())))+", "+ALLT(STR(YEAR(date()))))
  29402. Top = 5
  29403. Width = 179
  29404. DisabledForeColor = 0,0,0
  29405. DisabledBackColor = 255,255,255
  29406. Name = "txtDate"
  29407. textbox
  29408. textbox
  29409. txtTime
  29410. clock
  29411. EAlignment = 2
  29412. BorderStyle = 0
  29413. Enabled = .F.
  29414. Height = 18
  29415. Left = 184
  29416. Value = (IIF(THIS.PARENT.TimeFormat = 0, IIF(VAL(SUBSTR(time(),1,2))>12,     ALLT(STR((VAL(SUBSTR(time(),1,2))-12)))+SUBSTR(time(),3,6),         time()),time()))
  29417. Top = 5
  29418. Width = 57
  29419. DisabledForeColor = 0,0,0
  29420. DisabledBackColor = 255,255,255
  29421. Name = "txtTime"
  29422. timer
  29423. timer
  29424. Timer1
  29425. clock
  29426. NTop = 0
  29427. Left = 0
  29428. Height = 12
  29429. Width = 14
  29430. Interval = 1000
  29431. Name = "Timer1"
  29432. mPROCEDURE Timer
  29433. This.Parent.txtDate.Value = CDOW(date())+" "+CMONTH(date())+" "+ ;
  29434.     ALLT(STR(DAY(date())))+", "+ALLT(STR(YEAR(date())))
  29435. IF This.Parent.TimeFormat = 0
  29436.     This.Parent.txtTime.Value = IIF(VAL(SUBSTR(time(),1,2))>12, ;
  29437.         ALLT(STR((VAL(SUBSTR(time(),1,2))-12)))+SUBSTR(time(),3,6),time())
  29438.     This.Parent.txtTime.Value = time()
  29439. ENDIF
  29440. ENDPROC
  29441.     container
  29442.     container
  29443.     stopwatch
  29444. NWidth = 94
  29445. Height = 25
  29446. nSec = 0
  29447. nMin = 0
  29448. nHour = 0
  29449. Name = "container12"
  29450. nHour
  29451. PROCEDURE Init
  29452. nMin = 0
  29453. nSec = 0
  29454. nHour = 0
  29455. ENDPROC
  29456. PROCEDURE Start
  29457. This.timer1.enabled = .t.
  29458. ENDPROC
  29459. PROCEDURE Stop
  29460. This.timer1.enabled = .f.
  29461. ENDPROC
  29462. PROCEDURE Reset
  29463. This.nSec = 0
  29464. This.nMin = 0
  29465. This.nHour = 0
  29466. This.UpdateDisplay
  29467. ENDPROC
  29468. PROCEDURE UpdateDisplay
  29469. cSecDisplay = ALLTRIM(STR(This.nSec))
  29470. cMinDisplay = ALLTRIM(STR(This.nMin))
  29471. cHourDisplay = ALLTRIM(STR(This.nHour))
  29472. This.lblSeconds.Caption = IIF(This.nSec < 10, "0" + cSecDisplay , cSecDisplay)
  29473. This.lblMinutes.Caption = IIF(This.nMin < 10, "0" + cMinDisplay , cMinDisplay)
  29474. This.lblHours.Caption = IIF(This.nHour < 10, "0" + cHourDisplay , cHourDisplay)
  29475. ENDPROC
  29476. Class
  29477. cnSec
  29478. nHour
  29479. *Start
  29480. *Stop
  29481. *Reset  ,Property Description will appear here.
  29482. *UpdateDisplay
  29483. Pixels
  29484. timer
  29485. timer
  29486. Timer1
  29487.     stopwatch
  29488. OTop = 0
  29489. Left = 66
  29490. Height = 25
  29491. Width = 25
  29492. Interval = 1000
  29493. Name = "Timer1"
  29494. *PROCEDURE Timer
  29495. this.parent.nSec = this.parent.nSec + 1
  29496. IF this.parent.nSec = 60
  29497.     this.parent.nSec = 0
  29498.     this.parent.nMin = this.parent.nMin + 1
  29499. ENDIF
  29500. IF this.parent.nMin = 60
  29501.     this.parent.nMin = 0
  29502.     this.parent.nHour = this.parent.nHour + 1
  29503. ENDIF
  29504. This.Parent.UpdateDisplay
  29505. ENDPROC
  29506. label
  29507. label
  29508. lblhours
  29509.     stopwatch
  29510. OCaption = "00"
  29511. Height = 13
  29512. Left = 8
  29513. Top = 8
  29514. Width = 15
  29515. Name = "lblhours"
  29516. label
  29517. label
  29518.     lblColon2
  29519.     stopwatch
  29520. OCaption = ":"
  29521. Height = 13
  29522. Left = 23
  29523. Top = 7
  29524. Width = 5
  29525. Name = "lblColon2"
  29526. label
  29527. Top = 4
  29528. Left = 10
  29529. BackColor = 0,255,255
  29530. BackStyle = 1
  29531. FillStyle = 6
  29532. Height = 37
  29533. Width = 73
  29534. ColorSource = 0
  29535. Name = "Shape1"
  29536. shaper
  29537. Shape1
  29538. shape
  29539. shape
  29540. PARENT
  29541. SHAPE1    
  29542. CURVATURE
  29543. REFRESH
  29544. Click,
  29545. c:\vfp\t1\
  29546. samples.vcx
  29547. c:\vfp\t1\samples.vcx
  29548. PROCEDURE Click
  29549. IF This.Parent.shape1.curvature < 95
  29550.     This.Parent.shape1.curvature = This.Parent.shape1.curvature + 5
  29551.     This.Parent.shape1.curvature = 0
  29552. ENDIF
  29553. This.Parent.Refresh
  29554. ENDPROC
  29555. VCaption = "Changer"
  29556. Top = 45
  29557. Left = 10
  29558. Height = 23
  29559. Width = 73
  29560. Name = "Command1"
  29561. shaper
  29562. Command1
  29563. commandbutton
  29564. commandbutton
  29565. Pixels
  29566. Class
  29567. *Width = 94
  29568. Height = 70
  29569. Name = "shaper"
  29570. shaper
  29571.     container
  29572.     container
  29573. bCaption = "Drag this icon    ->"
  29574. Height = 25
  29575. Left = 11
  29576. Top = 144
  29577. Width = 57
  29578. Name = "Label2"
  29579. Label2
  29580. label
  29581. label
  29582. NBUTTON
  29583. NSHIFT
  29584. NXCOORD
  29585. NYCOORD
  29586. DRAG&
  29587. NBUTTON
  29588. NSHIFT
  29589. NXCOORD
  29590. NYCOORD
  29591. DRAG    
  29592. MouseDown,
  29593. MouseUp
  29594. c:\vfp\t1\
  29595. samples.vcx
  29596. c:\vfp\t1\samples.vcx
  29597. PROCEDURE MouseDown
  29598. Parameters nButton, nShift, nXCoord, nYCoord
  29599. This.Drag(1)
  29600. ENDPROC
  29601. PROCEDURE MouseUp
  29602. Parameters nButton, nShift, nXCoord, nYCoord
  29603. This.Drag(2)
  29604. ENDPROC
  29605. vPicture = fox.bmp
  29606. DragIcon = fox.cur
  29607. DragMode = 1
  29608. Height = 26
  29609. Left = 70
  29610. Top = 145
  29611. Width = 25
  29612. Name = "FoxIcon"
  29613. FoxIcon
  29614. image
  29615. image
  29616. ?Height = 37
  29617. Left = 7
  29618. Top = 138
  29619. Width = 93
  29620. Name = "Shape1"
  29621. Shape1
  29622. shape
  29623. shape
  29624. CCCC$%Z
  29625. CCCC$iZ
  29626. CCCC^
  29627. CCCCC^
  29628. PARENT
  29629. TXTDATE
  29630. VALUE
  29631. TIMEFORMAT
  29632. TXTTIME
  29633. Timer,
  29634. c:\vfp\samples\controls\
  29635. samples.vcx
  29636. c:\vfp\samples\controls\samples.vcx
  29637. NHOUR
  29638. TIMER1
  29639. ENABLED
  29640. TIMER1
  29641. ENABLED=
  29642. NHOUR
  29643. UPDATEDISPLAY
  29644. CSECDISPLAY
  29645. CMINDISPLAY
  29646. CHOURDISPLAY
  29647. NHOUR
  29648. LBLSECONDS
  29649. CAPTION
  29650. LBLMINUTES
  29651. LBLHOURS
  29652. Init,
  29653. Startm
  29654. Reset
  29655. UpdateDisplay4
  29656. c:\vfp\samples\controls\
  29657. samples.vcx
  29658. c:\vfp\samples\controls\samples.vcx
  29659. PARENT
  29660. NHOUR
  29661. UPDATEDISPLAY
  29662. Timer,
  29663. c:\vfp\samples\controls\
  29664. samples.vcx
  29665. c:\vfp\samples\controls\samples.vcx
  29666. NBUTTON
  29667. NSHIFT
  29668. NXCOORD
  29669. NYCOORD
  29670. DRAG&
  29671. NBUTTON
  29672. NSHIFT
  29673. NXCOORD
  29674. NYCOORD
  29675. DRAG    
  29676. MouseDown,
  29677. MouseUp
  29678. c:\vfp\samples\controls\
  29679. samples.vcx
  29680. c:\vfp\samples\controls\samples.vcx
  29681. PARENT
  29682. SHAPE1    
  29683. CURVATURE
  29684. REFRESH
  29685. Click,
  29686. c:\vfp\samples\controls\
  29687. samples.vcx
  29688. c:\vfp\samples\controls\samples.vcx
  29689. main.scx
  29690. main.sct
  29691. grid\
  29692. grd_prp.scx
  29693. grd_prp.sct
  29694. lists\
  29695. ladd.scx
  29696. ladd.sct
  29697. lmsel.scx
  29698. lmsel.sct
  29699. lmulcol.scx
  29700. lmulcol.sct
  29701. lsort.scx
  29702. lsort.sct
  29703. objects\
  29704. cresize.scx
  29705. cresize.sct
  29706. objects.scx
  29707. objects.sct
  29708. pgframe\
  29709. pfsam2.scx
  29710. pfsam2.sct
  29711. launch.scx
  29712. launch.sct
  29713. multi.scx
  29714. multi.sct
  29715. lmover.scx
  29716. lmover.sct
  29717. events\
  29718. events.scx
  29719. events.sct
  29720. timer\
  29721. swatch.scx
  29722. swatch.sct
  29723. timecomm.scx
  29724. timecomm.sct
  29725. clock.scx
  29726. clock.sct
  29727. pfsam1.scx
  29728. pfsam1.sct
  29729. buttons.vcx
  29730. buttons.vct
  29731. multfile.scx
  29732. multfile.sct
  29733. graphics\
  29734. graph.scx
  29735. graph.sct
  29736. graphics\pgraph.prg
  29737. c:\temp\
  29738. pgraph.fxp
  29739. graphics\cgraph.prg
  29740. cgraph.fxp
  29741. controls.scx
  29742. controls.sct
  29743. multdat1.scx
  29744. multdat1.sct
  29745. lists\region.qpr
  29746. region.qpx
  29747. objects\dragdrop.prg
  29748. dragdrop.fxp
  29749. events\toolbar.prg
  29750. toolbar.fxp
  29751. 1_many.scx
  29752. 1_many.sct
  29753. graphics\fdmain.prg
  29754. fdmain.fxp
  29755. foxdraw.vcx
  29756. foxdraw.vct
  29757. main.prg
  29758. graphics\fdproc.prg
  29759. fdproc.fxp
  29760. ..\..\
  29761. fox.bmp
  29762. fox.msk
  29763. fox.cur
  29764. arw08up.bmp
  29765. arw08dn.bmp
  29766. samples.vcx
  29767. samples.vct
  29768. dragmove.cur
  29769. nodrop01.cur
  29770.