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.

MultiColumnComboBox ToolTip

Thread ID:

Created:

Updated:

Platform:

Replies:

42215 Mar 22,2006 11:27 AM Mar 30,2006 10:29 AM Windows Forms 5
loading
Tags: Tools
Administrator [Syncfusion]
Asked On March 22, 2006 11:27 AM

I am having a problem setting the tooltip for the cells within the dropdown grid used by the MultiColumnComboBox. I am doing the following: this.cmbValues.ListBox.Grid.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(Grid_PrepareViewStyleInfo); private void Grid_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { if (e.RowIndex > 0) e.Style.CellTipText = e.Style.FormattedText; } Note: I am using version 3.3 Thanks, Michael Sabin

Anupama Roy [Syncfusion]
Replied On March 23, 2006 09:11 AM

Hi Michael, The code what you have used should work according to the internally placed Grid''s behaviour.Still when this is used with a MultiColumnComboBox,it does not seem to be working and we suspect that this is due to a behaviour with the popUp.I am still looking for more information regarding this and will get back to you soon. Thanks for choosing Syncfusion products. Regards, Anu

Administrator [Syncfusion]
Replied On March 27, 2006 05:24 PM

Do you have any updates on this? I am having a problem where my data gets cut off whenever there is a space in the text (I.E. only the firs word will be displayed). It doesn''t seem like there is a way to resize the columns either.

Anupama Roy [Syncfusion]
Replied On March 28, 2006 07:49 AM

Hi Michael, My apologies for the delay in response. Do you mean that the celltipText is not at all shown or are you mentioning something else?You have mentioned that data gets cut off whenever there is a space in the text.Do you mean celltiptext itself or text displayed inside a cell? Please clarify these so that we can proceed furthur. Thanks for your patience. Regards, Anu.

Administrator [Syncfusion]
Replied On March 28, 2006 08:12 AM

I don''t get any cell tool tip at all, and the text inside the cell gets cut off. I am including a screenshot of the behavior.

MultiComboBox.zip

Administrator [Syncfusion]
Replied On March 30, 2006 10:29 AM

Hi Michael, Our apologies for the delay in response. You need to handle the Grid''s ActiveToolTip Event.Here is a code snippet. //Form''s Load Event. this.multiColumnComboBox1.ListBox.Grid.ActivateToolTip+=new Syncfusion.Windows.Forms.Grid.GridActivateToolTipEventHandler(Grid_ActivateToolTip); private void Grid_ActivateToolTip(object sender, Syncfusion.Windows.Forms.Grid.GridActivateToolTipEventArgs e) { this.multiColumnComboBox1.ListBox.Grid.CellToolTip.SetToolTip(this.multiColumnComboBox1.ListBox.Grid,"Cell Value : " + e.Style.Text ); this.multiColumnComboBox1.ListBox.Grid.CellToolTip.Active = true; this.multiColumnComboBox1.ListBox.Grid.CellToolTip.ShowAlways = true; e.Cancel = true; } Here is a sample for implementing it.. http://www.syncfusion.com/Support/user/uploads/multicolumcomboboxTooltip_5b824fc9.zip Please let me know, if you need any further assistance. Regards, Haneef

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.

;