tab page woes

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

tab page woes

Postby Boudewijn » Sun Feb 13, 2011 11:43 am

If I add a tab-control to a page and want more tabs to be available I would like to see all tabs. Even if there are no objects in the tab yet.
Boudewijn
 
Posts: 41
Joined: Sun Sep 26, 2010 8:35 am

Re: tab page woes

Postby ROCLASI » Sun Feb 13, 2011 12:20 pm

Hi Boudewijn,

Boudewijn wrote:If I add a tab-control to a page and want more tabs to be available I would like to see all tabs. Even if there are no objects in the tab yet.

A tabpanel will only show tabs when it has a form attached to it.
So if you want to have tabs that doesn't show anything (i.e. an empty tab) then you need to put an empty form in there.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: tab page woes

Postby Boudewijn » Sun Feb 13, 2011 11:42 pm

it does not. a tabbed system is just another object. If I want to add that to a form I want to see it as I add it.
Boudewijn
 
Posts: 41
Joined: Sun Sep 26, 2010 8:35 am

Re: tab page woes

Postby jcompagner » Mon Feb 14, 2011 11:23 am

make a tabless tabpanel with a number of buttons/labels above it.

the tabbed tabpanel in servoy (and java) wants to have the panel when you add a tab to them. Adding just the tabs is not possible.
But in servoy if you call elements.tabpanel.addTab() with a string as the form name. Then the form is not loaded yet. Thats only done when you click on the tab, So that is exactly what you describe.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 12 guests