Hello
Can someone please guide me how to have the value entered by a client in a Prompt window on the server side?
I have a Prompt window which is in a OnClick event of a button.
So, after a user click's a button, depending on some conditins, a prompt will appear and after the user write a text in the prompt window in the browser and hits OK button, I wanna do something with entered text, before the OnClick event is finished.
Something like:
procedure TMainForm.ubtnClick(Sender: TObject);
begin
if TUniButton(Sender).Tag = 1 then DoSomething()
else
Prompt('AMessage', '', mtInformation, .....????.....);
//and here I would like to have the text introduced by the user into the prompt window
end;
Thank you