General information
Category:
Forms & Form designer
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.
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