SYS(8014) - Configure control behavior

Top  Previous  Next

Configures the behavior for various controls

Syntax

SYS( 8014, cBehavior, uValue )

Parameters

cBehavior

Specifies the behavior that should be changed. The following table lists all possible values for cBehavior:

 

Setting

Value

Description

ButtonClickOnEnter

0 or .F.

(default) Pressing Enter while the focus is on the button executes the devices default behavior. For most devices this means that the Click event is executed.

1 or .T.

Pressing Enter while the focus is on the button explicitly executes the Click event. If the default behavior of the device is to trigger the Click event, the Click event might be executed twice in succession.

Remarks

These settings control behavior that is device or operating system specific. If your application should work on a variety of devices, either leave them at their default, or make the configurable in your application.