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 Quote Link to comment Share on other sites More sharing options...
bolossis Posted January 20, 2020 Author Share Posted January 20, 2020 ... Quote 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; Quote 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? Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.