Share via


FormCheckBoxControl.checked Method

Gets or sets the value of a check box.

Syntax

public boolean checked([boolean check])

Run On

Client

Parameters

  • check
    Type: boolean
    A Boolean value that indicates whether the check box is selected; optional. A value of true selects the check box, and a value of false clears it.

Return Value

Type: boolean
true if the check box is selected; otherwise false.

Remarks

This method uses the Win32 API to get and set the value of the check box without querying the properties.

See Also

Reference

FormCheckBoxControl Class