>I have treeview which base on cursor.
>One field of the cursor is for the treeview text and I fill this field with hebrew words.
>When I run the form I see gibberish on the treeview nodes.
>
>Notes:
>1. when I fill with english I dont have any problem.
>2. I dont have problem to use hebrew in other vfp controls (caption, listbox etc).
Treeview is not a VFP control, it's an ActiveX supplied with Windowses (all of them, since probably 3.1 or so, but I guess it really started getting packaged like this in W95). To control the codepage of what it displays, you need to set the treeview.font.codepage or some such property. You can't access this property directly - PEM window shows that .Font is an object, won't drill in; the TreeCtrl Properties dialog doesn't have any control to access this property, but there's a way.
You need to do it in code. Just say, maybe in the .init of the treeview, this.font.FontCharset=nnnn (whichever magic number gives the Hebrew set - the info must be there somewhere in the depths of M$DN or MSKB or whatever they call it this week), and it should display fine... except there may be a problem with the RTL directionality, not sure if it's supported as a property. But it should be - you see proper RTL text in your Explorer windows when it displays directories, right (i.e. left)? That's the same control, AFAIK, so it maybe has the instruction to display right to left somewhere in the font itself.