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

Home » Public Forums » archive » Re: How to make menu GRAY?
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: How to make menu GRAY? [message #4195 is a reply to message #4181] Fri, 05 May 1995 00:00 Go to previous message
nicholas is currently offline  nicholas
Messages: 22
Registered: January 1994
Junior Member
> Does anyone know how to make GRAY (unavailable) points of a menu? I can't
> find it in the documentation. Meanwhile, it seems to be possible since >system makes points of a main menu grayed when I call a modal dialog box.
> Any advice will be highly appreciated.

In PV-Wave you get the widget ID of the menu item and use it in a WwSet
to gray it out.
Example:


menuid = WwMenuBar(parent,items,Menus=menus)
itemids = WtGet(menus(i),/Child) ; i=menu from menubar
status = WtSet(itemids(j),/Nonsensitive) ; j=the index of item from
menu i

Hope this helps,
-Andy


----------------------------------
Andrew Nicholas
CPI onsite at Naval Research Lab
Code : 7640
(202) 767-9452 voice
(202) 404-8090 fax
nicholas@uap.nrl.navy.mil
-----------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to determine good tickmark formats?
Next Topic: Re: GETHELP.PRO source code

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

Current Time: Tue Dec 02 21:55:04 PST 2025

Total time taken to generate the page: 0.48358 seconds