🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.winforms.controls.using
Article #18

Changing text to Uppercase as it's entered into control

#18
From: John F.
Date: Wed, 18 May 2005 07:12
14 lines
1117 bytes
Hi!

I'm trying to display all text in a control in uppercase as I enter it. I've tried using the 'text_changed" method of, say, a combobox, as follows:

this.myComboBox.Text.ToUpper()

but this doesn't cause the text to appear in uppercase.

How can i do this?

Thanks for all help!

John F.
Technical Details
Message-ID: <428aeadf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff3c,e8f286f0f787b5f2,start
X-Google-Attributes: gid1eff3c,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John F." <jfowler@pol.net>
Sender: "John F." <jfowler@pol.net>
Reply-To: "John F." <jfowler@pol.net>
Subject: Changing text to Uppercase as it's entered into control
Newsgroups: borland.public.csharpbuilder.winforms.controls.using
X-User-Info: 24.20.189.226     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <428aeadf$1@newsgroups.borland.com>
Date: 18 May 2005 00:12:31 -0700
X-Trace: newsgroups.borland.com 1116400351 207.105.83.66 (18 May 2005 00:12:31 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail