For Programmers: Free Programming Magazines  


Home > Archive > Tcl > December 2004 > Trouble with menu entry with both icon and label (compound)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Trouble with menu entry with both icon and label (compound)
David

2004-12-21, 4:00 pm

I have a problem only on Windows platforms, not unix:
I create a compound menu with an icon and a label. Trouble is:
the icon is badly displayed until visited by the mouse pointer.

Any help would be appreciated...
Thanks!

David.

------------------------------

Simple example:

menu .m -tearoff 0
image create photo img -file {C:\WINDOWS\Web\bullet.gif}
..m add command -compound left -image img -label "foo"
..m post 100 100
Aric Bills

2004-12-21, 4:00 pm

I'm unable to reproduce the problem on Windows XP with Tcl/Tk 8.4.9 and
8.5.0a2. The icon looks fine whether the mouse is over it or not. What
versions of Windows and Tcl/Tk are you dealing with?
Jeff Hobbs

2004-12-21, 8:57 pm

David wrote:
> I have a problem only on Windows platforms, not unix:
> I create a compound menu with an icon and a label. Trouble is:
> the icon is badly displayed until visited by the mouse pointer.


This is a known issue only when you have the fade or scrolling
effect turned on for menus.

--
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
Pat Thoyts

2004-12-30, 3:59 pm

Jeff Hobbs <jeffh@removethis.activestate.com> writes:

>David wrote:
>
>This is a known issue only when you have the fade or scrolling
>effect turned on for menus.
>


Which is, unfortunately, the default.

--
Pat Thoyts http://www.zsplat.freeserve.co.uk/resume.html
To reply, rot13 the return address or read the X-Address header.
PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com