GUI_GAD_TO_TAB(GAD,TAB)
Attaches the Gadget to the Tab - easy as that!
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)