See Command Button Design Options

File: ...\Samples\Vfp98\Solution\Controls\Buttons\Cmdbtn.scx

This sample illustrates a variety of properties that can be set to customize command button display.

Property Description
Cancel The Click event code of the command button with Cancel set to true (.T.) is executed when a user presses ESC.
Default The Click event code of the command button with Default set to true (.T.) is executed when a user presses ENTER.
Picture Bitmap displayed if Style is Graphical.