We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ComboBoxBarItem problem

Thread ID:

Created:

Updated:

Platform:

Replies:

71975 Feb 25,2008 02:46 AM Feb 25,2008 07:27 AM Windows Forms 1
loading
Tags: Tools
Ranju Malhotra
Asked On February 25, 2008 02:46 AM

Hi,
I want to perform copy paste option in ComboBoxBarItem textbox.which i am able to do successfully using ctrl+C and ctrl+V.But i want to perforn the same operation through menu options.copy and paste options are disbled by default and should be activated when user selects this baritem.and should be disabled when user selects any other bar item or control exept copy,paste.I was able to do the same when i used panel and added combobox to it.I used enter and leave events of the combobox .but after adding baritems instead this cannnot be implemented.is there any event corresponding to Leave event of combobox.??? or can we check whether cursor is still blinking in the comboboxbaritem??????

can we add a panel to barmanager so that it can act as toolbar as the above functionality is working fine through panel???


Administrator [Syncfusion]
Replied On February 25, 2008 07:27 AM

Hi Ranju,

Thank you for using Syncfusion products.

Enter and Leave events for ComboBoxBarItem :

Yes, You can access Enter and Leave events of ComboBoxBarItem using ComboBoxBarItem.ListBox as follows.

[C#]

this.comboBoxBarItem1.ListBox.Enter += new EventHandler(ListBox_Enter);
this.comboBoxBarItem1.ListBox.Leave += new EventHandler(ListBox_Leave);

You can also make the panel with comboBox to act as toolbar using CommandBar which is used to create and host toolbar.

Please refer Online documentation on CommandBar in the following link

http://www2.syncfusion.com/ug_61/toolswin/CommandBarsPackage.html

Sample reference

Please refer the simple sample demonstrates the above said features.
http://websamples.syncfusion.com/samples/Tools.Windows/F71975/main.htm

Please let me know if this helps you.

Regards,
Jaya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;