GUI_TAB(WIN,X,Y,W,CAP$,TAB_NUMBER,HELP$)
 
TAB_NUMBER = must be greater than 0! - the tab which this button controls
 
Adds a tab button to a Window. TAB_NUMBER must be greater than 0 - as this tells Xlnt which Tab this button opens, Tab 0 is the background tab.
 
Example:
 
quit_but.GADGET=GUI_BUTTUN(mywin,10,40,60,"Quit It!",1,"Quit Application")
 
tab1.GADGET=GUI_TAB(mywin,10,20,20,"File",1,"File Gadgets")
 
GUI_GAD_TO_TAB(quit_but,tab1)
 
See Also:
 
GUI_GAD_TO_TAB - attaches gadget to  Tab
GUI_WINTAB - sets the current Tab