Jump to content

show message mobile application


chrisjohn82

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 

 

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

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.

  • Upvote 1
Link to comment
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.

Guest
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...