Products Downloads


French version


 

These are examples of menu syntaxes:

 

Guide word

MENU_BAR

File submenu

Edit submenu

Items:

  • Open
  • New

Items:

  • Copy
  • Paste
 

 <adelia:menu name="MENU_BAR" id="MENU_BAR" type="1" orient="1" smorient="2" smpos="1" transparency="100" rc="1" mnubackcolor="menu" border="threedshadow 1 1" narrowtop="AWSMnuNArrowUD.gif" harrowtop="AWSMnuHArrowUD.gif" narrowsub="AWSMnuNArrowLR.gif" harrowsub="AWSMnuHArrowLR.gif" hibackcolor="highlight" disitextcolor="graytext" nitextcolor="menutext" hitextcolor="highlighttext" >

<!--[{name:"SM_FILE",lib:"File",rc:1,childs:[{name:"ITE_OPEN",lib:"Open",rc:1,onclick:"::ADELIA_EVT"},{name:"ITE_NEW",lib:"New",rc:1,onclick:"::ADELIA_EVT"}]},{name:"SM_EDIT",lib:"Edit",rc:1,childs:[{name:"ITE_COPY",lib:"Copy",rc:1,onclick:"::ADELIA_EVT"},{name:"ITE_PASTE",lib:"Paste",rc:1,onclick:"::ADELIA_EVT"}]}]

-->

</adelia:menu>

 

Guide word

CONTEXT_MENU

Items:

  • Add
  • Modify
  • Delete

 

 

<adelia:menu name="CONTEXT_MENU" id="CONTEXT_MENU" type="2" orient="2" smorient="2" smpos="1" transparency="100" rc="1" mnubackcolor="menu" border="threedshadow 1 1" narrowtop="AWSMnuNArrowLR.gif" harrowtop="AWSMnuHArrowLR.gif" narrowsub="AWSMnuNArrowLR.gif" harrowsub="AWSMnuHArrowLR.gif" hibackcolor="highlight" disitextcolor="graytext" nitextcolor="menutext" hitextcolor="highlighttext" >

<!--[{name:"ITE_ADD",lib:"Add",rc:1,onclick:"::ADELIA_EVT"},{name:"ITE_MODIFY",lib:"Modify",rc:1,onclick:"::ADELIA_EVT"},{name:"ITE_DELETE",lib:"Delete",rc:1,onclick:"::ADELIA_EVT"}]

-->

</adelia:menu>

<adelia:entryfield type="ALPHA" length="15"><input type="text" name="CHS_1" id="CHS_1" size="15" maxlength="15" oncontextmenu="return AWS.AWSMENU.AWSShowMenu(event, this, 'CONTEXT_MENUMnuAWS')"/></adelia:entryfield>

 

 

 Back to the menu definition

 

↑ Top of page

  • Aucune étiquette