Bug in window.getfocus() ?
#1
Smile 
im trying to do some custom navigation stuff that relies on window.getfocus() to figure out if the control is selected. i'm the function doesnt seem to work...

Quote: def oncontrol(self, control):
if control == self.getfocus():
print "it works"
else:
print "it doesnt"

doesnt necessarily print "it works". in my code self.getfocus() is returning a label which isnt able to get focus as labels cant take part in the navigation stuff. moreover getfocus() doesnt change as i change controls.

has anyone used self.getfocus() before? do i have to give up on the builtin navigation?

-ast
Reply
#2
maybe i should post this in the bugs forum?

-ast

[edit]
bump
Reply

Logout Mark Read Team Forum Stats Members Help
Bug in window.getfocus() ?0