|KiXforms Class Library|
OnClick Event (MenuItem Object)
Gets or sets the event handler that is called when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.
object.OnClick [ = String ]
These is no event data associated with this event.
The Click event occurs when this MenuItem is clicked by the user. This event also occurs if the user selects the menu item using the keyboard and presses the Enter key. It can also occur if an access key or shortcut key is pressed that is associated with the MenuItem.
Note If the MenuItems property for the MenuItem contains any items, this event is not raised. This event is not raised for parent menu items.
$MenuItem.OnClick = "MenuItem_Click()"
|The CHM file was converted to HTML by chm2web software.|