Standalone File Menu Suggestions
Posted: Mon Mar 24, 2014 7:45 pm
I've searched the Forum, User Guide, and LC Lessons for examples of code for a standalone File menu. Menu Builder provides the basic menuPick framework but none of the actual code. I can't find any guidance or examples other than on Jacque's website, http://www.hyperactivesw.com/mctutorial ... Menus.html. Thanks Jacque.
Could some of the forum savants post their favorite File menu for a no-save standalone, a pref/data.txt-save standalone, and a splash-screen standalone?
Here's my idea of a File menu for a no-save standalone. Are these the minimum menuItems as specified by interface guidelines? Should there even be New and Open menuItems?
Could some of the forum savants post their favorite File menu for a no-save standalone, a pref/data.txt-save standalone, and a splash-screen standalone?
Here's my idea of a File menu for a no-save standalone. Are these the minimum menuItems as specified by interface guidelines? Should there even be New and Open menuItems?
Code: Select all
on menuPick pWhich --file menu for a no-save standalone (msg box: edit the script of btn "File")
switch pWhich
case "New"
answer "Sorry, a new stack cannot be created." with "OK" titled "New"
break
case "Open"
answer "Sorry, an existing stack cannot be opened." with "OK" titled "Open"
break
case "Close"
close this stack
break
----divider
case "Quit"
quit
break
end switch
end menuPick