Hallo,
by default the buttons are "ok" and "cancel". When i set the cancel button text to "Abbruch" i see "Abbruch" and "undefined".
Setting the button text for "ok" doesn't work text stays on undefined.
This is my code:
askOTPToken.ResetJSonProps; {Reset all properties and events to default.}
askOTPToken.JQShowMessageOptions.Labels.Cancel := 'Abbruch';
askOTPToken.JQShowMessageOptions.Labels.OK := 'OK';
askOTPToken.JQShowMessageOptions.OnConfirm.SendAllArguments:= True;
askOTPToken.JQShowMessageOptions.OnCancel.SendAllArguments:= True;
askOTPToken.JQShowMessageOptions.OnConfirm.OnEvent:= askOTPTokenJQShowMessageOptionsConfirm;
askOTPToken.JQShowMessageOptions.OnCancel.OnEvent:= nil;
askOTPToken.ShowPromptMessage( '<font size="3">Diese Anmeldung ...
Another problem, Enter key closes the Dialog but does not fire the confirm event. I cannot force my users to click on ok.
Thanks
Theo