Solved

form.keypreview to uppercase a-z chars

Posted on 2012-03-22
3
579 Views
Last Modified: 2012-06-27
Hi,
I have a textbox on a form I would like uppercased as its being typed. I tried 2 solutions, the first one being obvious - put This.Value=upper(This.Value) inside the interactiveChange event of the textbox. This didn't work because it results in the cursor being positioned at the beginning of the textbox.
So now I'm using a form's Keypress property to uppercase keystrokes thinking that foxpro will then pass the keystroke event on to the object in the form that generated the keypress, but that doesn't seem to be happening.
Any suggestions?
Thanks!
Andre
0
Comment
Question by:andremara
3 Comments
 
LVL 12

Accepted Solution

by:
jrbbldr earned 250 total points
ID: 37754101
Your question was already answered in the other VFP forum where you posted.

To repeat that individual's answer....
     set the textbox's Format property to ! (that's an exclamation mark)

Good Luck
0
 
LVL 29

Expert Comment

by:Olaf Doschke
ID: 37755134
.T.
0
 

Author Closing Comment

by:andremara
ID: 37768098
Thanks! I did find this in the vfp help after a little digging, and I appreciate your posting over here - I'll have to get a little more familiar with the EE interface.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Database Upscaling 9 108
browse dates added less than a month in VFP 4 919
Errors with Visual Foxpro setup Wizard 5 59
VFP query syntax to parse text from a field 3 164
Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Troubleshooting common task sequence error codes
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question