Hello. |
Hi Tom,
this is not correct. Please, try "Window currentWindow" to get the current window or use Window>>isActive sent to some Window instance if it is the active one. Note: These messages refer to the last window that became active. If you change to another window of a different application (other than your current image), this is not tracked in the image. "Window currentWindow" does not return nil but the window that was active before. Hope that helps Holger Guhl -- Senior Consultant * Certified Scrum Master * [hidden email] Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20 Georg Heeg eK Dortmund Handelsregister: Amtsgericht Dortmund A 12812 Gruenewald, Tom schrieb:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In 7.7, use:
Screen default focusedWindow. aWindow hasFocus self builder window hasFocus Michael Holger Guhl wrote: > Hi Tom, > this is not correct. Please, try "Window currentWindow" to get the > current window or use Window>>isActive sent to some Window instance if > it is the active one. > Note: These messages refer to the last window that became active. If > you change to another window of a different application (other than > your current image), this is not tracked in the image. "Window > currentWindow" does not return nil but the window that was active before. > Hope that helps > Holger Guhl > -- > Senior Consultant * Certified Scrum Master * [hidden email] > Tel: +49 231 9 75 99 21 * Fax: +49 231 9 75 99 20 > Georg Heeg eK Dortmund > Handelsregister: Amtsgericht Dortmund A 12812 > > Gruenewald, Tom schrieb: >> >> Hello. >> How to check: Is my window the active window? (The window with the >> focus.) >> >> ^self builder window controller isControlActive >> >> Is this the correct way? >> >> Thank you for your answers. >> Tom Grünewald >> >> ________ >> >> Carl Zeiss Industrielle Messtechnik GmbH >> Softwareentwicklung/Software Development >> >> T o m G r ü n e w a l d >> >> 73446 Oberkochen, Germany >> tel: +49.7364.20-8541 >> fax: +49.7364.20-4800 >> email: [hidden email] >> http://www.zeiss.de/imt >> > ------------------------------------------------------------------------ > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |