>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only