CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

pressing Enter

by sesam » 29 Jan 2015 17:29

Hello,

in my Application is a password-edit and a login-button.
What I want to achieve is: to start the login procedure
after pressing the enter key in the password-edit and showing the lockindicator...

How can I do this?
Thanks,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by Alexander Bulei » 29 Jan 2015 17:40

Hi sesam,

Use keypress or keyup events and invoke the click inside.

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

by sesam » 30 Jan 2015 14:13

Sorry, but I don't get it...
What du you mean by the click inside?

procedure TIWFormStart.EditPwJQEventsKeyPress(Sender: TObject;
AParams: TStringList);
begin
if AParams.Values['key'] = '13' then
???What???
end;

Thanks,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by sesam » 10 Feb 2015 16:23

Hi,
I tried (almost) everything but it won't work...
Please help,
thanks Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by Alexander Bulei » 10 Feb 2015 16:57

Hi sesam,

Attached simple project.

Best way is isolate the login code and then call the method (like in demo).

But you can trigger the click (commented line).

Best Regards.
You do not have the required permissions to view the files attached to this post.
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

by sesam » 10 Feb 2015 17:29

Thanks a lot!!!

Best regards,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19


Return to JQLockIndicator

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.