Page 1 of 1

TIWCGJQTabs.TabsHidden still needs space

PostPosted: 14 Jul 2016 10:45
by jorgo
Hi,

if I set "TIWCGJQTabs.TabsHidden := True" the Tabs are hidden,
but the space for it is still needed.
TabsBelow is no solution, cause I don't want round corners.

Is there a way to set the 'height := 0' or "visibility := false'?

Kind regards

Re: TIWCGJQTabs.TabsHidden still needs space

PostPosted: 14 Jul 2016 16:43
by Alexander Bulei
Hi jorgo,

There is no any space when TabsHidden = True.

Best Regards.

Re: TIWCGJQTabs.TabsHidden still needs space

PostPosted: 15 Jul 2016 09:22
by jorgo
Hi Alexander,

when I set TabsHidden during runtime there is an empty area.

Code: Select all
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
  IWCGJQTabs1.TabsHidden := True;

  {
  if (CGIsCallBackProcessing) then
    IWCGJQTabs1.AjaxReRender();
  }
end;


If a ReRendering could help, in which unit is CGIsCallBackProcessing included?
I think in the constructor it's to early.

Re: TIWCGJQTabs.TabsHidden still needs space

PostPosted: 15 Jul 2016 09:27
by Alexander Bulei
Hi,

You don't need use the AjaxReRender on create event.
Better, please make re-search in our forum about this method(AjaxReRender) and how/where/when to use it.

Please show me the screenshot.

Best Regards.

Re: TIWCGJQTabs.TabsHidden still needs space

PostPosted: 15 Jul 2016 10:02
by jorgo
Hi Alexander,

First image is during designtime.
Second picture during runtime. In the constructor I set TabsHidden := True;

Screen001.jpg

Re: TIWCGJQTabs.TabsHidden still needs space

PostPosted: 15 Jul 2016 14:06
by Alexander Bulei
Hi,

Now I see what you mean...
Fixed in next build. Thanks ;)

Best Regards.