dspace
asked on
TextFont not working
I am trying to use the textfont function to change the font in a dialog box.
I have tried Courier, Courier New, Courier New (TrueType) and COUR.TTF and nothing works.
I have tried Courier, Courier New, Courier New (TrueType) and COUR.TTF and nothing works.
TextFont("Balance for this Grant: "&$Report&¶&¶&" Total = "&FormatNumberasText($TotalBalance;"$";",";".";2);"Courier New")
is $Report text? Remember all items should be text
ASKER
Yes, $Report starts as "" and I add to it each time through a loop.
missing double quote after $report, be it text or not, it is a variable, treat it as a field.
which gives:
TextFont("Balance for this Grant: " & $Report & "¶¶ Total = " & .....
so the font name is not the pb, it works the way it is.
which gives:
TextFont("Balance for this Grant: " & $Report & "¶¶ Total = " & .....
so the font name is not the pb, it works the way it is.
also FormatNumberasText must be a custom function, otherwise that does not exist, just in case...
ASKER
That doesn't seem to be it.
Now I've tried evaluating textfont("alphas: 0123456789";"Courier New") in the data viewer and it still does nothing. I've also tried it with other fonts such as Tahoma and Times New Roman, also with no luck.
Now I've tried evaluating textfont("alphas: 0123456789";"Courier New") in the data viewer and it still does nothing. I've also tried it with other fonts such as Tahoma and Times New Roman, also with no luck.
ASKER
In fact, now that I've started playing with it in Data Viewer, I can't get it to work for either text strings or fields. Since I have to believe that it actually does work, I'm guessing that I'm not providing the correct name for the font.
I've tried:
Courier
Courier New
Courier New Bold
Tahoma
Times New Roman
I've tried:
Courier
Courier New
Courier New Bold
Tahoma
Times New Roman
are you /win or osX ? I can post a file which works on the same machine (I have both) 'Courier New' is OK... normally!
ASKER
I've tried it on:
Win XP SP3
and OSX 10.5.6
FM9 and FM10
Win XP SP3
and OSX 10.5.6
FM9 and FM10
take my example here, tested under windows and mac:
http://pagetruck.com/uploads/13kx3tq5JdIsTkXYzmaXAA23dUw5DhOx/textfont.fp7
and let me know.
http://pagetruck.com/uploads/13kx3tq5JdIsTkXYzmaXAA23dUw5DhOx/textfont.fp7
and let me know.
ASKER
I get this message trying to access that link:
The requested URL /uploads/13kx3tq5JdIsTkXYz maXAA23dUw 5DhOx/text font.fp7 was not found on this server.
The requested URL /uploads/13kx3tq5JdIsTkXYz
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it does, but the data viewer is not supposed to be "styled", is it? does it show colours for instance, or point size?
ASKER
I didn't try that, but if you're asking, I'm sure it doesn't. I'm guessing that't the same problem with trying to assign a style to text in a Custom Dialog.
yes, only a layout is supposed to interprete the styles, otherwise there are ignored.