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

Home » Public Forums » archive » seperators in menus
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
seperators in menus [message #16714] Thu, 12 August 1999 00:00 Go to next message
Thorsten Holtkaemper is currently offline  Thorsten Holtkaemper
Messages: 6
Registered: August 1998
Junior Member
Hi all,
is it possible to generate a seperating line in a menu. The only
solution I can imagine is to put a desinsitived (menu)button in it. May
be you know a better solution?
Thanks again,
Thorsten.
Re: seperators in menus [message #16789 is a reply to message #16714] Tue, 17 August 1999 00:00 Go to previous message
Eric Kihn is currently offline  Eric Kihn
Messages: 2
Registered: August 1999
Junior Member
Thorsten,

If I understand the question what you want is a:

quitID = widget_button(fileID, Value = 'Quit', Event_Pro='XFImage_Quit',
/separator)
Which in this case puts a seperator above the quit button.

Ciao,
Eric

Henry Chapman wrote:

> Thorsten Holtkaemper wrote:
>>
>> Hi all,
>> is it possible to generate a seperating line in a menu. The only
>> solution I can imagine is to put a desinsitived (menu)button in it. May
>> be you know a better solution?
>> Thanks again,
>> Thorsten.
>
> If you are using the cw_pdmenu procedure, which I think the gurus argue
> against doing, then adding 4 to the flag value will put a separator
> above that menu item. This is undocumented in help, but is described in
> the descriptive comments of cw_pdmenu.pro.
>
> Henry.
>
> --
> Henry Chapman mailto:chapman9@llnl.gov
> Information Science & Technology Program
> Lawrence Livermore National Lab
> L-395, 7000 East Ave., Livermore CA 94550
Re: seperators in menus [message #16797 is a reply to message #16714] Tue, 17 August 1999 00:00 Go to previous message
Henry Chapman is currently offline  Henry Chapman
Messages: 10
Registered: February 1997
Junior Member
Thorsten Holtkaemper wrote:
>
> Hi all,
> is it possible to generate a seperating line in a menu. The only
> solution I can imagine is to put a desinsitived (menu)button in it. May
> be you know a better solution?
> Thanks again,
> Thorsten.

If you are using the cw_pdmenu procedure, which I think the gurus argue
against doing, then adding 4 to the flag value will put a separator
above that menu item. This is undocumented in help, but is described in
the descriptive comments of cw_pdmenu.pro.


Henry.

--
Henry Chapman mailto:chapman9@llnl.gov
Information Science & Technology Program
Lawrence Livermore National Lab
L-395, 7000 East Ave., Livermore CA 94550
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Conversion Error?
Next Topic: Re: TLB Widget resizing

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

Current Time: Wed Oct 08 16:00:32 PDT 2025

Total time taken to generate the page: 0.00582 seconds