Click here to Skip to main content
15,910,981 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Attention:Luc Pattyn Pin
Ian Shlasko16-Sep-10 7:44
Ian Shlasko16-Sep-10 7:44 
GeneralRe: Attention:Luc Pattyn Pin
Luc Pattyn16-Sep-10 9:45
sitebuilderLuc Pattyn16-Sep-10 9:45 
Questionsteppermotor Pin
nisharkinoo16-Sep-10 7:00
nisharkinoo16-Sep-10 7:00 
AnswerRe: steppermotor Pin
Luc Pattyn16-Sep-10 7:10
sitebuilderLuc Pattyn16-Sep-10 7:10 
GeneralRe: steppermotor Pin
Smithers-Jones17-Sep-10 4:35
Smithers-Jones17-Sep-10 4:35 
AnswerRe: steppermotor Pin
Luc Pattyn17-Sep-10 17:32
sitebuilderLuc Pattyn17-Sep-10 17:32 
Questionsteppermotor Pin
nisharkinoo16-Sep-10 6:59
nisharkinoo16-Sep-10 6:59 
QuestionInserting a default item at the start of a combobox Pin
Jay Royall16-Sep-10 5:14
Jay Royall16-Sep-10 5:14 
Hi,

Throughout my application I have several ComboBoxes which are data bound to a collection of objects (uaually a generic list). Because the user needs the option to not select an item in the Combobox I need an empty item at the start which says something like "Please Select".

The way I am doing this currently is to add an extra object to the start of my collection which gives me what I want. However, because a lot of these Comboboxes are bound to a collection of objects that are built when the application starts and remains in memory for the duration of the users' session, it means that my collections have an extra object in them which is causing problems elsewhere in the application.

Is there any other way of inserting an item into the start of a combobox that is bound to a collection of objects?

I hope this makes sense, if not then please let me know and I will try to clarify. Thanks for your time.

Jay
AnswerRe: Inserting a default item at the start of a combobox Pin
Ian Shlasko16-Sep-10 5:42
Ian Shlasko16-Sep-10 5:42 
GeneralRe: Inserting a default item at the start of a combobox Pin
Jay Royall16-Sep-10 12:09
Jay Royall16-Sep-10 12:09 
QuestionRead .rtf file and save as .txt Pin
Anoop Brijmohun16-Sep-10 5:11
Anoop Brijmohun16-Sep-10 5:11 
AnswerRe: Read .rtf file and save as .txt Pin
Jay Royall16-Sep-10 5:26
Jay Royall16-Sep-10 5:26 
GeneralRe: Read .rtf file and save as .txt Pin
Anoop Brijmohun16-Sep-10 8:59
Anoop Brijmohun16-Sep-10 8:59 
AnswerRe: Read .rtf file and save as .txt Pin
Luc Pattyn16-Sep-10 6:22
sitebuilderLuc Pattyn16-Sep-10 6:22 
AnswerRe: Read .rtf file and save as .txt Pin
Prerak Patel20-Sep-10 20:32
professionalPrerak Patel20-Sep-10 20:32 
AnswerRe: Read .rtf file and save as .txt Pin
Anoop Brijmohun20-Sep-10 21:14
Anoop Brijmohun20-Sep-10 21:14 
QuestionSome getting started questions Pin
RodClark16-Sep-10 0:35
RodClark16-Sep-10 0:35 
AnswerRe: Some getting started questions Pin
Dave Kreskowiak16-Sep-10 5:55
mveDave Kreskowiak16-Sep-10 5:55 
AnswerRe: Some getting started questions Pin
Eddy Vluggen16-Sep-10 10:47
professionalEddy Vluggen16-Sep-10 10:47 
GeneralRe: Some getting started questions Pin
RodClark16-Sep-10 12:33
RodClark16-Sep-10 12:33 
GeneralRe: Some getting started questions Pin
Eddy Vluggen17-Sep-10 6:48
professionalEddy Vluggen17-Sep-10 6:48 
GeneralRe: Some getting started questions Pin
RodClark18-Sep-10 21:12
RodClark18-Sep-10 21:12 
QuestionHow to finish the pendign input remaining last time? Pin
sanyexian15-Sep-10 16:29
sanyexian15-Sep-10 16:29 
AnswerRe: How to finish the pendign input remaining last time? Pin
Luc Pattyn15-Sep-10 16:54
sitebuilderLuc Pattyn15-Sep-10 16:54 
GeneralRe: How to finish the pendign input remaining last time? Pin
sanyexian15-Sep-10 17:35
sanyexian15-Sep-10 17:35 

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.