Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with commandbuttons class
Message
From
15/04/2009 22:03:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Working with commandbuttons class
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01395069
Message ID:
01395069
Views:
310
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.
Next
Reply
Map
View

Click here to load this message in the networking platform