Jump to content

UnifileUpload automatically


docjones

Recommended Posts

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

  • 8 years later...
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...