🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

2 questions about comboboxes

#17
From: John F.
Date: Wed, 13 Apr 2005 22:28
12 lines
1659 bytes
Hi!

1.  I'd like all the input into the 'editbox' part of the combobox to be in uppercase. I tried selecting the text and converting it in the 'text-changed' event, but it doesn't work for the first character entered (it recalls the previous text, rather than dealing with the newly-entered character). I also tried this in the validating event but that only makes the change as I tab to another component.... 

2.  After I've moved to another component, there's text in the edit-box part of the combobox but it's no longer 'selected', i.e. highlighted, so the SelectedIndex property no longer reflects the visible text. How do i get the index of the underlying list for the NON-HIGHLIGHTED text in the editbox part of the combobox?

Any and all help with these would be greatly appreciated.

Thank you!

John F. 
Technical Details
Message-ID: <425d8f0c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff3c,8052c094af09282d,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: 2 questions about comboboxes
Newsgroups: borland.public.csharpbuilder.winforms.controls.using
X-User-Info: 24.20.189.226     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <425d8f0c$1@newsgroups.borland.com>
Date: 13 Apr 2005 14:28:44 -0800
X-Trace: newsgroups.borland.com 1113427724 207.105.83.66 (13 Apr 2005 14:28:44 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail