valadi Posted July 8, 2015 Posted July 8, 2015 hi how change caption in ShowMessage -> change New Application ?? 1 Quote
bugra Posted July 9, 2015 Posted July 9, 2015 after you call showmessage add this UniSession.AddJS('$("span#messagebox-1001_header_hd-textEl").html("Your Caption");'); 1 Quote
valadi Posted July 9, 2015 Author 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
Sherzod Posted July 9, 2015 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
valadi Posted July 9, 2015 Author Posted July 9, 2015 thanks Delphi Developer now how change caption button ok in show massage ?? Quote
Sherzod Posted July 9, 2015 Posted July 9, 2015 try: Ext.get('button-1005-btnInnerEl').setHTML("_Ok!") Best regards. 1 Quote
Ulugbek Posted January 18, 2016 Posted January 18, 2016 How about msgdlg ? Confirmation or Warning Quote
Sherzod Posted January 18, 2016 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
cristianotestai Posted January 18, 2016 Posted January 18, 2016 Hi, A idea is create your custom dialog form. Regards, Cristiano Testai Quote
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.