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.
Syncfusion Feedback

ComboboxBarItem & XpToolbar

Thread ID:

Created:

Updated:

Platform:

Replies:

24291 Feb 1,2005 07:43 AM UTC Feb 1,2005 01:07 PM UTC Windows Forms 3
loading
Tags: Tools
Silver
Asked On February 1, 2005 07:43 AM UTC

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 12:40 PM UTC

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.

Silver
Replied On February 1, 2005 12:43 PM UTC

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 01:07 PM UTC

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.

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.

Warning Icon 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.Close Icon

;