stimpy13 Posted May 18, 2004 Posted May 18, 2004 I am having a problem scripting a text size function The result should be the test of field named "anwer" set to 12 point type The result is 14 pt type if i change the script to a point size other then 12 is works fine ( ie 10pt or 16 pt) here is the very simple script i am using Set Field [CardFile::Answer; TextSize ( CardFile2::Answer ;12)] can anyone confirm? thanks Andrew
Vaughan Posted May 18, 2004 Posted May 18, 2004 What formatting does the field have on the layout you are viewing it on?
stimpy13 Posted May 18, 2004 Author Posted May 18, 2004 In the layout the text is set to 14 pt . oddly if i set the script to change the size to 14 pt it works fine...it just appears to be a problem setting to 12 pt I can left lick and change the size without a problem
The Shadow Posted May 18, 2004 Posted May 18, 2004 Try changing the layout's default font size to 10. (Click on the background of the body in layout mode and change the font size size in the menu).
Vaughan Posted May 18, 2004 Posted May 18, 2004 Ah. It appears that the field formatting on the layout over-rides the "embedded" text formatting.
stimpy13 Posted May 20, 2004 Author Posted May 20, 2004 Yes the user can format the text and override the field formatting ...which is one reason why this script is so important...what i am trying to establish is weather or not this is a problem just on my systems or a bug in filemaker
Recommended Posts
This topic is 7753 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now