B4J Question (Right) click event on HyperlinkLabel

Discussion in 'B4J Questions' started by jmon, Mar 3, 2015.

  1. jmon

    jmon Well-Known Member Licensed User

    Hello,

    In the HyperlinkLabel from controlsFX, is it possible to have an event "_Clicked" like in the normal label? I would like to catch the right click on the hyperlink.

    Thank you.
    Jmon
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The standard events which include MouseClicked can be added to all nodes including this one:
    Code:
    Sub hl_MouseClicked(EventData As MouseEvent)

    End Sub
     
    jmon likes this.
  3. cirollo

    cirollo Active Member Licensed User

    Hi! how to check the right click with this sub???
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Code:
    If EventData.SecondaryButtonPressed Then
     
    'right click
    End If
     
  5. cirollo

    cirollo Active Member Licensed User

    thank you Erel!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice