Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtB
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00618623
Message ID:
00620220
Vues:
28
>>To create a New Method in a form, I know you go to Form - New Method. But how do you create a custom method in the grid?
>>
>>I do want the code to appear in only 1 place. It makes a project so much easier to maintain :-) TIA, Chuck
>
>Chuck,
>
>You need to have a special grid class in order to add new methods. You can not add new methods to base VFP controls.

Nadya,

Thanks. I am very familiar with creating custom methods on the form, so as to keep one instance of code in a central location, and it's been a life-saver. A UT member shared that bit of advice with me years ago. I can't remember his surname, but I think his first name is Jim, and he's a FoxPro author. Anyway, I haven't done any subclassing yet; so, I guess I still need to learn that one. I've always just re-used my objects by copying them from one form to another, etc.

Thanks Again, Chuck
Chuck Henry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform