FLTK logo

Re: [fltk.general] Focus

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Focus Millan Mar 28, 2007  
 
28.03.2007 "MacArthur, Ian \(SELEX\) \(UK\)" <ian.macarthur-xmadGBvRevyakBO8gow8eQ@public.gmane.org>
wrote:
 
> Two ways occurred to me to work around the hide/show and focus issues -
> one was the "workaround" of using a timeout, the other was the more
> stylish overriding  of the handle method - I tried to show both
> approaches in the example, but in principle (I didn't try) it should be
> possible to fix it all "nicely" using the overridden handle method
> approach.

Then I'll check it again. I've deduced previous conclusion, that call to
timeout function is crucial alone, by commenting out timeout function call and
leaving only overridden "handle()" method in your program, and it didn't
worked, but simply commenting out may not be the best way to test this. 

> I don't know - I hadn't seen that before. Probably best if you file an
> STR on this just to make sure it is picked up. BTW, when I do this, the

What do you mean by STR?

> first time I press ESC, the last deleted character re-appears, the
> second press of ESC closes the window normally, not quite the same
> effect. Very odd.

This also happens on my side if "backspace" *keystrokes* are used, but try to
hold it continuously a little longer, even though the string in input box is
deleted, and then hit "escape" key, several times.


Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.