CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Link behaviour

by etwoss » 27 Mar 2014 09:30

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
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 27 Mar 2014 10:38

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQLabelEx

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.