The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Add submenu to submenu
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

spconway1987

11 Posts

Posted - 07/12/2015 :  6:52:33 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2015 Sr2
Operating System: Windows 8

Hi,

I'm trying to use Labtalk to add a submenu to an already existing submenu. I've added my own menu along with 3 submenus and when I hover over a submenu I would like to add another submenu similar to how you can click file then new and then another submenu appears. Any help is appreciated. Thanks!

SeanMao

China
288 Posts

Posted - 07/13/2015 :  06:42:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can check out the "menu" object and related examples to learn how to add a new menu to existing submenus:

http://www.originlab.com/doc/LabTalk/ref/Menu-obj

Regards!

Sean

OriginLab Tech. Service
Go to Top of Page

spconway1987

11 Posts

Posted - 07/13/2015 :  11:01:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by SeanMao

Hi,

You can check out the "menu" object and related examples to learn how to add a new menu to existing submenus:

http://www.originlab.com/doc/LabTalk/ref/Menu-obj

Regards!

Sean

OriginLab Tech. Service



Is there a way to add the menus so they persist when closing origin? I have one menu item with three submenu items that I've added through custom menu organizer but I can only seem to add submenus to those submenus through the labtalk command line.
Go to Top of Page

cdrozdowski111

USA
247 Posts

Posted - 07/13/2015 :  1:49:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You indicate that you built the menu using Custom Menu Organizer. With the custom Menu Organizer in Origin 2015 SR2, you can have 3 menu levels. That is, the main menu item and 2 levels of sub menus. and it persists between Origin sessions.



Do you want another sub-level of menus beyond that? Or are you trying to create the entire menu out of LabTalk? I'm just not sure which way you wish to go.
Go to Top of Page

spconway1987

11 Posts

Posted - 07/13/2015 :  2:31:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Popups vs items seemed to be what I was not doing correctly. Thank you for that picture it helped a lot. I was adding items instead of adding popup then item.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000