Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hope this could be...
Message
From
09/08/2003 12:42:29
 
 
To
09/08/2003 12:03:32
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00818577
Message ID:
00818582
Views:
19
The problem is that every object needs some code in the Click Event, and if I do it with the original class for this object, there will be not code.

If you are using VFP 8.0, you can do this without a subclass by using BINDEVENT() to bind the click event of the control to your custom form method.

I tried to put the class I'd created in the form, but it tells me "Class XXXXXXX have not been defined".

The AddObject() method requires that the classlib be loaded using
SET CLASSLIB TO << My Vcx >> ADDITIVE 
or
SET PROCEDURE TO << My Prg >> ADDITIVE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform