Page 1 of 1

Split Pane Servoy 7.3.1

PostPosted: Tue Oct 04, 2016 7:32 pm
by stefaniacolombara
I need to clear/remove form from Split Panel (only left panel), how I can do?
I'm using servoy 7.3.1

Thanks in advance.

Re: Split Pane Servoy 7.3.1

PostPosted: Tue Oct 04, 2016 8:30 pm
by ROCLASI
Hi,

In developer:
A split panel is just like a (special) tabpanel. So you can select the little tab object on the tabpanel in form designer and hit the delete key to remove it.
To add a new one make sure you select the tabpanel first before you hit CMD-ALT-T/CTRL-ALT-T (or click the split panel icon in the toolbar).

In code at runtime:
elements.splitPanelName.setLeftForm(form, relation); // relation is optional
elements.splitPanelName.setRightForm(form, relation); // relation is optional

You could also use the solutionModel but that might be overkill.

Hope this helps.

Re: Split Pane Servoy 7.3.1

PostPosted: Wed Oct 05, 2016 11:17 am
by stefaniacolombara
I need to remove form left in In code at runtime, elements.splitPanelName.setLeftForm(form, relation);
add form but how can do remove it?
Thanks in advance.