How to use splitter

Working on new editor enhancements?
steelx7000
New User
New User
Posts: 4
Joined: Wed Jan 20, 2016 4:10 pm

How to use splitter

Post by steelx7000 »

I don't know how to use splitter in PB Form.... I wish it can like Visual basic that it can auto move like a magnet when dragging...
Marc56us
Addict
Addict
Posts: 1479
Joined: Sat Feb 08, 2014 3:26 pm

Re: How to use splitter

Post by Marc56us »

steelx7000 wrote:I don't know how to use splitter in PB Form.... I wish it can like Visual basic that it can auto move like a magnet when dragging...
Hi steelx7000,

The gadget 'splitter' is not totally intuitive, but work well.
The step #7 is important

1. Draw first gadget (ie: a ExplorerTreeGadget)
2. Draw Second gadget near first (ie: a ExplorerListGadget)
3. On toolbox, select splitter gadget
4. A dialog box will open
5. Select first and second gadget you want in dropdown menu.
6. Clic on 'Draw' button
7. Select with mouse (like a lasso) the two objects
8. The VD merge the two gadgets as one (4 handles instead of 8 )
9. In tollbox > Constant, select options (vertical/horizontal etc)

The trouble is when the VD ask you to select (with mouse) the two gadgets, there is no tooltip an no specific mouse-cursor to indicate what to do. So we think that's all but the VD don't write rest of code needeed (SplitterGadget() ).

If you want to edit splitter, clic on it (the selection show the two gadgets as one, clic on center bar)
If you want to remove spliter, clic on it and delete it, both gadgets find their original handles.

:)

(English is not my native language. I hope you understand my explanation) :oops:
Post Reply