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

Home » Public Forums » archive » CW_PDMENU, changing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CW_PDMENU, changing [message #8928 is a reply to message #8923] Fri, 09 May 1997 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Whoops, in response to R. Bauer's question about changing
buttons in a pull-down menu I wrote:

> Widget_Control, screenButtonID, Set_Value="Screen"
> Widget_Control, psFileButtonID, Set_Value="* PS file"

After I posted I read the Subject line and realized he is
using CW_PDMENU for his pull-down menus. I've sort of
given up on CW_PDMENU since I have never been successful
explaining how it works to anybody. :-( I always just
create my own menus using WIDGET_BUTTON and the MENU
keyword.

So my advice above will only work if CW_PDMENU is
modified to return the ID's of the buttons it creates.
It would be a very good idea if these IDs were returned
in a BUTTON_IDS keyword, for example.

Cheers!

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CDF question
Next Topic: Stupid Question#1

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

Current Time: Mon Oct 20 21:55:56 PDT 2025

Total time taken to generate the page: 2.08089 seconds