Page 1 of 1

Header button confirmation?

PostPosted: 22 Jan 2014 15:25
by magosk
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.

Re: Header button confirmation?

PostPosted: 22 Jan 2014 15:32
by Alexander Bulei
Ho magosk,

Use the OnVClick.Condition property like this:

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


Best Regards.

Re: Header button confirmation?

PostPosted: 22 Jan 2014 15:45
by magosk
I love your support :D