Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler
Message
De
10/05/2007 18:29:56
 
 
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:
01224376
Vues:
24
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform