Again we use this this function to create controls:
int wb_create_control (int parent, int ctlclass [, mixed caption [, int xpos [, int ypos [, int width
I have reduced it, however there is an extra parameter, '''style''', that we will be using:
handle = wb_create_control(parent,ctlclass,caption,xpos,ypos,width,height,id,style)
Style changes the look of a control. For example, WBC_BORDER will produce a 3-D look on a label. Changes label3 as follows:<pre>
$text = " This is test 3 on two lines\n Sunken Label";
$label3 = wb_create_control($mainwin, Label, $text, 5, 60, 140, 40, 103, WBC_BORDER);
or it can change a control's functionality as in the edit box below.