B4J Question (Right) click event on HyperlinkLabel

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
 

Erel

Administrator
Staff member
Licensed User
The standard events which include MouseClicked can be added to all nodes including this one:
B4X:
Sub hl_MouseClicked(EventData As MouseEvent)

End Sub
 

Erel

Administrator
Staff member
Licensed User
B4X:
If EventData.SecondaryButtonPressed Then
 'right click
End If
 
Top