-
Topic
-
I was wondering if I could get some feedback to see whether this is a problem with my applet, or if I might have come across a possible bug…
Without going into details as to why, my client needs to be able to set (and occasionally change) the default font GW uses when composing, replying to, forwarding, or resending a message.
I have to admit, this is the first time I’ve tried coding a Formativ applet.
The code I drafted is as follows:
dim cFontFace
dim cFontSizeSub Main(Client, GWEvent)
cFontFace = “Arial”
cFontSize = 12
Call GroupWise.FocusSet(10,””)
Call GroupWise.FontSet(cFontFace, cFontSize, fnwREGULAR, False, False, 0)
if GWEvent <> “GW#C#REPLY” Then
Call GroupWise.FocusSet(0,””)
end if
End Subnd it seems to work. Except when I try printing a message created with this applet in place. A simple “Hello World” email, which was confirmed drafted in Arial 12-pt (as dictated by the applet) takes more than 25 pages to print (i.e. it’s as if the font is now 1200-pt). Saving the email to a txt file, and printing this text file prints normally.
Can anyone see what might have been done wrong with the above applet and / or suggest what might be happening wrt the printing of emails created with this applet in place?
TIA
Jeff
- You must be logged in to reply to this topic.