And no need to use the value() function in your button's script, btw.

On Jul 11, 2005, at 1:08 PM, Ban Nguyen wrote:

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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


------------------------------------------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
------------------------------------------


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to