Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Box Alignment
Message
From
20/10/2002 07:03:23
 
 
To
20/10/2002 06:12:54
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00713273
Message ID:
00713275
Views:
22
>I have a problem with Text Box control alignment.
>
>When I put Right Alignment the cursor is on center and on the right side!
>When I type into text box cursor is not behaving like it should, that is, it must move from right to left but he goes frome left to right.
>
>How to make that cursor always move from right to left?


Assuming that you are using a Middle-Eastern version of VFP, you need to set the RightToLeft property of the control; failing that, you'll need to create your own custom control subclassed from the textbox with the necessary behavior, probably based on intercepting the InteractiveChange event; you migth want to look at Jim Booth's numeric text box class here in the download section for some ideas on what you'd need to do.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform