Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp - Attaching a toolbar to a form?
Message
De
30/04/1997 10:46:05
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
30/04/1997 10:30:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030260
Message ID:
00030270
Vues:
30
>What is the Best way to attach a toolbar to a FORM other than using a formset? I would like to make a toolbar
>class and then use it with a FORM, but I do not want
>to make a FORMSET and insert the toolbar as one of the FORMS in the FORMSET. Is there another way?

Robert,

You've posted a couple of questions about sharing methods and so forth. That being the case, why DON'T you want to add the toolbar to a formset? (which I don't think you can do anyway.) It sounds like you may be creating problems for yourself by trying to outthink VFP.

If you've gat a number of forms that need to be called within a particular session in your app, maybe you SHOULD use a formset.

Admittedly, there's more than one way to skin a cat....

Anyway, the key in VFP for acessing methods that are part of objects is to define the object with a public variable or as a property of another public object and the referencially refer to the object.

If you do define your app this way, make sure you're familiar with WITH...ENDWITH

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform