Property problem

DunbarX at aol.com DunbarX at aol.com
Wed May 27 18:14:49 EDT 2009


Drove me nuts.

If you ask for certain text properties of a button, it depends how you 
identify that button.

You can always get, say the textSize of a field by using either the name or 
id of that field. But with a button, only the name will work.

Same button...

get the textsize of btn "myBtn" --works
get the textsize of btn id 1066 --returns empty

The "properties" of the object confirms this. The "textFont", "textStyle" 
and "textSize" properties are blank if you get them by button id.

Sheesh.

Craig Newman




**************
We found the real ‘Hotel California’ and the ‘Seinfeld’ 
diner. What will you find? Explore WhereItsAt.com. 
(http://www.whereitsat.com/?ncid=emlwenew00000004)



More information about the use-livecode mailing list