Skip to content

THTMLWriter.EmitCheckBox

Emits HTML checkbox input

Declaration

Source position: whtml.pp line 71

public 
procedure EmitCheckBox(const Name: string; const Value: string);

procedure EmitCheckBox(const Name: string; const Value: string; 
                      Checked: Boolean);

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

Name Description
THTMLWriter.EmitRadioButton Emits HTML radio button input
THTMLWriter.EmitInput Emits HTML input field