artem_niko Posted January 8, 2023 Share Posted January 8, 2023 Hello! How I can hide this title in UniPanel? I need to leave the ability to collapse UniPanel, with the property UniPanel1.Collapsible=True, but at the same time hide what I highlighted with a red frame. The thing is that if I set UniPanel1.Collapsible=False and click procedure TMainForm.UniImage2Click(Sender: TObject); begin UniPanel7.Collapsed:=not UniPanel7.Collapsed; end; then when UniPanel1 collapses, everything under it, for example, UniPanel2, does not rise up. UniPanel2 is raised correctly only if you register UniPanel1.Collapsible=True and collapse/expand through the arrow in the UniPanel1 header. Link to comment Share on other sites More sharing options...
Sherzod Posted January 8, 2023 Share Posted January 8, 2023 procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('hideCollapseTool', [True]); end; ? 1 Link to comment Share on other sites More sharing options...
Sherzod Posted January 8, 2023 Share Posted January 8, 2023 procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('header', [False]); end; ? Link to comment Share on other sites More sharing options...
artem_niko Posted January 8, 2023 Author Share Posted January 8, 2023 19 minutes ago, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('hideCollapseTool', [True]); end; ? Yes! This is that what I want. Thank's, @Sherzod! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now