Jump to content

TUniFIleUpload .. is possible 'custom' dialog ?


Recommended Posts

Posted

As I said .. is possible to replace the 'standard' dialog with one custom made ?

 

Thanks !!

 

Rober

You can access to UploadForm after UniFileUpload.Execute by UniSession.FormList.Last and designed this form in runtime as you want.

example

UniFileUpload1.Execute;

F:=TUniForm(UniSession.FormsList.Last);

ch:=TUniCheckBox.Create(F);

ch.Caption:='Check me';

ch.Parent:=F;

F.Height:=F.Height+ch.Height;

ch.Align:=alBottom;

Posted

You can access to UploadForm after UniFileUpload.Execute by UniSession.FormList.Last and designed this form in runtime as you want.

example

UniFileUpload1.Execute;

F:=TUniForm(UniSession.FormsList.Last);

ch:=TUniCheckBox.Create(F);

ch.Caption:='Check me';

ch.Parent:=F;

F.Height:=F.Height+ch.Height;

ch.Align:=alBottom;

 

Thanks ! .. I'll guive a try

 

Rober

  • 3 months later...

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