lcdui.form — Creates a form that can contain various widgets
lcdui.form
[-title title
] [-ticker tickerwidget
] [-commandaction commandActionProc
]
[cget
$formcmd
-optname
] [configure
-optname
optval
] [size] [append
string
| image
| widget
] [item
itemnum
] [delete
itemnum
] [deleteall
] [setcurrent
]
The lcdui.form command creates a form, returning a command/object that can be used to further manipulate the created form. For an in-depth look at the Java code that this command is based on, see: javax.microedition.lcdui.Form
The subcommands accepted by the
$formcmd
that lcdui.form returns are as follows:
cget: Fetch configuration options.
configure: Set configuration options.
item
:
Return the item identified by
itemnum
.
itemnum
delete
:
Delete the item identified by
itemnum
.
itemnum
deleteall: Delete all items associated with this form.