Hi Sven,
I tried putting "searchfield.setfocus" directly into the activate
event. That didn't work. So I tried putting a timer in, period =
500, action = "searchfield.setfocus". In the activate event, I then
put "activator.mode = 1". This also did not work.
Thanks,
Dave
On Sun, 31 Oct 2004 19:17:48 +0100, Sven E Olsson
<svenerik at xhtmlsoft dot com> wrote:
>
>
>
> On Oct 31, 2004, at 19:00, Dave wrote:
>
> > Interesting....
> >
> > I've discovered that the problem arises because the window is a global
> > floating window (type 7). (If it matters, it also has a MacProcID of
> > 1104)
> >
> > But this doesn't make sense to me... In the mousedown event, I set my
> > application to the foreground and then assign the focus to the
> > searchfield, using "searchfield.setfocus". It works fine if I change
> > the window to type 0, but doesn't if it's type 7.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Dave
> >
>
> Hi,
> I have not read this thread before, so I am not sure this fix your
> problem.
>
> For my self I open an global floating window from the menu
> and then I have to put an timer that I activate in the floating window
> open event.
> And in the timer.action I put myEditfield.setfoucus
> Sven E
--
"You take the blue pill. The dream ends, you wake up in bed and
believe whatever you want to believe. You take the red pill. You stay
in Wonderland and I show you how deep the rabbit-hole goes. You take
the purple pill. The pain stops, you are relieved from heartburn, and
the lining of your esophagus returns."
There's no place like ~/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|