Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do a CLICK procedure for column created at runtime
Message
From
04/06/2002 11:42:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/06/2002 11:08:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00664483
Message ID:
00664540
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
>Hilmar,
>
>Thanks for the quick response. How do I go about adding a custom method for an object based on a class? I'm fairly new at creating objects at runtime.

Create your own checkbox class, and write whatever you want in its click method. Then you add that instead of standard checkbox:

.addobject("chk1","MyCheckboxClass")

or, if you don't want to Set Classlib to MyClasslib Additive, you can alternately do

.newobject("chk1","MyCheckboxClass","MyClasslib.vcx")

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform