Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | menu.getItem SEARCH    

  Functions
menu.add.item
menu.add.popup
menu.add.separator
menu.create
menu.destroy
menu.getItem
menu.item.checked
menu.item.enabled
menu.item.radio
menu.popup.create
menu.popup.show
menu.redraw
menu.set

  Events
event.menu:click

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
menu.getItem

Language: MioScript
Product: MioFactory


Syntax

menu.getItem()


Parameters

None.


Return value

Latest item ID selected by the user.



Description

When the user select a menu item, the event event.menu:click is raised and the function menu.getItem() returns the ID of the item selected by the user.




MioScript Sample Code

event.menu:click
    alert(menu.getItem())
event.end