rtalmeida Posted May 1, 2017 Share Posted May 1, 2017 In UniMainModule how do I dynamically change the messageI want to change the contents of TerminateMessageI tried like this:UniMainModule.ServerMessages.TerminateMessage: = vMessage;But always displays the message that is fixed in TerminateMessage. Quote Link to comment Share on other sites More sharing options...
jaromir Posted May 1, 2017 Share Posted May 1, 2017 It doesn't work. I put reqeuest to bug section but without luck. Quote Link to comment Share on other sites More sharing options...
rtalmeida Posted May 1, 2017 Author Share Posted May 1, 2017 Hummm Quote Link to comment Share on other sites More sharing options...
jaromir Posted May 1, 2017 Share Posted May 1, 2017 My report is here: http://forums.unigui.com/index.php?/topic/8149-change-mainmodule-servermessages-templates-at-runtime/&do=findComment&comment=41632 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 2, 2017 Share Posted May 2, 2017 Hi, At the moment you can change it in UniMainModule > OnCreate event. Best regards, Quote Link to comment Share on other sites More sharing options...
rtalmeida Posted May 2, 2017 Author Share Posted May 2, 2017 The problem is that the message may vary, however I did so by doing so:UniApplication.Terminate (vMessage);Using the above statement works, is there any problem doing this? 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.