I'm looking for an active-x textbox which handles right-to-left (arabic characters) well.
- The VFP textbox moves the text to the left of the box when it gets focus, even though .Right-To-Left=.t. and .TextAlignment=Right. This is apparently the wrong way to enter RTL text. It has problems when you select text with the cursor, which appears in the wrong place.
- The Microsoft Forms2 Textbox accepts the text perfectly, but I can't get its Arabic data into VFP, and I can't get arabic characters into it. Trying to get the data out, I used COMPROP(myobject, "UTF8", .f.), and managed to get Unicode (I think), but it doesn't print like anything, and when I try to put the data back in, it comes out as in our Roman alphabet.
- The ctMedit (from DBI text) also moves all the text to the left of the box when you try to edit it, but at least I can get data in and out from it.
I also don't know if I should be storing Arabic text in Unicode in the database, or as CodePage 1256 (Arabic). I am open to suggestions.
Tom Green in Montreal