Jump to content

Recommended Posts

Posted

Hello!

I'm using UniPanel with property UniPanel.Layout=accordion and dynamic create child UnPanel's.

Every this UniPanel having button for collaps or expand and when mouse on this button I see ToolTip:

image.png.c43bfececcc7766db6a91bb9378e8ec0.png

How change text on this ToolTip?

Posted
1 hour ago, Артем said:

How change text on this ToolTip?

Hello,

One possible solution:

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('collapseToolText', ['Collapse panel...']);
  UniPanel1.JSInterface.JSConfig('expandToolText', ['Expand panel...']);
end;

For all "panels":

 

  • Like 1
Posted
7 hours ago, Sherzod said:

Hello,

One possible solution:


procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('collapseToolText', ['Collapse panel...']);
  UniPanel1.JSInterface.JSConfig('expandToolText', ['Expand panel...']);
end;

For all "panels":

 

Perfect! Working fine! Thank you, @Sherzod! :)

  • Like 1

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