Subject RE: [IBO] IB_IncSearch ClearOnExit
Author Jason Wharton
This sounds like a usage style I had not anticipated. I'm not sure what to
do here. One thing to know is the inc search text is actually stored in the
dataset and not the control.

Jason Wharton

> -----Original Message-----
> From: []On
> Behalf Of Rick Roen
> Sent: Tuesday, July 05, 2005 3:29 PM
> To:
> Subject: [IBO] IB_IncSearch ClearOnExit
> D7
> IBO 4.5B
> I am experiencing some unexpected behavior with an IB_IncSearch
> control.
> The searching part works fine, but the ClearOnExit does not work in
> some circumstances.
> When the IncSearch is on the same form as the other controls, then
> ClearOnExit works properly.
> When I have the IncSearch on a MDI parent and I exit the IncSearch
> control to another MDI child, the control does not clear. I have a
> combo box on the MDI parent also and when I exit from the IncSearch
> to the combobox, the IncSearch does clear.
> I have tried to trap in the source code and it seems like the CMExit
> message is never received when focus is transferred to another form.
> This seems like something having to do with either Windows and MDI
> forms, or Delphi.
> Is there some way around to get the IncSearch to clear?
> Rick