[Gambas-user] hyperlinks in TextLabel (and TextArea) controls
Jussi Lahtinen
jussi.lahtinen at ...626...
Mon Nov 12 13:45:30 CET 2012
> What I can't work out is
> 1) how to trap a single click on the TextLabel and
>
This is pretty much same as click event:
Public Sub TextLabel1_MouseUp()
If Mouse.Left = True Then
If Mouse.X >= 0 And Mouse.Y >= 0 And Mouse.X <= TextLabel1.Width And
Mouse.y <= TextLabel1.Height Then
Print "Click!"
Endif
Endif
End
> 2) how to get the hyperlink like "Copy Link Location" does.
>
Do you mean how to get the URL to clipboard?
http://gambasdoc.org/help/comp/gb.qt/clipboard
Jussi
More information about the User
mailing list