DLOG
Sarah Reichelt
sarahr at genesearch.com.au
Thu Jan 17 19:01:01 EST 2002
Write mouseUp scripts for the 2 buttons that do different things.
If you are returning myNewVar as a global then have the Cancel button set it
to empty and the OK button fill it with your data.
Both scripts should end with "close this stack", then you can check myNewVar
in your main routine.
Sarah
> Hello,
>
> I've made a substack of a main stack.
> This substack is used as DLOG
>
> in the script :
>
>
>
> modal stack "MyDLOG"
>
> --There I'm waiting fo the user click
> --and I go further
>
> put fld 1 of stack "MyDLOG"&return&fld 2 of stack "MyDLOG" into myNewVar
>
>
>
>
>
> In the substack "MyDLOG", there is a button "OK" and a button "Cancel"
> How can I know which of this two button has being clicked ??
>
>
> thanks.
> --
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list