Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time event handler
Message
From
10/05/2007 18:29:56
 
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:
01224376
Views:
31
>>The IN WINDOW clause is of course nice, if you don't use the project manager, but I'd not miss the advantages of project hooks, eg I do backup files I modify in the BeforeModifyFile event. And the IN WINDOW clause does not work automatically, you can't simply use the project manager and it's Modify button then.
>>
>>Bye, Olaf.
>
>Yes, you still would need a project hook <g> Back to the starting point.

Well, if you do MODIFY CLASS/FORM from the command window and don't use the IN WINDOW clause there still is some central thing, that works always: ASELOBJ() will give an object reference. And with Wexist("Form Designer") one could detect a coincidence of that window existing and the object selected. That could be done by some central timer. It would be nice to be able to not only bind to properties, but also to expression changes, like you can define breakpoints "when expression has changed", then we could bind to WEXIST("Form Designer") changes.

Other possibilities would be binding to Directory("\\server\share\database\") changes, which would enable you to react to network problems or the detaching of a server...

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform