Jump to content

UniMainModule.Background.Picture Runtime change


bolossis

Recommended Posts

On 1/16/2020 at 1:50 PM, bolossis said:

Hi is it possible to change the UniMainModule Background Picture at runtime?

Every user will have his own background picture and the picture can be loaded only after Mainform is created

Hi,

Sorry for the late response.

Like this for example:

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniMainModule.Background.Url := 'files/tulips.jpg'
end;

 

Link to comment
Share on other sites

17 hours ago, Sherzod said:

Hi,

Sorry for the late response.

Like this for example:


procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniMainModule.Background.Url := 'files/tulips.jpg'
end;

 

Sorry...but, did user have right change background picture in UniMainModule.Background in server?

Or every UniMainModule creating personal for every user and that's why user can change background?

Link to comment
Share on other sites

2 hours ago, Артем said:

Sorry...but, did user have right change background picture in UniMainModule.Background in server?

Or every UniMainModule creating personal for every user and that's why user can change background?

Yes.

http://unigui.com/doc/online_help/unigui_application_architecture.htm

http://unigui.com/doc/online_help/main_module.htm

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