Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add events?!
Message
From
07/01/2000 09:24:07
 
 
To
07/01/2000 07:55:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00313888
Message ID:
00314442
Views:
51
>You say there is no way to do this in VFP. What is wrong with this previous suggestion of creating a commandbutton class and setting the procedures within?
>
>

Nothing is wrong with that... but, you are not 'CREATING' the event... The event already exists in that class.

In other OOP environments you could create an event... Like, you want a BlowNose event in your class. You can't do that in VFP. And, even though there is a double click event in windows that will fire if you double click a button, there is no way to respond to that event in VFP.

For example, in PowerBuilder, you could add the DoubleClick event to your Button class if it wasn't a standard event already set up.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform