VAR
mr: TModalResult;
begin
copied from help document
mr := await(TModalResult, WebMessageDlgl.ShowDialog('Do you like
TMS WEB Core?', WEBLib.Dialogs.mtConfirmation,[mbYes, mbNo]));
This gives Compiler error saying that a "("is missing
I tried instead
mr := await(TModalResult(WebMessageDlgl.ShowDialog('Do you like TMS WEB Core?',
mtConfirmation, [mbYes, mbNo])));
But it also give compilererror saying
E2251 Ambiguous overload call to ShowDialog
What to do