OnClickCommand for SFPad objects of OOP menu system

Topics: Enhancement Request
Jan 19, 2009 at 7:51 PM
I would like to execute a command for a pad which has no sub-bars to it in the OOP menu system. An example is having a Pad for Quit...there would be no sub-bars to this. If the person selects the pad quit I would like it to exit.

Jan 20, 2009 at 2:41 PM
The OOP menu project doesn't currently support that because it's non-standard Windows behavior. However, since you have the source code for it, you could add that feature yourself. You'll need change the DefinePad method of SFPad to use ON SELECTION PAD rather than ON PAD when, for example, a new cCommand property is filled in.

Jan 20, 2009 at 2:57 PM
It may be non-standard for Windows...but it is totally "supported" feature of FoxPro...

ON SELECTION PAD MenuTitleName OF MenuBarName [Command]

This is supposed to be a FoxPro menuing option...not Windows.