dialog choose { title "Choose Full Name and Emailadress" size -1 -1 150 100 option dbu text "Full Name", 1, 10 10 40 8 edit "", 2, 50 10 80 10, autohs text "Emailadress", 3, 10 20 40 8 edit "", 4, 50 20 80 10, autohs button "Start", 5, 50 30 80 10, cancel text "Full Name", 6, 10 50 40 8 edit "", 7, 50 50 80 10, autohs text "Emailadress", 8, 10 60 40 8 edit "", 9, 50 60 80 10, autohs button "Start", 10, 50 70 80 10, ok } on *:dialog:choose:init:0:{ /did -a choose 2 %startup.fullname1 /did -a choose 7 %startup.fullname2 /did -a choose 4 %startup.emailaddr1 /did -a choose 9 %startup.emailaddr2 } on *:dialog:choose:close:0:{ /set %startup.fullname1 $did(2) /set %startup.fullname2 $did(7) /set %startup.emailaddr1 $did(4) /set %startup.emailaddr2 $did(9) } on *:dialog:choose:sclick:5:{ /fullname $did(2) /emailaddr $did(4) } on *:dialog:choose:sclick:10:{ /fullname $did(7) /emailaddr $did(9) }
dzikut