Previous Up Next

_CRbuttonBitmap
Create a bitmap button.

ObjButton _CRbuttonBitmap (
Chn _channel_
ObjWin _father_
ObjBitmap _bitmap_
I _x_
I _y_
I _width_
I _height_
I _flags_
)
Parameters

_channel_
proprietary channel
_father_
father window (may be nil)
_bitmap_
any bitmap
_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
Return value

new button