Hi all,
I would like to know how can the active cell (which is in EditMode) shows the tooltips when the mouse move?
I can make it on another cell which is not in Edit mode.
The PrepareCellToolTip determine the Editmode cell is "EditorWithTextUIElement " while the others are CellUIElement.
I have logic to check the type can cast them to CellUIElement Successfully (by casting from EditorWithTextUIElement's parent)
And the PrepareCellToolTip return true but nothing is shown on the UI.
Any recommandation to implement this case?
Many thx and Regards
Andrew
Hi,
May be one possible suggestion is to get the event "ClickCell" at the UltraWinGrid and include the code below:
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e) { UltraToolTipInfo MyToolTipInfo = new UltraToolTipInfo(); MyToolTipInfo.ToolTipText = e.Cell.GetText(Infragistics.Win.UltraWinMaskedEdit.MaskMode.IncludeBoth); ultraToolTipManager1.SetUltraToolTip(ultraGrid1, MyToolTipInfo); ultraGrid1.DisplayLayout.UIElement.CaptureMouseForElement(e.Cell.GetUIElement()); }
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e)
{
UltraToolTipInfo MyToolTipInfo = new UltraToolTipInfo();
MyToolTipInfo.ToolTipText = e.Cell.GetText(Infragistics.Win.UltraWinMaskedEdit.MaskMode.IncludeBoth);
ultraToolTipManager1.SetUltraToolTip(ultraGrid1, MyToolTipInfo);
ultraGrid1.DisplayLayout.UIElement.CaptureMouseForElement(e.Cell.GetUIElement());
}
If you have any question do not hesitate to ask me
Regards