Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 9:55
Carl Mercier15-Jan-04 9:55 
GeneralRe: Why rebuild everything? Pin
Heath Stewart15-Jan-04 10:05
protectorHeath Stewart15-Jan-04 10:05 
GeneralRe: Why rebuild everything? Pin
Carl Mercier15-Jan-04 11:19
Carl Mercier15-Jan-04 11:19 
GeneralRe: Why rebuild everything? Pin
Carl Mercier16-Jan-04 6:10
Carl Mercier16-Jan-04 6:10 
GeneralRe: Why rebuild everything? Pin
Not Active15-Jan-04 7:16
mentorNot Active15-Jan-04 7:16 
Generalscale a bitmap with 1bppIndexed Pin
FiDz15-Jan-04 3:59
FiDz15-Jan-04 3:59 
GeneralSelectedText in a ComboBox startup problem Pin
= M =15-Jan-04 3:53
professional= M =15-Jan-04 3:53 
GeneralRe: SelectedText in a ComboBox startup problem Pin
Mike Osbahr30-Jan-04 9:11
Mike Osbahr30-Jan-04 9:11 
I'm also having some problems with a ComboBox.

The documentation defines the SelectedText property:
A string that represents the currently selected text in the combo box. If DropDownStyle is set to ComboBoxStyle.DropDownList, the return is an empty string ("").

The default value for DropDownStyle is DropDown, not DropDownList.

For my application the ComboBox has a DataView as its DataSource. After selecting an item from the drop-down list, the SelectedIndex and SelectedValue properties contain the expected values. The SelectedText property contains an empty string even though the correct value is clearly displayed in the edit window.

I haven't tried this yet, but I think setting the SelectedIndex to "-1" will cause the edit window to remain empty until a value is selected.

>>>-----> MikeO
GeneralPropertyGrid customization Pin
kaloyan15-Jan-04 3:28
kaloyan15-Jan-04 3:28 
GeneralRe: PropertyGrid customization Pin
Heath Stewart15-Jan-04 6:05
protectorHeath Stewart15-Jan-04 6:05 
GeneralRe: PropertyGrid customization Pin
kaloyan15-Jan-04 22:31
kaloyan15-Jan-04 22:31 
Generala beginner's question Pin
Forrest Feather15-Jan-04 2:56
Forrest Feather15-Jan-04 2:56 
GeneralRe: a beginner's question Pin
Guinness4Strength15-Jan-04 3:49
Guinness4Strength15-Jan-04 3:49 
GeneralRe: a beginner's question Pin
Colin Angus Mackay15-Jan-04 4:16
Colin Angus Mackay15-Jan-04 4:16 
GeneralRe: a beginner's question Pin
HAHAHA_NEXT15-Jan-04 10:58
HAHAHA_NEXT15-Jan-04 10:58 
GeneralQuestion about multicast Pin
Korby15-Jan-04 1:49
Korby15-Jan-04 1:49 
GeneralRe: Question about multicast Pin
Heath Stewart15-Jan-04 6:02
protectorHeath Stewart15-Jan-04 6:02 
Generalwinforms: aligning of column headers Pin
troels_sorensen15-Jan-04 1:23
troels_sorensen15-Jan-04 1:23 
GeneralRe: winforms: aligning of column headers Pin
Heath Stewart15-Jan-04 5:53
protectorHeath Stewart15-Jan-04 5:53 
GeneralRe: winforms: aligning of column headers Pin
troels_sorensen15-Jan-04 7:45
troels_sorensen15-Jan-04 7:45 
GeneralRe: winforms: aligning of column headers Pin
Heath Stewart15-Jan-04 9:24
protectorHeath Stewart15-Jan-04 9:24 
GeneralMultiple Datarelations Pin
switchname15-Jan-04 1:04
switchname15-Jan-04 1:04 
GeneralRe: Multiple Datarelations Pin
Mazdak15-Jan-04 2:40
Mazdak15-Jan-04 2:40 
GeneralRe: Multiple Datarelations Pin
switchname15-Jan-04 3:06
switchname15-Jan-04 3:06 
GeneralRe: Multiple Datarelations Pin
Heath Stewart15-Jan-04 5:51
protectorHeath Stewart15-Jan-04 5:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.