Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing spaces from a textbox
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Removing spaces from a textbox
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01448981
Message ID:
01448981
Views:
298
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
Next
Reply
Map
View

Click here to load this message in the networking platform