JohanC Posted September 13, 2018 Share Posted September 13, 2018 I would like to specify the position of the ShowMessage dialog. (It normally shows in the screen centre) Thanks Johan Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 13, 2018 Share Posted September 13, 2018 Hi, You can open a ticket in support portal to add this feature, But as a workaround, you can try this approach for now, for example to show at position [0,0]: procedure TMainForm.UniButton1Click(Sender: TObject); begin MessageDlg('Hello', mtInformation, [mbOK]); UniSession.AddJS('Ext.getCmp("messagebox-1001").setPosition(0,0)'); end; Quote Link to comment Share on other sites More sharing options...
JohanC Posted September 13, 2018 Author Share Posted September 13, 2018 Many Thanks, I will try it Johan Quote Link to comment Share on other sites More sharing options...
JohanC Posted September 13, 2018 Author Share Posted September 13, 2018 It works very well thank you Johan 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.