knowledge-database (beta)

Current group: jrsoftware.innosetup

Auto Uppercase

Auto Uppercase  
Multiple User
 Re: Auto Uppercase  
Gavin Lambert
 Re: Auto Uppercase  
Jordan Russell
From:Multiple User
Subject:Auto Uppercase
Date:Tue, 21 Dec 2004 14:24:26 -0500
In my custom forms, I am using INNO 5x, is there a way to take the entry
in an edit box to uppercase? I don't see any properties in the TEdit
control that would allow me to do that.

Thanks
From:Gavin Lambert
Subject:Re: Auto Uppercase
Date:Wed, 22 Dec 2004 10:16:53 +1300
Multiple User wrote:
> In my custom forms, I am using INNO 5x, is there a way to take the entry
> in an edit box to uppercase? I don't see any properties in the TEdit
> control that would allow me to do that.

There doesn't appear to be anything (at least, not exposed to Inno).

You could override the keyboard events and uppercase each character
before it gets added to the control, but that's complicated and error-prone.

It's probably just as good to let the user type it in using any case
they want, and then just call Uppercase() on the result to get it in all
caps.
From:Jordan Russell
Subject:Re: Auto Uppercase
Date:Tue, 21 Dec 2004 17:10:59 -0600
"Multiple User" wrote in message
news:cq9t98$64j$1@news.jrsoftware.org...
> In my custom forms, I am using INNO 5x, is there a way to take the entry
> in an edit box to uppercase? I don't see any properties in the TEdit
> control that would allow me to do that.

The next version will support:

Edit.CharCase := ecUppercase;

--
Jordan Russell
   

Copyright © 2006 knowledge-database   -   All rights reserved