🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.winforms.controls.using
1 messages
1 total messages Started by John F. Wed, 13 Apr 2005 22:28
2 questions about comboboxes
#17
Author: 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. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads