AMOSi:Menu$

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an example can be found on AMOSPro_Tutorial:Tutorials/Menus/Menus_1.AMOS


MENU$ is a special pseudo-variable which allows you to create your AMOS Menus directly inside one of your programs.


Menu$(,,)=normal$
Menu$(,,)=normal,selected$
Menu$(,,)=normal,selected$,inactive$
Menu$(,,)=normal,selected$,inactive$,background$

normal$ holds the description of the normal menu item.


selected$ sets appearance of an item when it's highlighted by the user.


inactive$ enters the description of an inactive item.


background$ defines the background area of your items.


These strings can contain either plain text or embedded Menu commands.


an example can be found on AMOSPro_Tutorial:Tutorials/Menus/Menus_2.AMOS