Jump to content



Recommended Posts


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);
  if TUniButton(Sender).Tag = 1 then DoSomething()
    Prompt('AMessage', '', mtInformation, .....????.....);
  //and here I would like to have the text introduced by the user into the prompt window
Thank you
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...