I pre-define an EditorGadget() with content containing some Asian characters. Sadly, this changes the font and it is really not nice looking (compile in Unicode mode!):
Code: Select all
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
LoadFont(0, "Arial", 12)
EditorGadget(0, 8, 8, 306, 133)
SetGadgetFont(0, FontID(0))
c.s = "> Recipients: abc@xyz.com" + #CR$
c.s + "> Sent: 20. Jun 2013 10:59" + #CR$
c.s + "> Attachments: Test_请收藏我们的网.pdf" + #CR$
c.s + "> " + #CR$
c.s + "> Test message to myself" + #CR$
SetGadgetText(0, c.s)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
FreeFont(0)
CloseWindow(0)
How to prevent the obvious font change? My customers complain as it looks very ugly.
Kukulkan



