Hello Ken Thanks for your suggestion. It is great to learn about the templateButton etc. which can be used if you develop for just one platform.In my case "and sorry I forgot to mention it" I create Stacks which I like to put onto a server, and then download them with an Engine Stack.
I would like to create once, and run everywhere, but have the right user experience for each platform. I could use the default button fonts etc. but I am not happy with them! So what I need is to put some stuff into a preOpenStack handler I guess, I am just looking for the best and smartest way to change the appearance for, for instance,all buttons to look right on a given platform. Cheers Rolf >From: "Ken Ray" <[EMAIL PROTECTED]> >Subject: Re: Button + Field Fonts etc. >Date: Mon, 19 Nov 2001 16:46:41 -0600 >MIME-Version: 1.0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: 7bit >References: <[EMAIL PROTECTED]> > >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
