home *** CD-ROM | disk | FTP | other *** search
- * program to setup test environment for XScrollList
- set talk off
- clear all
- public sep
- use sample index sample
- select b
- use lookup
- set relation to code into sample
- set resource to "XScrollList XFCN" && or use ResEdit to copy the external into your FoxUser file
- load XScrollList function
- call XScrollList to res with "I"
- sep = chr(9) && Tab character
- * estimate 18 is average expression length
- call XScrollList to res with "Lr>",0,reccount(),18,"SKIP","CODE+sep+TRIM(SAMPLE->NAME)"
- call XScrollList to res with "DMT40R",0,1003,"","The Title of the List","btnVar","entryVar","recVar"
- *
- * show the user the memory result from the list
- *
- screen 1 top
- display memory
- call XScrollList to res with "c" && release array memory
- release module XScrollList
-