ImgControl_SetPicture

Assign a picture to a ImgControl form object.
ImgControl_SetPicture(controlName; pictPtr) ➔ success
controlName Text The name of the ImgControl form object.
pictPtr Pointer Pointer to the picture.
success Longint Completion status: 1 on success, 0 otherwise.

Assign a picture to the ImgControl form object named controlName.

Parameter pictPtr a pointer to the picture.