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 Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.