Click here to Skip to main content
16,004,782 members

Comments by vincentkoert (Top 5 by date)

vincentkoert 16-Jul-23 11:33am View    
Deleted
You are totally right, it works perfect. I was so stupid to forget to start the new form in "Startup Object", it was running the previous form of your first answer.

Thanks very much for your help (and patience)
vincentkoert 16-Jul-23 10:09am View    
Hi Greame_Grand,
I have removed my aswer and updated my original question like you told.
I just tried your code but sadly it does the same as mine. It add's the new value to the list but doesn't set the new value to the cell, it just goes blank after enter or tab. Am I missing something?
vincentkoert 15-Jul-23 11:39am View    
You have any idea which event to choose?
vincentkoert 15-Jul-23 11:01am View    
Hi Graeme_Grand,

Thanks for your input. It's indeed a WindowsForms app in .NET6.0

I want the user to be able to add values to the list. For instance the list has Green, Blue and Red and they can add Black. In my code this is possible but if they add Black and select another box, the combobox goes blank and you have to select it again to get the just added value.
Im sorry, but it's difficult for me to explain in English, I hope you understand what i mean.
vincentkoert 15-May-23 14:34pm View    
Hi cmarcotte, thanks for your reply. I just looked into it and i'm afraid this is not the solution. The problem is that the datagridview is databound, I can't find anything in this article about databound datagridview. I know that you can change the properties of an unbound datagridview very easily. Do I overlook something?