All pastes #764620 Raw Edit

Vermischtes

public text v1 · immutable
·published 2007-11-07 12:41 UTC
rendered paste body
set exitcmd [lcdui.command -label Exit -longlabel exit -type exit -priority 1]

proc HandleEvents {exitcmd cmd src} {
	midlet.exit
}

#set l [lcdui.list -title Liste -type implicit]
set l [lcdui.choicegroup -label CG -type exclusive]
$l append foo
$l append bar

set f [lcdui.form -title Listentest]
$f addcommand $exitcmd
$f configure -commandaction [list HandleEvents $exitcmd]
$f append $l
$f setcurrent