Solved

form.keypreview to uppercase a-z chars

Posted on 2012-03-22
3
568 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

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…
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
A short film showing how OnPage and Connectwise integration works.

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now