Click here to Skip to main content
15,900,524 members
Home / Discussions / C#
   

C#

 
GeneralRe: Array of pointers/references to another array Pin
naveed21-Feb-06 5:06
naveed21-Feb-06 5:06 
GeneralRe: Array of pointers/references to another array Pin
Le centriste21-Feb-06 5:10
Le centriste21-Feb-06 5:10 
GeneralRe: Array of pointers/references to another array Pin
naveed21-Feb-06 6:46
naveed21-Feb-06 6:46 
QuestionWindows Form from Outlook Pin
tanishq151021-Feb-06 4:29
tanishq151021-Feb-06 4:29 
QuestionCustom textbox with dropdownlist behavior Pin
hansdredd21-Feb-06 4:28
hansdredd21-Feb-06 4:28 
AnswerRe: Custom textbox with dropdownlist behavior Pin
hooray21-Feb-06 5:18
hooray21-Feb-06 5:18 
GeneralRe: Custom textbox with dropdownlist behavior Pin
hansdredd21-Feb-06 20:25
hansdredd21-Feb-06 20:25 
GeneralRe: Custom textbox with dropdownlist behavior Pin
Roy Heil22-Feb-06 7:46
professionalRoy Heil22-Feb-06 7:46 
The standard ComboBox has always had this ability as long as Windows have had ComboBoxes. In fact, it is the default behavior.

The ComboBox has a property called DropDownStyle. Options are Simple, DropDown, and DropDownList. Simple makes it act like a TextBox, DropDownList restrict it to a DropDownList only (no typing in the box), and DropDown has both the Dropdown, and text edit.

Since you believe it is not already present, I wonder if what you really want is for the text entered by the user to be added to the dropdown list? If so, you would need to add code to do this. I would recommend having an "Add" button, which would add the value of ComboBox1.text to ComboBox1.items (with some code to make sure that the item is not already in the list).



Roy.
GeneralRe: Custom textbox with dropdownlist behavior Pin
hansdredd23-Feb-06 20:52
hansdredd23-Feb-06 20:52 
QuestionWhy doesn't the compiler flag classes with public unlong-s as erroneous although the assembly is CLS compliant? Pin
Vikram A Punathambekar21-Feb-06 3:53
Vikram A Punathambekar21-Feb-06 3:53 
AnswerRe: Why doesn't the compiler flag classes with public unlong-s as erroneous although the assembly is CLS compliant? Pin
Judah Gabriel Himango21-Feb-06 6:30
sponsorJudah Gabriel Himango21-Feb-06 6:30 
GeneralRe: Why doesn't the compiler flag classes with public unlong-s as erroneous although the assembly is CLS compliant? Pin
Vikram A Punathambekar21-Feb-06 16:31
Vikram A Punathambekar21-Feb-06 16:31 
GeneralRe: Why doesn't the compiler flag classes with public unlong-s as erroneous although the assembly is CLS compliant? Pin
Judah Gabriel Himango21-Feb-06 17:12
sponsorJudah Gabriel Himango21-Feb-06 17:12 
GeneralRe: Why doesn't the compiler flag classes with public unlong-s as erroneous although the assembly is CLS compliant? Pin
Vikram A Punathambekar21-Feb-06 21:15
Vikram A Punathambekar21-Feb-06 21:15 
Questionlimiting the number of decimal places produced converting a double to a string. Pin
Dan Neely21-Feb-06 3:50
Dan Neely21-Feb-06 3:50 
AnswerRe: limiting the number of decimal places produced converting a double to a string. Pin
Vikram A Punathambekar21-Feb-06 4:07
Vikram A Punathambekar21-Feb-06 4:07 
GeneralRe: limiting the number of decimal places produced converting a double to a string. Pin
Dan Neely21-Feb-06 6:54
Dan Neely21-Feb-06 6:54 
GeneralRe: limiting the number of decimal places produced converting a double to a string. Pin
Vikram A Punathambekar21-Feb-06 16:28
Vikram A Punathambekar21-Feb-06 16:28 
QuestionOh... Joy! App failing and I don't know why Pin
Colin Angus Mackay21-Feb-06 3:43
Colin Angus Mackay21-Feb-06 3:43 
QuestionComboBox Enter Key Detection Issue Pin
Darryl Borden21-Feb-06 3:17
Darryl Borden21-Feb-06 3:17 
Questionpassing parameters Pin
leelaraj21-Feb-06 2:37
leelaraj21-Feb-06 2:37 
AnswerRe: passing parameters Pin
CWIZO21-Feb-06 3:34
CWIZO21-Feb-06 3:34 
AnswerRe: passing parameters Pin
Le centriste21-Feb-06 5:03
Le centriste21-Feb-06 5:03 
GeneralRe: passing parameters Pin
leelaraj21-Feb-06 16:55
leelaraj21-Feb-06 16:55 
GeneralRe: passing parameters Pin
Le centriste22-Feb-06 1:24
Le centriste22-Feb-06 1:24 

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.