You could achieve this feature by getting hold of the ToolTipControl and HelpTextControl associated with the TreeViewAdv, and handling their BeforePopup events as shown below : C# this.treeViewAdv1.ToolTipControl.BeforePopup += new CancelEventHandler (TooltipBeforePopup_EventHandler); this.treeViewAdv1.HelpTextControl.BeforePopup += new CancelEventHandler (TooltipBeforePopup_EventHandler); private void TooltipBeforePopup_EventHandler (object sender, CancelEventArgs e) { Thread.Sleep(delay); } VB Me.treeViewAdv1.ToolTipControl.BeforePopup += New CancelEventHandler (TooltipBeforePopup_EventHandler) Me.treeViewAdv1.HelpTextControl.BeforePopup += New CancelEventHandler (TooltipBeforePopup_EventHandler) Private Sub TooltipBeforePopup_EventHandler(ByVal sender As Object, ByVal e As CancelEventArgs) ' Introduce any desired delay here Thread.Sleep(delay) End Sub |
Article ID: | Published Date: | Last Revised Date: | Platform: | Control: |
1273 | 04/30/2011 | 07/10/2014 | WinForms | TreeViewAdv |
Tags:
|
|
or the page will be automatically redirected to sign-in page in 10 seconds.