Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ignore mouse click
Message
De
27/09/1997 10:32:52
 
 
À
27/09/1997 01:13:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00051797
Message ID:
00051958
Vues:
37
>Even better: you can put in your framework in all base classes, in the click event:
>
>oApp.LastClicked = This
>
>This way you know all the time which object was clicked last time. Probably it will take you the same work as any other previous solution (obvious, in the current problem, you will enable/disable oApp.LastClicked object in your second form), but you can use this in much many cases. Please note that beeing an object reference you can access any method/property of the LastClicked object, including it's PARENT. Etc, etc.

Yes, I have that in several places but never thought of putting it in the base class level.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform