Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Vlad, thanks for your reply.
I suspected I might have to do something like this but was looking for an 'EASY'way out.
Thanks
Gerard
>>I have a screen and one of the fields allows a 'Search' screen to be called in.
>>
>>This has a no. of side effects which I am trying to avoid.:-
>> e.g. The minute I call the Search Screen, my control' Lost Focus fires,my Pageactivate fires when it comes back from search, and the Got Focus fires again. I dont really want these (any probably others that I am not aware of) firing, just because I do a search.
>>
>>Is there a neat way arounf this ?
>
> Yep.
> Define form property, for example, lFlagSearchLaunch. In the control set it to .T. Than, in all other places that are called during your form search working, check this flag and do nothing when it is .T. Set flag back to .F. ate the last event occured after search form closed, so other events will work again.
>
> HTH.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement