SplitterScreenGadget()

Syntax

Result = SplitterScreenGadget(#ScreenGadget, x, y, Width, Height, #ScreenGadget1, #ScreenGadget2 [, Flags])
Description
Creates an area divided into two parts (horizontally or vertically), each containing a gadget thread.
The divider bar can be moved freely by the user and the two associated gadgets will be resized automatically.

Parameters

#ScreenGadget The identification number of the new gadget. #PB_Any can be used to automatically generate this number.
x, y, Width, Height The position and dimensions of the new gadget.
#ScreenGadget1, #ScreenGadget2 The gadgets, which should be placed inside the splitter area.
Flags #PB_Splitter_Vertical: The area will be separated vertically.

Return value

Returns a non-zero value on success, zero otherwise. If #PB_Any was used for the #ScreenGadget parameter, then the return value is the gadget ID number, generated automatically.

Supported OS

All

<- SetScreenGadgetText() - ScreenGadget Index - StringScreenGadget() ->