Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 prg or ! 2 prg
Message
De
03/02/2002 21:47:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/02/2002 10:58:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00614546
Message ID:
00614644
Vues:
20
>Can a form be designed in the form designer which is based upon a programmatic class? If so how is it accomplished?

Theoretically, you could scratch your right ear with your left foot.

In this case, the answer is simply - no, AFAIK. Any class you create in a prg will remain there, and can't be edited in the class designer, nor can any object based on that class or any of its subclasses.

What you can do is have some manager code in a non-visual class, which will be instantiated from your form's .load or (preferrably) .init, or (even more preferrably) a loader object's .init (the loader can be a simple label, and it can return .f. from its init, so it won't be in the way). In that manager you can keep whatever code and cool methods you like, and call them throughout your form - but you won't get any help from Intellisense while you write the calls, because the manager object is not there until runtime.

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