Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I change object class lib by changing classloc in sc
Message
De
16/02/2001 12:13:46
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
16/02/2001 11:20:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00476663
Message ID:
00476695
Vues:
31
>So I need help in two areas: 1) copying the vcx 2) is it safe to change the scx. Do I have to worry about spaces, carriage returns etc. if I do itmanually ? would it be safe to, for example, replace all classloc with 'surveycls2' for classloc='surveycls' ?

I've done it many times. You may need to include the .vcx extension, make sure no trailing spaces are there, and that'd be it. Safest way is to
replace classlib with strtran(classlib,'oldlibname','newlibname')
so you keep the extension, paths etc. Remember to recompile the form ("compile form yourform" in 6.0 and "compile class yourform.scx" in 5). Backup first, i.e. work on a copy of your form, with the copy of the classlib.

As for copying the vcx, I'm usually not taking the whole vcx, but rather
add class [classname] of oldlib to newlib
.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform