Solved

form.keypreview to uppercase a-z chars

Posted on 2012-03-22
3
556 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
Comment Utility
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
Comment Utility
.T.
0
 

Author Closing Comment

by:andremara
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

10 Experts available now in Live!

Get 1:1 Help Now