bolossis Posted January 16, 2020 Share Posted January 16, 2020 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 Thanks in advance Link to comment Share on other sites More sharing options...
bolossis Posted January 20, 2020 Author Share Posted January 20, 2020 ... Link to comment Share on other sites More sharing options...
Sherzod Posted January 20, 2020 Share Posted January 20, 2020 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 More sharing options...
artem_niko Posted January 21, 2020 Share Posted January 21, 2020 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 More sharing options...
Sherzod Posted January 21, 2020 Share Posted January 21, 2020 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now