Showing image on Button focus
#16
seriously... no love?

the images do not resize properly either... is it me or is there some bug i'm hitting?

can someone run this and tell me if they get the same results?

i'm seeing two issues:

1) thumbnail images in lower right corner not sizing as set in control

2) onfocus() not changing properly for horizontal navigation, working for vertical nav.

thx for helping!
I'm not an expert but I play one at work.
Reply
#17
i would change
Quote: def onaction(self, action):
if action == action_previous_menu:
self.close()
if self.imgthumb:
self.removecontrol(self.imgthumb)
self.imgthumb = none
self.setthumbnail()

to

Quote: def onaction(self, action):
if action == action_previous_menu:
self.close()
if self.imgthumb:
self.removecontrol(self.imgthumb)
self.imgthumb = none
self.setthumbnail()

and get rid of

self.setfocus(self.btnevent[i])

and implement the thread lookup i mentioned in post 2. i really dont trust getfocus otherwise, but then i havent updated yet to the latest greatest.
Reply

Logout Mark Read Team Forum Stats Members Help
Showing image on Button focus0