Error in textFont reporting?

Bob Warren bobwarren at howsoft.com
Wed Jan 17 13:39:34 EST 2007


Thanks for that Jim!

Regards,
Bob

---------------------------------------------

Jim Ault wrote:

>Another solution (workaround):  using field 1 and field 2 (hidden)

on action
  if the selectedText is empty then exit to top
  copy
  select char 1 to -1 of fld 2
  paste
  set the textSize of char 1 to -1 of fld 2 to 12  --now same size
  put the effective textFont of char 1 to -1 of fld 2 into fontAnswer
  answer fontAnswer
end action
-- either the font or "mixed"





More information about the use-livecode mailing list