Sign in Join
FPDoc Onlineexperiment

THTMLWriter.EmitCheckBox procedure

Member of THTMLWriterpublicIn unit WHtml

Emits HTML checkbox input

Declaration

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

Arguments

Name

Checkbox field name

Value

Checkbox value when checked

CheckedTrue 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.