CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Header button confirmation?

by magosk » 22 Jan 2014 15:25

Is there a simple way to mimic the behaviour of TIWButton.Confirmation for a header left (or right) button? I.e. I want the user to answer Yes (or OK) to a question before the VClick event handler for the button is fired.
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by Alexander Bulei » 22 Jan 2014 15:32

Ho magosk,

Use the OnVClick.Condition property like this:

delphi code
IWCGJQMButton1.JQMButtonOptions.Events.OnVClick.Condition:= '(confirm("Press a button") == true)';


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 magosk » 22 Jan 2014 15:45

I love your support :D
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41


Return to JQMPageHeader

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.