![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
B4PPC Help states "ComboBox does not support the Text property and the user cannot write anything inside a ComboBox".
I wish this were true. I can overwrite any selected item in the combobox with other text. Then when I try to read the combobox, eg. combo1.Item(combo1.SelectedIndex), I get an error about a bad Index -1 value. So it appears I need to handle and dispose of the user entered text in the combobox. I'm not sure of the best way to handle this situation. Anyone have a suggestion??
__________________
Regards, Mike PPC Cingular 8525 WM5 4Gb SD |
|
|||
|
Well after I thought about it some more, I figured it out...
Sub combo1_LostFocus If combo1.SelectedIndex = -1 then combo1.SelectedIndex = 0 End Sub Wasn't as difficult as I was making it out to be. Guess I was just surprised that you could enter text at all when the Help said "user cannot write ..." (should be "user should not write...") ![]()
__________________
Regards, Mike PPC Cingular 8525 WM5 4Gb SD |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SIP Input | leestevens | Questions & Help Needed | 2 | 08-01-2008 04:00 PM |
| Label/Text Control text centering | TWELVE | Basic4ppc Wishlist | 1 | 06-04-2008 04:20 PM |
| SOund Input? | PKinz | Basic4ppc Wishlist | 1 | 12-12-2007 03:51 PM |
| Scientific Math Text Input Evaluator | Rioven | Code Samples & Tips | 5 | 11-24-2007 07:53 AM |
| Sound/Mic input | Bill Todd | Questions & Help Needed | 2 | 06-22-2007 12:29 PM |