I want to use TUniPageControl 'secretly' on my form. I'll change pages by the code so I also want to hide tab-bar at the top of the control. I found how to do this in the forum:
procedure HideUniPageControlHeader(PC: TUniPageControl);
begin //hide UniPageControl header
UniSession.AddJS(Format('%s.items.getAt(0).tabBar.hide();', [PC.JSName]));
end;
Well, this is working fine but still, there is border and gray bar at the bottom:
I have tried to add many CSS params :
Cu
Hmm,
I couldn't reproduce this, it works for me.
Are you using only this config, or CustomCSS too?!:
tabPanel.beforeInit
function tabPanel.beforeInit(sender, config)
{
sender.border = false
}