Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,
I am newbie, who is learning how to custom controls.
So i want to ask everyone two questions, that's i really have no idea when I am checking an custom combobox:

-It's "FilterItemOnProperty" method i tried F12 on it in VS2010 but i don't see anywhere show how the code write out as we programed ( i am newbie so please forgive me).How is it defined?
-How do let classic combobox would not close its list when we type "a" or else?? or how to know that when would it closed or an event so that i can prevent it close?


I based on this custom combobox:A data-bound multi-column combobox[^]
I noticed when i type anything word, its item-list will not show up but close.
I tried but can't prevent it from closing when i type " abc" on combobox.
I really have no idea.
Please just give me a hint.
thank in advance.
Posted
Updated 24-Mar-15 15:44pm
v3
Comments
Sergey Alexandrovich Kryukov 24-Mar-15 10:54am    
Not clear. Would you explain it all in sufficient detail? Please use "Improve question".
What does it mean, "close a list"?
Could you show your control class code and some testing code sample?
—SA
BillWoodruff 24-Mar-15 14:54pm    
I think part of your confusion is that you are studying an advanced custom control (one that derives from ComboBox) and is owner-drawn, and supports data-binding.

What do you think about starting with a simpler learning goal ?
Tokisan 24-Mar-15 19:57pm    
Could u please give me where i should begin first? and could u please give me a hint about the my first question?
Richard MacCutchan 25-Mar-15 4:44am    
A hint: Learn how to use your debugger to see what is happening in your code, and provide proper details of your problem. Remember, we cannot see what is happening on your screen, or guess what your code does. And, as already suggested, as a newbie, you would be better learning the basics before trying such an advanced concept.
Tokisan 25-Mar-15 8:57am    
Thank alot. But the question of how the combobox close its item-list when typing somethings still run around my head. Anyway,i have nothing to show my gratidute to u. Thank again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900