CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Cannot set button text and ENTER after input

by TheoLang » 01 Dec 2019 16:28

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
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

Return to JQShowMessage

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.