Synopsis
#include <PLEvt.h>
PCmdEvt(const PFormEvt& e);
Creates a command event from a form event.
Word id() const;
Returns the resource id of the selected control.
Boolean on() const;
Return the state of the control. This is always true for
menu items.