JSplitPane - resizing & using

first of all glad I got you started to think 

Well, don’t expect me to do it again… It hurts… :D

ok, I understand your situation described under 1.

About 2: dunno exactly what you mean, but if it works for you, it must be ok :)

Paul

Odysseus:
I’ve been (bean?) playing with the splitpane bean. Some questions remain.

  1. on the forum I’ve reading that one needs to place tabpanels in order to display forms. In my experiments I’ve been setting the components directly from code (without using the tabpanels). This seems to work OK, so why do people use tabpanels ? Rephrased, What am I missing ?

Any insights are very welcome

TIA

Hi Bart,

If you are setting the components directly, onShow and onLoad methods of those forms, do not work!
By placing them in a tabpanel, you have every functionallity(onShow onLoad, etc..) back

Hi,

Was playing around with a fixed divider location myself and stumbled across a much easier way to achive the desired result:

elements.%%NAME%%.dividerSize = -1;

:D

This hides the divider completely, thus the User is not given the suggestion he/she can move it and when the mouse goes over the divider, the mousecursor doesn’t change into a Resize cursor anymore.

Paul

cool! 8)

we should gather some more info about this bean, because, I think, there a lot more features or tips&tricks we could use, but do not know at the moment.

The JSplitPane is indeed a nice component. Very usefull for building a good layout, if you ask me.

But, one of the major pitfalls is that it’s not (yet) supported in the WebClient…

Paul

indeed, I tried it also. :(