Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing spaces from a textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01448981
Message ID:
01448987
Vues:
60
>>>>>Do you know what is wrong in my implementation and what would be the best way to fix it?
>>>>>
>>>>
>>>>Move the code to the textbox Keypress event and use nodefault if space is entered.
>>>>
>>>>Like
>>>>
>>>>
>>>>IF this.lNoSpacesAllowed and nKeyCode=32
>>>>NODEFAULT
>>>>ENDIF
>>>>
>>>
>>>Thanks - our thoughts crossed as I just did exactly the same. I added 9 also just in case for TAB.
>>
>>TAB?
>>You can't TAB in the textbox. The TAB is used for moving focus :-)
>
>Exactly - I just realized that and was going to make an update.


OOPS,
Sorry!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform