Generates a OnClick event for a button.
public procedure PerformClick;
This method can be called to raise the OnClick event.