RMenuItem.RMenuItem


public function RMenuItem

Prototype:

public function RMenuItem(Owner, Caption);

Parameters

Owner
The owner of the control. Must be RMenu.
Caption
the caption of the 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 MenuItem=new RMenuItem(menu, "Help");
		MenuItem.Show();