Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for textbox for right-to-left data entry
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Looking for textbox for right-to-left data entry
Miscellaneous
Thread ID:
00650173
Message ID:
00650173
Views:
59
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
Reply
Map
View

Click here to load this message in the networking platform