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 & XpToolbar

Thread ID:





24291 Feb 1,2005 02:43 AM Feb 1,2005 08:07 AM Windows Forms 3
Tags: Tools
Asked On February 1, 2005 02:43 AM

Hello The ComboboxBarItem in the XpToolBar does not catch the keyboard events. As a result, the enter can''t be used to validate the entry and i can''t monitor what has been typed (like resttrict to numbers...) Is there something i missed Thanks Silver

Administrator [Syncfusion]
Replied On February 1, 2005 07:40 AM

Hi Silver, Unfortunately, the TextBox in a ComboBoxBarItem cannot be exposed. This means that you don''t have access to the KeyPress event, so you won''t be able to respond to your user entering a value. You''ll have to parse the entry later. However, you can validate the entry on Enter. If the Enter key is pressed (and the value of the ComboBoxBarItem was changed) the ComboBoxBarItem will fire a Click event. Hope this helps. Regards, Gregory Austin Syncfusion, Inc.

Replied On February 1, 2005 07:43 AM

Hi Gregory And what about using a real combo in the XPToolbar. Is it possible to do manually ? Thanks Silver

Administrator [Syncfusion]
Replied On February 1, 2005 08:07 AM

Hi Silver, XPToolbars are limited to BarItems only. However, a CommandBar can host a single control, which could be a ComboBox (or a Panel that contains one or more ComboBoxes). If you''re using a BarManager in your application, please take a look at this forum post. It includes a sample that might help you and some information about a known issue to watch out for. Regards, Gregory Austin Syncfusion, Inc.


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.