Extending ComboBox functionality - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Extending ComboBox functionality

Hey !
I'm a new developer in control authoring. I'm developing an app. that has over ten combo box controls with the same use. They're just used to pick data from other tables and I do not want my end-users to be able to type but just stick to what is in the combo.

My solution was to find a way of incorporating the following procedures into a custom control which I would just drag and drop.My problem is that I'm not able to do this.

My any body with knowledge in control authoring help ?

private void cbo_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)

private void cbo_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)

private void cbo_MouseEnter(object sender, System.EventArgs e)
cbo.ContextMenu=new ContextMenu();


Sign In or Register to comment.