GUI Help > Create > createTabs
createTabs
int handle=createTabs(int x, int y, int width, int height, handle parent)
Description: Creates a tab gadget. Tab gadgets are used to seperate up parts of the user interface into different catagories. You create a tab gadget, use addTab to add tabs to it (eg: "Objects", "Lights", "Sounds"), and then hide/show different parts of the UI when the user selects a different tab.
Return Value: Handle to the new gadget.
Parameters:
x | X position of new gadget
y | Y position of new gadget
width | Width of new gadget in pixels
height | Height of new gadget in pixels
parent | Handle to the parent of the new gadget, or 0 for the main window
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)