docjones Posted November 9, 2012 Share Posted November 9, 2012 Hi all. If i call to unifileupload.execute, it open's a new Uniform dialog, then user need click a button to browse file and when selected, then click to another button to upload. It's possible do this in one operation without intermediate uniform dialog? example, calling unifileupload.run, user browse file, and then when user select browsed file, file will be uploaded automatically. i'm trying to do this, accessing UniSession.FormsList.Last,and calling the buttons, but cant see the way. UniFileUpload1.Execute; F:=TUniForm(UniSession.FormsList.Last); F.Hide; //how to do that ? //F.SelectButton.Click; //F.UploadButton.Click; thanks. Link to comment Share on other sites More sharing options...
SISBLU Software Posted June 24, 2021 Share Posted June 24, 2021 Any Solution ??? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 24, 2021 Share Posted June 24, 2021 1 minute ago, Daha Software said: Any Solution ??? Do to security reasons, you need to click a file input button. There is no solution for this. Link to comment Share on other sites More sharing options...
SISBLU Software Posted June 24, 2021 Share Posted June 24, 2021 I understand. But I have to click My button on my form and then click SEARCH Button again Isn't there a way for me to just click on my FORM button and run the button without showing the UNIFILEUPLOAD FORM? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 24, 2021 Share Posted June 24, 2021 Just now, Daha Software said: I understand. But I have to click My button on my form and then click SEARCH Button again Isn't there a way for me to just click on my FORM button and run the button without showing the UNIFILEUPLOAD FORM? You can use Unifileuploadbutton instead of unifileupload Link to comment Share on other sites More sharing options...
SISBLU Software Posted June 24, 2021 Share Posted June 24, 2021 Perfect... Thank you so much 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