On 12/12/12 2:53 PM, Richmond wrote:
on mouseUp set the useUnicode to true set the unicodeText of fld "f1" to numToChar(65940) end mouseUp and when I click on the button I get nothing like anything that should appear (a capital X with a bar through its middle), but something that resembles a badly deformed Hebrew 'Ain'.
Docs say: If the useUnicode property is set to true, the charToNum function returns an integer between zero and 65535.
So it's out of range. It might be doing what it does if useunicode is false -- setting the value to the number div 255.
-- Jacqueline Landman Gay | [email protected] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
