flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: setFocus does not create a border
Date Thu, 10 Oct 2013 15:56:04 GMT
Sometimes with this focus stuff, you may need a couple of callLaters
chained together.

On 10/10/13 7:49 AM, "mark goldin" <markzolotoy@gmail.com> wrote:

>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 <aharui@adobe.com> wrote:
>
>> If it works for you, then yes.
>> ________________________________________
>> From: mark goldin [markzolotoy@gmail.com]
>> 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 <aharui@adobe.com> wrote:
>>
>> > Try focusManager.showFocus()
>> > ________________________________________
>> > From: mark goldin [markzolotoy@gmail.com]
>> > 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
>> >
>>


Mime
View raw message