Re: CW_PDMENU, changing [message #8914] |
Mon, 12 May 1997 00:00 |
R. Bauer
Messages: 137 Registered: November 1996
|
Senior Member |
|
|
Thank you, all!
I learned much about cw_pdmenu!
I did a change to cw_pd_menu_EVENT, {ID:ev.id .
Now event.id will be the id of the widget_button which was used to
create the menu.
function cw_pdmenu_EVENT, ev
WIDGET_CONTROL, ev.id, get_uvalue=uvalue
return, { ID:ev.id, TOP:ev.top, HANDLER:0L,value:uvalue
} ========
end
Later I'll go to use Stein Vidar's routines, they are great!
--
R.Bauer
Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
|
|
|
Re: CW_PDMENU, changing [message #8922 is a reply to message #8914] |
Fri, 09 May 1997 00:00  |
agraps
Messages: 35 Registered: September 1994
|
Member |
|
|
Sorry.. I did exactly the same thing that David did (I think we
posted about the same time.). My example doesn't set up a CW_PDMENU
menu widget, only a WIDGET_BUTTON with /MENU option widget.
(but good luck anyway)
Amara
--
************************************************************ *************
Amara Graps email: agraps@netcom.com
Computational Physics vita: finger agraps@best.com
Multiplex Answers URL: http://www.amara.com/
************************************************************ *************
|
|
|