Click here to Skip to main content
15,889,200 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I change the background color of the part of a ComboBox that is always visible? Pin
Mycroft Holmes25-Apr-14 13:23
professionalMycroft Holmes25-Apr-14 13:23 
GeneralRe: How can I change the background color of the part of a ComboBox that is always visible? Pin
arnold_w27-Apr-14 21:22
arnold_w27-Apr-14 21:22 
GeneralRe: How can I change the background color of the part of a ComboBox that is always visible? Pin
Richard Deeming28-Apr-14 1:39
mveRichard Deeming28-Apr-14 1:39 
GeneralRe: How can I change the background color of the part of a ComboBox that is always visible? Pin
arnold_w28-Apr-14 2:17
arnold_w28-Apr-14 2:17 
GeneralRe: How can I change the background color of the part of a ComboBox that is always visible? Pin
Richard Deeming28-Apr-14 2:32
mveRichard Deeming28-Apr-14 2:32 
GeneralRe: How can I change the background color of the part of a ComboBox that is always visible? Pin
arnold_w28-Apr-14 2:35
arnold_w28-Apr-14 2:35 
QuestionHow can I disallow SelectedValue to be -1 in a ComboBox? Pin
arnold_w25-Apr-14 4:28
arnold_w25-Apr-14 4:28 
AnswerRe: How can I disallow SelectedValue to be -1 in a ComboBox? Pin
OriginalGriff25-Apr-14 4:42
mveOriginalGriff25-Apr-14 4:42 
The easiest way is to change the DropDownStyle to DropDownList - then once a value is selected it can never be deselected.
If you combine that with handling the DropDown event and setting the SelectedIndex to zero in that, it should do what you want.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: How can I disallow SelectedValue to be -1 in a ComboBox? Pin
arnold_w25-Apr-14 4:48
arnold_w25-Apr-14 4:48 
GeneralRe: How can I disallow SelectedValue to be -1 in a ComboBox? Pin
OriginalGriff25-Apr-14 5:04
mveOriginalGriff25-Apr-14 5:04 
GeneralRe: How can I disallow SelectedValue to be -1 in a ComboBox? Pin
arnold_w25-Apr-14 5:20
arnold_w25-Apr-14 5:20 
GeneralRe: How can I disallow SelectedValue to be -1 in a ComboBox? Pin
OriginalGriff25-Apr-14 6:00
mveOriginalGriff25-Apr-14 6:00 
Questionadd picturebox to panel from a dll file at design time Pin
Member 1059256824-Apr-14 23:25
Member 1059256824-Apr-14 23:25 
AnswerRe: add picturebox to panel from a dll file at design time Pin
Eddy Vluggen25-Apr-14 4:00
professionalEddy Vluggen25-Apr-14 4:00 
QuestionC# unable to get handle when multiple instances of app are open in windows 8.1 Pin
RRLCoder24-Apr-14 19:11
RRLCoder24-Apr-14 19:11 
QuestionRe: C# unable to get handle when multiple instances of app are open in windows 8.1 Pin
Eddy Vluggen25-Apr-14 4:01
professionalEddy Vluggen25-Apr-14 4:01 
AnswerRe: C# unable to get handle when multiple instances of app are open in windows 8.1 Pin
RRLCoder25-Apr-14 6:44
RRLCoder25-Apr-14 6:44 
GeneralRe: C# unable to get handle when multiple instances of app are open in windows 8.1 Pin
Eddy Vluggen27-Apr-14 9:00
professionalEddy Vluggen27-Apr-14 9:00 
GeneralRe: C# unable to get handle when multiple instances of app are open in windows 8.1 Pin
RRLCoder27-Apr-14 10:49
RRLCoder27-Apr-14 10:49 
QuestionMute other applications Pin
el_stupey24-Apr-14 15:40
el_stupey24-Apr-14 15:40 
AnswerRe: Mute other applications Pin
Mycroft Holmes24-Apr-14 16:17
professionalMycroft Holmes24-Apr-14 16:17 
GeneralRe: Mute other applications Pin
el_stupey26-Apr-14 1:39
el_stupey26-Apr-14 1:39 
AnswerRe: Mute other applications Pin
Eddy Vluggen25-Apr-14 3:53
professionalEddy Vluggen25-Apr-14 3:53 
GeneralRe: Mute other applications Pin
el_stupey26-Apr-14 1:46
el_stupey26-Apr-14 1:46 
Questionhow to edit in crystal report Pin
Er Aslam Khan23-Apr-14 22:33
Er Aslam Khan23-Apr-14 22:33 

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.