Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with commandbuttons class
Message
De
15/04/2009 22:03:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Working with commandbuttons class
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01395069
Message ID:
01395069
Vues:
312
I have a series of data entry forms with add edit delete buttons. I created a class so I can just drop these buttons to the forms.

In my previous applications, I would drop these buttons in my forms and edit each buttons in the forms to include the code below
SET MULTILOCKS ON
=Cursorsetprop("Buffering",5,"Employee")
=Tableupdate(.T.)

I do this for every data entry forms and just modifies the table name.

I wonder if I could just put the code above in my buttons class, then possibly pass the name of the open table to the class?

How can I achieve this?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform