Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

David

unread,
Dec 21, 2004, 11:43:30 AM12/21/04
to
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

unread,
Dec 21, 2004, 1:50:32 PM12/21/04
to
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

unread,
Dec 21, 2004, 3:28:40 PM12/21/04
to David
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

unread,
Dec 30, 2004, 9:40:42 AM12/30/04
to
Jeff Hobbs <je...@removethis.activestate.com> writes:

>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.
>

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

0 new messages