Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing spaces from a textbox
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Removing spaces from a textbox
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01448981
Message ID:
01448981
Vues:
299
Hi everybody,

I put this code in my textbox class InteractiveChange and ProgrammaticChange
IF this.lNoSpacesAllowed AND VARTYPE(this.Value) = 'C'
   this.Value = STRTRAN(this.Value, SPACE(1),"")
ENDIF
The textbox in question has also some valid code.

Now, every time I type something the focus stays at the very first character of the textbox (making the effect or Right to Left).

Do you know what is wrong in my implementation and what would be the best way to fix it?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform