FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos A Way of Treeview of odlg add item Chinese words
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
A Way of Treeview of odlg add item Chinese words
Posted: Sat Dec 01, 2007 03:07 AM

DEFINE FONT ofont1 name "MS Sans Serif" SIZE 0,-12

oTree:bChanged = { ||oitem:=otree:getselected(),oitem:add("Show Chinesse words显示汉字")}
otree:setfont(ofont1)

// otree of a dialog,

This works .

If font changes to "arial" will cause wrong display words .

If otree of a window or of a dialog from source code, will work.

Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion