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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...