A Way of Treeview of odlg add item Chinese words
Posted: Sat Dec 01, 2007 3: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
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