ScreentipNeeded Event

3 posts, 0 answers
  1. James
    James avatar
    20 posts
    Member since:
    Nov 2017

    Posted 02 Sep 2019 Link to this post

     

    ScreenTipNeeded(sender As Object, e As ScreenTipNeededEventArgs)

     

    I have a quick question. How can I get the name of the control that needs a screentip with the sender object or screentipneededeventargs?

     

    I cannot seem to find the name of the control that needs the screentip.

     

    Thanks,

     

    Jim

     

     

  2. James
    James avatar
    20 posts
    Member since:
    Nov 2017

    Posted 03 Sep 2019 in reply to James Link to this post

    For anyone else that may needs to know the control that raised the ScreenTipNeeded event, see the following snipped:

    Private Sub Control_ScreenTipNeeded(sender As Object, e As ScreenTipNeededEventArgs)

    Dim objComponentInputBehaviour As Telerik.WinControls.ComponentInputBehavior = sender
    Dim objControl As RadControl = objComponentInputBehaviour.SelectedElement.ElementTree.Control

    Debug.writeline(objControl.name)

  3. Nadya
    Admin
    Nadya avatar
    300 posts

    Posted 05 Sep 2019 Link to this post

    Hello, James,

    I am glad that you have found a suitable solution for your case. More information about Screen Tip is available here: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/tooltips-and-screentips/screen-tips

    Do not hesitate to contact us if you have other questions.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top