Subject | Re: [IBO] IB_IncSearch ClearOnExit |
---|---|
Author | Rick Roen |
Post date | 2005-07-06T20:55:12Z |
Thanks Jason,
I understood that the inc search text is stored in the dataset, but
the problem is that the control never gets an OnExit trigger, so it
never clears itself.
Like I mentioned, I don't think this is something specifically to do
with your controls. My guess is that Windows itself is eating
whatever message is normally sent when focus is transferred to
another form. Everything works fine when focus goes to another
control in the same window (i.e. the control clears properly).
I think I can acomplish what I want if I write something in the
OnFormDeactivate event.
If anyone know about this Windows behavior, please let me know.
Rick
--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
wrote:
I understood that the inc search text is stored in the dataset, but
the problem is that the control never gets an OnExit trigger, so it
never clears itself.
Like I mentioned, I don't think this is something specifically to do
with your controls. My guess is that Windows itself is eating
whatever message is normally sent when focus is transferred to
another form. Everything works fine when focus goes to another
control in the same window (i.e. the control clears properly).
I think I can acomplish what I want if I write something in the
OnFormDeactivate event.
If anyone know about this Windows behavior, please let me know.
Rick
--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
wrote:
> This sounds like a usage style I had not anticipated. I'm notsure what to
> do here. One thing to know is the inc search text is actuallystored in the
> dataset and not the control.
>
> Jason Wharton
> www.ibobjects.com
>
>
>