Re: Some help on dialog director
Re: Some help on dialog director
- Subject: Re: Some help on dialog director
- From: Sun Real <email@hidden>
- Date: Mon, 25 Jun 2001 15:39:11 +1000
Jan Erik Mostrvm's message of 23/6/01 2:08 AM contained:
>
I got a dialog in a handler which is specified like this
[
]
>
set i to dd interact with user
>
if i = 1 then
>
-- Done button
>
exit repeat
>
else if i = 2 then
>
>
else if i = 3 then
>
set y to (dd get value of item 3 of s)
Item 3 is the button, so its value is going to be a bool - on/off,
pressed/not pressed
If you want the list selection, you have to get the value of item 2, an
integer corresponding to the index of the item in its list:
else if i = 3 then
set y to (dd get value of item 2 of s)
Cheers,
Richard Morton
-- Great Lies of the Music Business: "Band drinks are free"