Rolf, You can use the "templateButton" and "templateField". Set the properties for these templates, and then the next time you create a new button or new field, it will start with a copy of the template, complete with font settings.
Hope this helps, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Rolf Kocherhans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 6:22 AM Subject: Button + Field Fonts etc. > I like to mimic every OS as best as I can. Therefore I like to > display Button on MacOS9 in Charcoal 12 point and on MacOSX in Osaka > 13 point (Sounds strange but looks best (I know it should be Lucida > Grande)). > > > I know I can go through every button + field and go: > > if the platform is "MacOS" and the systemVersion is "9.2.1" then > set the textFont of me to "Charcoal" > set the textSize of me to 12 > answer "MacOS 9" > end if > > if the platform is "MacOS" and the systemVersion is "10.1.1" then > set the textFont of me to "Osaka" > set the textSize of me to 13 > answer "MacOSX" > end if > > and repeat this for every button and for every field I got on a certain card. > > > But I also know that if you create a new button it get kind of a > default TextFont but its name and size is not displayed when you open > the Fonts Stack in the Editor. > So I thought that I can go similar to this: > > if the platform is "MacOS" and the systemVersion is "9.2.1" then > set the textFont of for all buttons to "Charcoal" > set the textSize of for all buttons to 12 > end if > > This would be very easy ... I know it is not possible but maybe there > is something like a defaultText or similar ? > > Can anyone help on this ? > > Regards Rolf > >
