Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time event handler
Message
From
08/05/2007 13:17:20
 
 
To
08/05/2007 02:16:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01221889
Message ID:
01223487
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform