RForm.Icon


public property Icon

Prototype:

[Read/Write] property Icon[=RImage]

Description:

This property sets an RImage as the icon for the window (RForm). The icon usually is in the top-left corner of a window,
This icon is used when the window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts.

Return value:

This function returns a RImage representing the icon of the RForm, or null if no icon is set.

Example
	var image=new RImage(null);
	image.Filename="image.png";

	Form1.Icon=image;