Hi all,
I would like to have columns in a context-menu in order to make it
easier to read. The best I have come up with so far is to fake it
with accelerator short-cuts (add a tab character). For instance, the
text of the highlighted menu item in the attached figure is “WCDMA I
(2100MHz) \t1920-2170MHz”. Is it OK to do this or am I doing
something dangerous here?
Or is there a better way to achieve proper columns in a menu?
I only need this to work on Windows.
Thanks,
Max Landaeus
Max Landaeus wrote:
Hi all,
I would like to have columns in a context-menu in order to make it
easier to read. The best I have come up with so far is to fake it
with accelerator short-cuts (add a tab character). For instance,
the text of the highlighted menu item in the attached figure is
“WCDMA I (2100MHz) \t1920-2170MHz”. Is it OK to do this or am I
doing something dangerous here?
Nope, that's not dangerous. If you need more than that, you will
have to use an “owner-draw” menu, where you handle the drawing
yourself.
···
-- Tim Roberts, Providenza & Boekelheide, Inc.
timr@probo.com
Thanks Tim. Then I'll stick to this method for now.
Max
···
On 19/1/2011 2:48 AM, Tim Roberts wrote:
Max Landaeus wrote:
Hi all,
I would like to have columns in a context-menu in order to make it
easier to read. The best I have come up with so far is to fake it with
accelerator short-cuts (add a tab character). For instance, the text
of the highlighted menu item in the attached figure is "WCDMA I
(2100MHz) \t1920-2170MHz". Is it OK to do this or am I doing something
dangerous here?
Nope, that's not dangerous. If you need more than that, you will have to
use an "owner-draw" menu, where you handle the drawing yourself.
--
Tim Roberts,timr@probo.com
Providenza& Boekelheide, Inc.
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en