Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestion
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Suggestion
Miscellaneous
Thread ID:
00568374
Message ID:
00568374
Views:
50
I like the idea of being able to "Raise" events in my controls, so to speak, via assign methods. The current implementation supports this via the RaiseCustomEvent() method on a form. The way it currently works, I have to add my custom assign method to the classes, then pass the request forward to the method that does the real work. It would be nice if all of the base controls had a .cEvent property w/assign method. In the assign method you could have code that generically calls any method. The code could look like:
LPARAMETERS tcEvent

IF PEMSTATUS(This, tcEvent, 5)
   This.&tcEvent
ENDIF
Or, some variation of the above. The basic idea is that it's generic. That way I can just raise some event and not have to define the assign method ahead of time.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Next
Reply
Map
View

Click here to load this message in the networking platform