Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upper() the text in interactivechange
Message
 
To
21/06/1998 03:00:49
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00110331
Message ID:
00110333
Views:
18
Hi Tan,

Set the InputMask Property with ! for the length of the field.
e.g.
*-- For 10 characters
this.InputMask = "!!!!!!!!!!"
>I have created a textbox. And I wish that when the user type in a lowercase character in the texbox it will be replaced by a uppercase letter.
>
>I try doing this:
>cNewValue = ""
>
>for ix=1 to len(alltrim(this.value))
> cNewValue = cNewValue + substr(this.value,ix,1)
>endfor
>
>thisform.text2.value = upper(cNewValue)
>
>but it gives me a reverse data
>Like when I type "abcd" it shows "DCBA"
>
>How can I reverse it back?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform