Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suggestion
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Suggestion
Divers
Thread ID:
00568374
Message ID:
00568374
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform