I use TSButton.lib of Manuel Mercado a lot in my program but TSButton does not support unicod (I thought). Because it doesn't show charactor correctly. I try to add FW_SetUnicode(.T.) in top of the TSButton Classes but it doesn't work.
How to make TSButton class support FW_SetUnicode()?
Thanks in advance.
Code: Select all
FW_SetUnicode( .T. )
DEFINE FONT oFnt NAME "Segoe UI" SIZE 0, -14DEFINE DIALOG oWnd SIZE 500, 200 TITLE 'Test TSButton' TRUEPIXEL FONT oFnt
@160, 70 SBUTTON oBtn PROMPT "中国版" OF oWnd SIZE 150, 25 PIXEL FONT oFnt ;
ACTION GTraslate2()
@160,280 BUTTON '中国版' OF oWnd SIZE 150, 25 PIXEL FONT oFnt ; // "Translate F/O Menu"
ACTION TranslateMenu()
ACTIVATE DIALOG oWnd CENTER