Description: | Indicates whether the control can become the default button. |
Used in object: | CommandButton |
Values (with constants): | True - Cannot become the default button.(POW-TRUE) False - Can become the default button.(POW-FALSE) When the value is True, the Click event is not generated when the ENTER key is pressed, even if the control has focus. And the Default property is always False (cannot be set to True). This property is used when you allocate a function key to the CommandButton. You can select whether the CommandButton accepts or rejects the Click event when you press the ENTER key. |
Default value: | False - Can become the default button.(POW-FALSE) |
COBOL picture: | S9(4) COMP-5 |
OLE data type: | VT_BOOL |
Design time access: | Set and reference. |
Execution time access: | Reference only. |
Backward compatibility attribute: | None. |