Picture property


Available for Window, MDIWindow, DialogBox, Button, Picture and Image objects.

Read/Write at design time
Read/Write at run time

At design time, it specifies an existing resource ID (icon, cursor or bitmap) to be drawn in the client area of an object. At run time, it also may be the resource ID or a handle to an image (see SetPicture method).


REMARKS
: In Button objects, and only if the OwnerDraw property is TRUE, the picture is combined with text according to
PicturePosition property. For all other objects, the picture is drawn from the 0, 0 coordinates of the client area.