Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding all Used Classes in an Application
Message
 
To
24/10/2001 13:20:43
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00572750
Message ID:
00572797
Views:
29
This message has been marked as the solution to the initial question of the thread.
For classes used in forms, you can scan the .pjx for 'scx'$name, open each .scx as a file and do a select SQL for not empty(classloc), something like this:
USE myPrj
SCAN FOR 'SCX'$UPPER(name)
  lcFormFile = JUSTFNAME(myPrj.name)
  use (lcFormFile) in 0 alias FormFile
  SELECT PADR(JUSTFNAME(classloc),50,' ') AS clib, ;
         PADR(class,30,' ') AS cclass ;
    FROM FormFile ORDER BY 1,2 ;
    WHERE NOT EMPTY(classloc) ;
    INTO CURSOR QClasses
  * print or store the info
  USE IN FormFile
ENDSCAN
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform