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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...