Re: Incorrect Font Display
Posted: Fri Dec 06, 2024 1:52 am
Dear Surasak,
I test with FWH2304 without problem, do not define FW_SetUnicode() in your code. That's all, if you use ANSI.
testget2.prg
I test with FWH2304 without problem, do not define FW_SetUnicode() in your code. That's all, if you use ANSI.
testget2.prg
Code: Select all | Expand
#Include "FiveWin.Ch"
Function Main()
Local oDlg
Local oGet, oSay, oFont
local cVar := space( 10 )
DEFINE FONT oFont NAME 'Tahoma' SIZE 0, -16
DEFINE DIALOG oDlg from 0,0 to 400,400 pixel
@ 5,15 SAY oSay PROMPT chr(202)+chr(161) SIZE 40, 12 PIXEL OF oDlg FONT oFont
@ 25,15 get oGet var cVar picture "@!" bitmap "..\bitmaps\chkyes.bmp" action( msginfo( "action" ) );
size 120,12 of oDlg pixel
oGet:lAdjustBtn := .t.
ACTIVATE DIALOG oDlg
return nil
Surasak wrote:Dear nageswaragunupudi,
My ANSI Program work fine on FW17 and older, Just found this problem on FW24 with BCC7.70
In THAI character TIS-620 and Window 874 character in my sample cannot combine
Please see the picture at link below:
http://www.asic-net.com/temp/Font-1.jpg
http://www.asic-net.com/temp/Font-2.jpg