daniel@winarhi.ro Posted November 24, 2016 Share Posted November 24, 2016 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 Link to comment Share on other sites More sharing options...
Sherzod Posted November 24, 2016 Share Posted November 24, 2016 Hi, Can you analyze this demo?!: \FMSoft\Framework\uniGUI\Demos\Desktop\AllFeaturesDemo\ \units\PromptsSimplePrompt.pas Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now