Jump to content

TUniCalendarPanel title runtime


Polylog

Recommended Posts

The form is already shown and the person works with the calendar.

He do an action who makes something happen server side.

we have a calendar X : TUniCalendarPanel;

And we want to update the title : X.title := 'New Title';

This does not do anything client side. 

 

The question is : What can I do to update the title of  a TUniCalendarPanel  on client side ?

I can make a small demo, if necessary?

 

Link to comment
Share on other sites

11 hours ago, Polylog said:

And we want to update the title : X.title := 'New Title';

Hello,

Try this approach for now:

procedure TMainForm.UniButton1Click(Sender: TObject);
begin
  with UniCalendarPanel1 do
  begin
    Title := 'New title';
    JSInterface.JSCall('setTitle', [Title]);
  end;
end;

 

  • Like 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...