Previous Up Next

_CRbutton
Create a text button.

ObjButton _CRbutton (
Chn _channel_
ObjWin _father_
I _x_
I _y_
I _width_
I _height_
I _flags_
S _title_
)
Parameters

_channel_
proprietary channel
_father_
father window
_x_
x coordinate
_y_
y coordinate
_width_
width
_height_
height
_flags_
flags :
PB_DEFAULT if the mother window is a dialog box, this is the default button
PB_TABFOCUS if the mother window is a dialog box, this allows to use TAB key
PB_DRAGDROP allow drag and drop on this button
PB_DOWN other style
_title_
title of the button
Return value

new button