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 
Switch to threaded view of this topic 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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Widget
Next Topic: Astromed 09 - Sydney

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

Current Time: Thu Oct 09 07:03:42 PDT 2025

Total time taken to generate the page: 0.80083 seconds