RE: WS_TABSTOP Problem
- Posted by Jonas Temple <jtemple at yhti.net> Oct 24, 2003
- 521 views
Chris, I don't know if this helps but here's how I've gotten around this... 1. Add "onFocus" event handler for all edit controls 2. In the event handler save the control id with the current focus 3. Add "onFocus" event handler for the window 4. In the event handler set the focus to the previously saved id. There is probably a better way to accomplish this, but it worked in a pinch. HTH, Jonas "Blind Grapefruit Jefferson" - my blues name. Here's how to get yours: 1. Pick a physical infirmity (blind, deaf, mute, lame, etc.) 2. Pick a citrus fruit 3. Pick the last name of a US president Chris B wrote: > > > Hi all, > > I have a window with many EditText controls. Lets say if I have focus to > > EditText4, when I lose focus on the window and then return focus again, > EditText1 automatically gains focus. Is there anyway I can keep focus to > > whatever control has focus when losing focus to the window, without > disabling WS_TABSTOP? > > Thanks in advance, > Chris > >