Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler
Message
De
08/05/2007 13:17:20
 
 
À
08/05/2007 02:16:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01221889
Message ID:
01223487
Vues:
30
This message has been marked as a message which has helped to the initial question of the thread.
>>this is something I'd really like to look into some more.
>
>Thanks.
>
>I'm thinking of some standardized and general way to establish the eventhandler.
>
>For example giving a class an initeventhandler() method (plus a call to that in Init) and properties cEventhandlerclass and cEventhandlerclasslib. That class should have a standard Bind() method. Then a projecthook can initialize that at design time and it might also be inited the same way at run time.
>
>Because there might be some things you want to be able to do at designtime and at runtime, like resizing.
>Resizing is of course a thing, that can be automatically done with anchoring at runtime, so at runtime you won't need that eventhandler, but there might be other things you want at both times.

That is one thing I do like about .Net in that you have a DesignMode you can check and deal with things as needed. I think if you design things around that kind of paradigm, it would at least be somewhat familiar turf.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform