Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open all classes in a vcx one by one
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01009787
Message ID:
01009796
Vues:
9
Hi,
Short code ... It might looks like

lcVCX = GETFILE("VCX")
AVCXCLASSES(aCls,lcVCX)
FOR Lni=1 TO ALEN(aCls,1)
lcClassName = aCls[lni,1]
Try
MODIFY CLASS (lcClassName) OF (lcVCX) NOWAIT
CATCH WHEN .t.
?"Can't open class "+lcClassname+" of "+JUSTFNAME(lc)
EndTry
ENDFOR

Note: If parent class already open for edit, then Modify class call error.

>Hi all
>
>How to write a small prg to take a vcx and open all it's classes one by one for editing.
>
>Please advise.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform