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

Join the conversation

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

Guest
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...