Page 1 of 1

A Way of Treeview of odlg add item Chinese words

PostPosted: Sat Dec 01, 2007 3:07 am
by ShumingWang
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