valadi Posted July 8, 2015 Share Posted July 8, 2015 hi how change caption in ShowMessage -> change New Application ?? 1 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 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 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 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 ?? 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 Link to comment Share on other sites More sharing options...
valadi Posted July 9, 2015 Author Share Posted July 9, 2015 Thanks 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 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. 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 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