----- Code To Create a Labox --CreateLabox( b_text$, b_x, b_y, b_width, b_height, lab_width, lab_style, b_parent)---- To Auto AjustSetGadgetLayout labox,1,1,1,1-------------------------------b_text$ is for the "Label" textb_x its X Locationb_y its Y Locationb_width its widthb_height its heightb_parent its parentlab_width its the label Text width in this direction ->>lab_style 0 - No border (default) 1 - Flat border 2 - No border? 3 - 3d sunken border -----------The Function---------------Function CreateLabox(b_text$,b_x,b_y,b_width,b_height,lab_width,lab_style,b_parent); Labox stand for Labeled Box :DLocal pan = CreatePanel(b_x, b_y, b_width,b_height, b_parent) temp = CreatePanel( 0,5, b_width, 4, pan, 1) ; Top SetGadgetLayout temp,1,1,1,0 temp = CreatePanel( 0, 5+2, 4, b_height-3, pan, 1) ; Left SetGadgetLayout temp,1,0,1,1 temp = CreatePanel( 0, b_height-2, b_width,4, pan, 1) ; Bottom SetGadgetLayout temp,1,1,0,1 temp = CreatePanel( b_width-3, 5, 4, b_height, pan, 1) ; Right SetGadgetLayout temp,0,1,1,1 temp = CreateLabel( b_text$, 10, 0, lab_width, 16, pan, lab_style) ; Text SetGadgetLayout temp,1,0,1,0 Return panEnd Function--------------------------------