7.31.2 DEFINE_COM Examples
The following code is inserted automatically when a push-button is included on the form and its caption is made OK. The DisplayPosition, Left and Top properties specify where it is placed. The TabPosition indicates the order in which controls are selected on a form when the Tab key is pressed.
DEFINE_COM CLASS(#PRIM_PHBN) NAME(#PHBN_1) CAPTION(OK) DISPLAYPOSITION(1) LEFT(116) PARENT(#COM_OWNER) TABPOSITION(1) TOP(132)