Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding all Used Classes in an Application
Message
 
À
24/10/2001 13:20:43
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00572750
Message ID:
00572797
Vues:
28
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform