Page 1 of 1

Cannot Select tabs on Tabpanel

PostPosted: Sat Jun 02, 2012 6:44 pm
by glenroyskelton
Hi all,
I'm starting a new project for the first time using servoy and i'm scratching my head with what i believe is a simple problem. I can't seem to be able to change individual tab properties of a Tabpanel control i place on a form. Infact i cannnot select any tab at all. When i click on the control i get the basic properties but i see no property that allows me rename or even add new tabs or change their basic properties like 'name'.

I'm a Delphi developer looking to add Servoy to my skill set. Any help would be much appreciated.

Thanks

Re: Cannot Select tabs on Tabpanel

PostPosted: Sun Jun 03, 2012 6:08 pm
by mboegem
Hi,

assuming you added a tabpanel already on your form, you can just select a form and drag/drop that onto the tabpanel.
By selecting the different tabs you will be able to change their names and relations in the properties view.

You can also do this programmatically by using:
Code: Select all
elements.myTab.addTab(forms.myFirstTabForm)

for more info on the different possibilities: http://wiki.servoy.com/display/public/DOCS/RuntimeTabPanel

Hope this helps