Page 1 of 1

Link behaviour

PostPosted: 27 Mar 2014 09:30
by etwoss
Hi

I need a "link' to let a user logout, so it should look like a link (Text "logout" underlined , and a hand cursor)
How can i achive this using JQLabelEx?

When i fill "Link" property with "Logout" the hand cursor works,but no event is fired
Eric

Re: Link behaviour

PostPosted: 27 Mar 2014 10:38
by Alexander Bulei
Hi etwoss,

Hi

I need a "link' to let a user logout, so it should look like a link (Text "logout" underlined , and a hand cursor)
How can i achive this using JQLabelEx?

When i fill "Link" property with "Logout" the hand cursor works,but no event is fired
Eric


Usually, the link property is used only for direct redirect(goto), if you want fire the click event, try this:

delphi code
IWCGJQLabelEx2.Link:= '#'; // for link style
IWCGJQLabelEx2.JQEvents.OnClick:= MyLinkClickEvent;


Best Regards.