Changes

Jump to navigation Jump to search

PHP WinBinder: Text input

13 bytes added, 14:21, 29 January 2010
m
Fixed box in Control Creation
Again we use this this function to create controls:
{|
|-
|<pre>
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:
{|
|-
|<pre>
handle = wb_create_control(parent,ctlclass,caption,xpos,ypos,width,height,id,style)
</pre>
|}
'''Style''' changes the look of a control. For example, WBC_BORDER will produce a 3-D look on a label.
Style changes the look of a control. For example, WBC_BORDER will produce a 3-D look on a label. Changes to label3 are 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);
</pre>
|}
or it can change a control's functionality as in the edit box below.

Navigation menu