Hi, I've been struggling to get it working, but in the end it wasn't that difficult.
Basically, the issue is that the elements that you want to have in the two parts of the split pane need to be on the same form as the JSplitpane bean.
Since most likely you want to have a form in each part of the split pane and forms are not elements on other forms, you have to work around this. Luckely, Servoy offers the oppertunity to, sort of, place a form in a form, by using a tabpanel of which you set the TabOrientation to "Hide".
Currently, TabPannels can only show related forms, but I think we'll be seeing unrelated tabpannels shortly.
So, place two TabPannels on your form + the JSplitPane bean. Be sure to name all three elements (else you cannot call them in a method).
Now, create the following method whcih you attach to the form as an OnLoad event:
elements.split.orientation = 0 //0 = horizontal split, 1 = vertical split
elements.split.topComponent = elements.tabs1; //assign 1st tabpanel elements.split.bottomComponent = elements.tabs2; //assign 2nd tabpanel
elements.split.dividerLocation = 145; //set the position of the pane divider
(in my example, the bean is called "split" and the tabpannel are called "tab1" and "tab2")
When you now open the Form in view mode, you will see both froms that were in the TabPanels inside the JSplitpane bean. To get rid of the original TabPanels (yes, they are also still on the main form, but not accessible), just place then under the JSplitpane bean.
Hope this helps you....
Paul