What do I use for the position number of a separator? I have defined the
menu as:
MYMENU_MENU MENU
{
POPUP "&File"
{
MENUITEM "&Open", MENU_FILEOPEN
MENUITEM "&New", MENU_FILENEW
MENUITEM "&Save", MENU_FILESAVE
MENUITEM "&Saveas", MENU_FILESAVEAS
MENUITEM SEPARATOR
MENUITEM "Recent", MENU_FILELAST1
....
Trying to use
menubar=.ScriptMenuBar~new("Fescue.rc", MYMENU_MENU, , , .true, self)
menubar=.ScriptMenuBar~new("Fescue.rc", MYMENU_MENU, , , .true, self)
/* disable/remove/setup initial MenuBar File items */
menubar~disable(MENU_FILESAVE)
menubar~disable(MENU_FILESAVEAS)
menubar~removeSeparator(5,.true)
menubar~removeItem(MENU_FILELAST1)
The other items on the menu are disabled/removed, but the separator remains.
Also, if this would be a popup other than the first, as in this case, how would
the numbering then be defined/resolved?
--
Art Heimsoth - doglo...@artheimsoth.com
http://artheimsoth.com -- the Doglover's home page
------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users