Unit 'whtml' Package
[Overview][Constants][Classes][Index] [#fcl]

THTMLWriter.EmitCheckBox

Emits HTML checkbox input

Declaration

Source position: whtml.pp line 71

public procedure THTMLWriter.EmitCheckBox(

  const Name: string;

  const Value: string

);

procedure THTMLWriter.EmitCheckBox(

  const Name: string;

  const Value: string;

  Checked: Boolean

);

Arguments

Name

  

Checkbox field name

Value

  

Checkbox value when checked

Arguments

Name

  

Checkbox field name

Value

  

Checkbox value when checked

Checked

  

True if checkbox should be initially checked

Description

Emits an HTML INPUT tag with TYPE="checkbox" attribute. This is an overloaded method that can specify whether the checkbox is initially checked.

See also

THTMLWriter.EmitRadioButton

  

Emits HTML radio button input

THTMLWriter.EmitInput

  

Emits HTML input field


Documentation generated on: Jan 16 2026