Creating a simple menu

David Squance dsquance at telus.net
Sat Jan 8 15:33:11 EST 2022


Thanks for the help to all who replied. I finally found the item I needed in the tools palette. I don’t want a menu bar, just a button that produces drop-down options. A couple minor items: can the font size for the menu items be changed? And the 3D option with a menu button seems to make no difference. The appearance aspect isn’t important, since this is just meant to be a mock-up, not a real product. However, little things like that I find odd. 

I copied/pasted a menu button from an old stack, and the font size in the menu items is the same as the button name, but it sent the options to the size, not down, and I don’t know how to change that.

> On Jan 8, 2022, at 8:59 AM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> The easiest way is to use the Menu Builder in the Tools menu.
> 
> If you want to do it manually, the pulldown button in the tools palette is type "menu". But the builder is faster and easier.
> 
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On January 7, 2022 9:44:12 PM David Squance via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
>> Hi all,
>> I want to create a mock-up of a web site, so some menus are required. It’s something I’ve done very little with, and the last was years ago. I’m an infrequent  LC user, anyway, though have dabbled with it since it’s beginnings. According to the User Guide (this with version 10):
>> 
>> Button Menus
>> 
>> You can create a button menu by dragging out one of the menu controls from the tools palette. However,if you want to create one by script, the easiest is to create a button and set the style of the button to "menu". Next, you can set the menuMode of the button to the appropriate menu type. You can either set the menuMode in a handler, or use the Type menu in the button's property inspector to set the menu type.
>> 
>> 
>> However, if I create a button, menu is not an option in the list of styles. And what do the “menu controls” in the tools palette look like?
>> 
>> I’m sure I’m missing something pretty basic, but I am definitely missing it. I guess I can copy and paste a menu button from an old stack, and change its attributes, or work around it with a bunch of hidden buttons, but there must be a more streamlined approach than that.
>> 
>> Thx.
>> Dave
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list