comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CW_PDMENU help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CW_PDMENU help [message #68706] Tue, 17 November 2009 08:33
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi guys, why the following example doesn't work ?

menu_list=[ '1\Variable', '0\A', '0\B', '0\C', '2\D', '1\Palette',
'0\34', '0\35', '2\39']

base = WIDGET_BASE()
text = WIDGET_DRAW(base,XSIZE=300,YSIZE=300)

WIDGET_CONTROL, base, /REALIZE

context_base=WIDGET_BASE(base, /CONTEXT_MENU)
menu = CW_PDMENU(context_base, menu_list, /CONTEXT_MENU, /COLUMN)

WIDGET_DISPLAYCONTEXTMENU, text, 150, 150, context_base

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

Look what's happening...... I think that the definition of the context
menu is correct but is not displayed well.
Can somebody help me ?
Thanks,

nata
[Message index]
 
Read Message
Previous Topic: Widget
Next Topic: Astromed 09 - Sydney

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:07:55 PDT 2025

Total time taken to generate the page: 0.24227 seconds