Actually I was to quick jumping to conclusion. The following code does the
job but it's inconsistent.
field.setFocus();
field.focusManager.showFocus();

Sometimes I see the border sometimes not. I tried using callLater, the same.


On Wed, Oct 9, 2013 at 11:25 AM, Alex Harui <[email protected]> wrote:

> If it works for you, then yes.
> ________________________________________
> From: mark goldin [[email protected]]
> Sent: Wednesday, October 09, 2013 7:30 AM
> To: users
> Subject: Re: setFocus does not create a border
>
> I've got this working for me:
> field.drawFocus(true);
>
> Is it the same?
>
>
> On Tue, Oct 8, 2013 at 5:41 PM, Alex Harui <[email protected]> wrote:
>
> > Try focusManager.showFocus()
> > ________________________________________
> > From: mark goldin [[email protected]]
> > Sent: Tuesday, October 08, 2013 12:24 PM
> > To: users
> > Subject: setFocus does not create a border
> >
> > I am setting up a focus over a control like this:
> > control.setFocus();
> >
> > When I tab out of it the next control gets a focus meaning my first
> control
> > did have a focus. Unfortunately setFocus does not create a blue border
> > around first control. Is that can be fixed?
> >
> > Thanks
> >
>

Reply via email to