RImageMenuItem.RImageMenuItem


public function RImageMenuItem

Prototype:

public function RImageMenuItem(Owner, Caption);

Parameters

Owner
The owner of the control. Must be a RMenu.
Caption
the caption of the image menu item

Description:

This is the standard contructor for this class and should not be used directly. Instead, is called using the 'new' operator as in the example bellow.

Return value:

This is a constructor and returns nothing.

Example
		var ImageMenuItem=new RImageMenuItem(menu, "Open file");
		ImageMenuItem.Show();