Jump to content

show message mobile application

Recommended Posts

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 


          UniSession.AddJS('$("span#messagebox-1001_header_hd-textEl").html(' +
          '"THIS IS A CUSTOM MESSAGE");');
Best Regards
Link to post
Share on other sites



For now, can you try this ?!:


For example:

procedure TMainmForm.UnimButton1Click(Sender: TObject);
  UniSession.AddJS('Ext.select(".x-msgbox .x-innerhtml").elements[0].innerHTML = "THIS IS A CUSTOM MESSAGE"');

Best regards.

  • Upvote 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...