valadi Posted July 8, 2015 Share Posted July 8, 2015 hi how change caption in ShowMessage -> change New Application ?? 1 Quote Link to comment Share on other sites More sharing options...
bugra Posted July 9, 2015 Share Posted July 9, 2015 after you call showmessage add this UniSession.AddJS('$("span#messagebox-1001_header_hd-textEl").html("Your Caption");'); 1 Quote Link to comment Share on other sites More sharing options...
valadi Posted July 9, 2015 Author Share Posted July 9, 2015 after you call showmessage add this UniSession.AddJS('$("span#messagebox-1001_header_hd-textEl").html("Your Caption");'); thanks but not work code plz check Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 9, 2015 Share Posted July 9, 2015 Hi, Try: procedure TMainForm.UniButton1Click(Sender: TObject); begin ShowMessage('Test'); UniSession.AddJS('Ext.get("messagebox-1001_header_hd-textEl").setHTML("Your Caption")'); end; Best regards. 1 Quote Link to comment Share on other sites More sharing options...
valadi Posted July 9, 2015 Author Share Posted July 9, 2015 thanks Delphi Developer now how change caption button ok in show massage ?? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 9, 2015 Share Posted July 9, 2015 try: Ext.get('button-1005-btnInnerEl').setHTML("_Ok!") Best regards. 1 Quote Link to comment Share on other sites More sharing options...
valadi Posted July 9, 2015 Author Share Posted July 9, 2015 Thanks Quote Link to comment Share on other sites More sharing options...
Ulugbek Posted January 18, 2016 Share Posted January 18, 2016 How about msgdlg ? Confirmation or Warning Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 18, 2016 Share Posted January 18, 2016 How about msgdlg ? Confirmation or Warning Hi, Try: procedure TMainForm.UniButton1Click(Sender: TObject); begin ShowMessage('Test'); UniSession.AddJS('Ext.get("messagebox-1001_header_hd-textEl").setHTML("Your Caption")'); end; Best regards. Of course, maybe it's not the best solution, but try the following: MessageDlg('Test', mtWarning,[mbOk]); UniSession.AddJS('Ext.get("messagebox-1001_header_hd-textEl").setHTML("Your Caption")'); Best regards. Quote Link to comment Share on other sites More sharing options...
cristianotestai Posted January 18, 2016 Share Posted January 18, 2016 Hi, A idea is create your custom dialog form. Regards, Cristiano Testai 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.