|
|
| Tim MacAlpine 2005-06-28, 9:23 am |
| I am using the seeker.cc in my application to find particular records. It
becomes visible on the form when the 'find' button is pushed and is
invisible when it has lost focus.
My problem is that when I close the application and the seeker has focus
I get the following 'Program Alert':
class does not exist:
DATAFORMCFORM::SEEKE
R1_ONLOSTFOCUS
file: GenericMDIApp.cc
routine: Genericmdiapp::close
The applications closes normally if the seeker has lost focus.
Any advice would be sincerely appreciated.
Tim MacAlpine
| |
| Rick Gearardo 2005-06-28, 9:23 am |
| Are you just setting the visible property to false? for a workaround add a
setFocus() to another control in the forms canClose().
form_canClose()
form.entryField1.setFocus()
return true
Rick
"Tim MacAlpine" <tjmaca@sbcglobal.net> wrote in message
news:gQCozs%23eFHA.320@news-server...
>I am using the seeker.cc in my application to find particular records. It
> becomes visible on the form when the 'find' button is pushed and is
> invisible when it has lost focus.
>
> My problem is that when I close the application and the seeker has focus
> I get the following 'Program Alert':
>
> class does not exist:
> DATAFORMCFORM::SEEKE
R1_ONLOSTFOCUS
> file: GenericMDIApp.cc
> routine: Genericmdiapp::close
>
> The applications closes normally if the seeker has lost focus.
>
> Any advice would be sincerely appreciated.
> Tim MacAlpine
>
| |
| Tim MacAlpine 2005-06-28, 9:23 am |
| Such a simple solution to what I thought was a major problem. Thank you very much, it appears to have worked like a charm.
Tim MacAlpine
|
|
|
|