1. isFocus?
- Posted by aku at inbox.as Mar 24, 2001
- 416 views
win32lib 0.55.1 How I can get whether a control is focus or not?
2. Re: isFocus?
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Mar 24, 2001
- 426 views
> win32lib 0.55.1 > > How I can get whether a control is focus or not? You could use the onGotFocus event... Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying
3. Re: isFocus?
- Posted by martin.stachon at worldonline.cz Mar 24, 2001
- 444 views
I've created function getFocus and sent it to Derek Parnell. It should be implemented in the next release of win32lib. ----- Original Message ----- From: <aku at inbox.as> To: EUforum <EUforum at topica.com> Sent: Saturday, March 24, 2001 2:37 PM Subject: isFocus? > > > win32lib 0.55.1 > > How I can get whether a control is focus or not? > > > > >
4. Re: isFocus?
- Posted by Derek Parnell <ddparnell at bigpond.com> Mar 24, 2001
- 422 views
Aku wrote: > win32lib 0.55.1 > > How I can get whether a control is focus or not? > This is a new routine in the next version called getFocus(). You can use it now by doing this.... Place this line just after the "include win32lib.ew" xGetFocus = registerw32Function(user32, "GetFocus", {}, C_INT ) Then you can use this to get the ID of the control that has focus. infocus = getId(w32Func( xGetFocus, {} )) ------ Derek Parnell Melbourne, Australia "To finish a job quickly, go slower."