artem_niko Posted April 26, 2020 Share Posted April 26, 2020 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: How change text on this ToolTip? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2020 Share Posted April 26, 2020 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": 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted April 27, 2020 Author Share Posted April 27, 2020 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! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.