Creating a simple menu

David Squance dsquance at telus.net
Fri Jan 7 22:41:50 EST 2022


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



More information about the use-livecode mailing list