Hierarchical submenus in option menu buttons
Hi list, I am trying to create a hierarchical submenu in an option menu button with LC 9.6. I have found this solution that seems to work only with pulldown buttons : https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu I also found this LC lesson that suggests to use polylists : https://livecode.com/using-polylist-to-create-dropdown-menus/ But that seems way too sophisticated for a simple submenu. Any idea ? Thank you in advance. jbv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hierarchical submenus in option menu buttons
Hi. I believe that only pullDown and popUp menu styles can support submenus. Combo boxes and Option menus styles do not. Craig > On May 31, 2024, at 5:32 AM, jbv via use-livecode > wrote: > > Hi list, > > I am trying to create a hierarchical submenu in an option menu button > with LC 9.6. > I have found this solution that seems to work only with pulldown buttons : > https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu > > I also found this LC lesson that suggests to use polylists : > https://livecode.com/using-polylist-to-create-dropdown-menus/ > But that seems way too sophisticated for a simple submenu. > > Any idea ? > Thank you in advance. > > jbv > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hierarchical submenus in option menu buttons
You are correct. Essentially, any menu that offers a list of strings to display on the menu button itself cannot use submenus. It makes sense really. I’ve never seen an option menu in any other application that allows a submenu choice. Bob S > On May 31, 2024, at 6:23 AM, Craig Newman via use-livecode > wrote: > > Hi. > > I believe that only pullDown and popUp menu styles can support submenus. > Combo boxes and Option menus styles do not. > > Craig > >> On May 31, 2024, at 5:32 AM, jbv via use-livecode >> wrote: >> >> Hi list, >> >> I am trying to create a hierarchical submenu in an option menu button >> with LC 9.6. >> I have found this solution that seems to work only with pulldown buttons : >> https://use-livecode.runrev.narkive.com/cBfAjix2/cascading-menu >> >> I also found this LC lesson that suggests to use polylists : >> https://livecode.com/using-polylist-to-create-dropdown-menus/ >> But that seems way too sophisticated for a simple submenu. >> >> Any idea ? >> Thank you in advance. >> >> jbv >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode