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
A Way of Treeview of odlg add item Chinese words
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China