chrisjohn82 Posted June 16, 2016 Posted June 16, 2016 Hi everybody, Is there any way to change the title on the show message dialogs for mobile applications, like there is for the unigui webapps. In the unigui webapps i can use the following code below but i get an Ajax error > 'can't find variable' when i try this code in the mobile application ShowMessage('MESSSAGE!'); UniSession.AddJS('$("span#messagebox-1001_header_hd-textEl").html(' + '"THIS IS A CUSTOM MESSAGE");'); Best Regards Christian Quote
Sherzod Posted June 16, 2016 Posted June 16, 2016 Hi, For now, can you try this ?!: For example: procedure TMainmForm.UnimButton1Click(Sender: TObject); begin ShowMessage('test'); UniSession.AddJS('Ext.select(".x-msgbox .x-innerhtml").elements[0].innerHTML = "THIS IS A CUSTOM MESSAGE"'); end; Best regards. 1 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.