Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Box Alignment
Message
De
20/10/2002 07:03:23
 
 
À
20/10/2002 06:12:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00713273
Message ID:
00713275
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform