Set the textfont of char 1 to -1 of field "myField" to...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Hurley
Sent: Tuesday, August 02, 2005 2:26 PM
To: [email protected]
Subject: Text fonts of text and text fields

I am learning a lot more about font than I really wanted to know.

I see now that the textfont of the field is not necessarily the same 
as the text in that field--how else could you have multiple fonts in 
a field.

So I can set the testFont of the field easily in script: Set the 
textFont of field 1 to "times"

But how would I set the textFont of all the text in the field, other 
than the kludge:

repeat with i = 1 to the number of lines in field 1
    set the textFont of line i of field 1 to "times"
end repeat

Or by using the Text menu.

Also if "put the textfont of line 1 of field 1 into tFont" yields an 
empty value for tFont, I presume that RR is using the User Font. I do 
I script for the User Font? It's not listed in the preferences.

JIm
_______________________________________________
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


_______________________________________________
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