Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Class/Form to PRG
Message
De
26/04/2000 03:18:08
 
 
À
26/04/2000 03:01:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00363126
Message ID:
00363470
Vues:
16
After reading the entire thread, I need to clarify. Using the Class Browser to generate code from classes that have containers isn't runable. The ADD OBJECT.CONTROL.CONTROL.CONTROL is bogus.

But for classes that have no containers, all you have to do is add:
PUBLIC ox
ox = CREAT([foo]) && Where foo is the class you want to instantiate.
ox.SHOW
after the initial comments for the code to run.

Dave

>They can be run, but you have to add:
>
>
>PUBLIC ox
>ox = CREAT([foo]) && Where foo is the class you want to instantiate.
>ox.SHOW
Dave
>
>>>>The class browser allows you to "View Code" but this code can be unreliable, particularly when containership is involved.
>>>
>>>Really? I know when I have say command buttons on a form class, the add object stuff isn't runable (like you said), but when else?
>>
>>Hi Mike,
>>
>>I havent gone much farther than dealing with the fact that composites cant be run.
>>
>>Rick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform