Home > Archive > Getting Started with dBASE > June 2005 > Seeker Problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Seeker Problem
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

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com