PLEASE HELP PLEASE HEP.........

David Burgun dburgun at dsl.pipex.com
Mon Jul 11 15:12:06 EDT 2005


define it as a global, outside of the handlers

global textOfClickedLine

Hope this helps
Dave


>I have this code in the scrolling list field:
>
>global textOfClickedLine
>on mouseUp
>    select the clickLine
>    put the value of the clickLine into textOfClickedLine
>    answer textOfClickedLine
>end mouseUp
>
>It prints the value of the clickline correctly
>
>And then created a button on the same card
>
>And have this code for the button:
>
>on mouseUp
>     answer value(textOfClickedLine)
>end mouseUp
>
>but it prints out the whole text "textOfClickedLine" not the value. How
>can I get the value of the "textOfClickedLine" to print out
>
>I don't know what I did wrong Please help me.........
>
>Thank you for you help
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list