FormControl.userSkip Method

Sets or returns the value that indicates whether the form control is skipped when the user presses the TAB key to navigate the controls in the form.

Syntax

public int userSkip([int value])

Run On

Client

Parameters

  • value
    Type: int
    The value to assign to the userSkip property; optional. The value is 1 if the user setting to skip the control is in effect; otherwise, the value is 0.

Return Value

Type: int
1 if the user setting to skip the control is in effect; otherwise, 0.

Examples

The following example shows how to return and set the userSkip property.

int nUserSkip 
 
// The ctrl variable was previously assigned  
// as a FormControl value. 
 
// Return the userSkip property. 
nUserSkip = ctrl.userSkip(); 
 
// Set the userSkip property. 
ctrl.userSkip(1);

See Also

FormControl Class

FormControl.skip Method