Jump to content


Photo

UnimFileUpload OnBeforeUpload Event

UnimFileUpload

  • Please log in to reply
3 replies to this topic

#1 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 155 posts
  • LocationMelbourne Australia

Posted 29 November 2017 - 11:05 PM

I have been experimenting with UnimFileUpload and notice that there is no OnBeforeUpload Event which makes it impossible to scale, rotate stream before upload.

 

Can we have such an event for this purpose please.


  • 0

Andy


#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3625 posts

Posted 30 November 2017 - 05:56 AM

Hi,

 

You can use UnimFileUpload -> OnCompleted event for this

 

Best regards,


  • 0

#3 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 155 posts
  • LocationMelbourne Australia

Posted 30 November 2017 - 06:30 AM

On Completed has already UPLOADED, I need to change the stream before it is UPLOADED.


  • 0

Andy


#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3625 posts

Posted 30 November 2017 - 06:41 AM

On Completed has already UPLOADED, I need to change the stream before it is UPLOADED.

 

procedure TUniUploadFileUpload.UnimFileUpload1Completed(Sender: TObject;  AStream: TFileStream);


  • 0





Also tagged with one or more of these keywords: UnimFileUpload

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users