executing a case statement from an external button
Posted: Tue Oct 20, 2009 8:18 pm
Ihave a pip up menu that I am executing a case statement based on the choices. I want to know if I can call the elemtents in the case statement from say a button whose function is to select the previous case statement from the current chosen one.
so I have a case statement
on popupbutton
switch foo
case "isfoo"
etc
etc
break
case "is isfoo"
etc
etc
break
end popupbutton
It works when I use the popup button where it resides...
I want to call case "isfoo" from an alternate button on the card say a tnextButton
on mouseup
call the case element "isfoo"
end mouseup
does any of that make sense?
so I have a case statement
on popupbutton
switch foo
case "isfoo"
etc
etc
break
case "is isfoo"
etc
etc
break
end popupbutton
It works when I use the popup button where it resides...
I want to call case "isfoo" from an alternate button on the card say a tnextButton
on mouseup
call the case element "isfoo"
end mouseup
does any of that make sense?