formAddImage


function formAddImage(i:image):integer;

Inserts an image to the form. Returns the ID of the image element.

  var image_id: integer;
  begin
    image_id := formAddImage(loadImage('/logo.png'));
    showForm;
    delay(2000);
  end.

See also: showForm, formRemove