Ma Menus

Peter Haworth pete at lcsql.com
Sun May 13 14:33:18 EDT 2012


Thanks Jacque, got it all working now.
Pete
lcSQL Software <http://www.lcsql.com>



On Sat, May 12, 2012 at 8:03 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 5/12/12 8:22 PM, Peter Haworth wrote:
>
>> I'm trying to deal with disabling the Edit menu while leaving the
>> Preferences item on it enabled, when running on a Mac.
>>
>> I disable the "Edit" menu, then enable the "Preferences" item in the Edit
>> button of the menu bar group I created with the Menu Builder, but no
>> matter
>> what I do, the Preferences item stays disabled.
>>
>> I suspect this has something to do with how LC deals with the Preferences
>> item on Macs, moving it off the Edit menu button and onto the Application
>> menu.
>>
>
> It's more how LiveCode deals with menus. If you disable the whole menu,
> then all its items are also disabled.
>
>
>
>> I'm thinking I have to disable each Edit menu item individually, except
>> Preferences, to do this but wondering if there's some other way.
>>
>
> I don't know any other way. You can do it in a repeat loop though. Loop
> through all the lines and as soon as you hit a line containing
> "Preferences", bail out.
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list