-
Aug 5th, 2020, 01:37 AM
#1
Thread Starter
Registered User
Combobox repeats its items when cliked twice on it
i have making form on which a datagridview column when clicked then it shows twicely its items. means if on first click combobox show 3 items say x, y, z , when we click it 2nd time it shows x,y,z, and x,y,z again
-
Aug 5th, 2020, 06:47 AM
#2
Re: Combobox repeats its items when cliked twice on it
Have you tried removing the eels from your hovercraft? If not, there's a link in my signature that should be of help.
-tg
-
Aug 5th, 2020, 07:16 AM
#3
Re: Combobox repeats its items when cliked twice on it
You are obviously executing the code that populates a ComboBox twice but we have no idea what that code is or what prompts it to be executed. Mind-reading is a skill that is not generally strong in the programming community so you'll find that it's generally better to actually explain the issue and provide the relevant information rather than wait for us to absorb it from the universe.
-
Aug 5th, 2020, 02:29 PM
#4
Re: Combobox repeats its items when cliked twice on it
Yeah, are you saying that when you click the combobox the 2nd time the dropdown list is "xyzxyz" Or are you saying when you click the 2nd time the dropdown list appears and the goes away and then dropsdown again.
As suggested provide a clearer explanation and all relevant code.
-
Aug 5th, 2020, 02:58 PM
#5
Re: Combobox repeats its items when cliked twice on it
Argh , I tried but it didn't work, sorry can't help much
The best friend of any programmer is a search engine
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
Aug 6th, 2020, 02:05 PM
#6
Re: Combobox repeats its items when cliked twice on it
You're adding your dgv combobox items in the wrong event...
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|