seperators in menus [message #16714] |
Thu, 12 August 1999 00:00  |
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  |
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  |
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
|
|
|