Command Button Control

See Also9DJC0CN             PropertiesFYR5X          EventsK7W9DX             MethodsK83SDM


A command button is chosen by the user to begin, interrupt, or end a process.  When chosen, a command button appears pushed in, and is sometimes called a "push button."


To display text on a command button, set its CaptionF6ZZXB property.  A user can always choose a command button by clicking it.  To allow the user to choose it by pressing Enter, set the Default31OHP7N property to True.  To allow the user to choose the button by pressing Esc, set the button's CancelKQ58YS property to True.


BackColor1W9T6JQ              FontSizeB3WV13                 Parent17GLLBF

CancelKQ58YS                    FontStrikethru5NZYQSD         TabIndexH38QPT

CaptionF6ZZXB                   FontUnderline5NZYQSD         TabStop81MAWZ

Default31OHP7N                   HeightL14VJZ                    Tag6GI6KP

DragIcon3G3M07O                HelpContextID764PDR        Top1CIZPD6

DragModeS9LGP1              hWnd1CIW7KQ                     Value5OIC88B

Enabled3XD4FN                  Index3MKW18P                      Visible32KNZA4

FontBold5NZYQSD                 Left1CIZPD6                        WidthL14VJZ

FontItalic5NZYQSD                MousePointer1VSV6UM        

FontNameB3RMO3               Name2016V9P                    




Click68UQAKP                    KeyDownRI06O6                     MouseDownD0VNMJ

DragDrop1EBOJGL             KeyPressPFFDUA                    MouseMove1D70SW5

DragOver2TUGMAC             KeyUpRI06O6                         MouseUpD0VNMJ

GotFocus32EWUCC             LostFocus2ZXQDAR                  





Drag2IEV8PA                      SetFocus4AVBOY

Move103G76J                      ZOrder1YQ29TM




See Also


Drawing a Control2JRMWVS


Programmer's Guide:

Chapter 3, "Creating and Using Controls"