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

Ban Nguyen bann at sunncomm.com
Mon Jul 11 15:08:15 EDT 2005


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



More information about the use-livecode mailing list