THTMLWriter.EmitComboBox procedure
Emits HTML select dropdown list
Declaration
procedure EmitComboBox(const Name: string; const Value: string;
Items: TStrings; UseValues: Boolean)
procedure EmitComboBox(const Name: string; const Value: string;
Items: TStrings)Arguments
Name | Select field name |
Value | Initially selected option value |
Items | String list containing option values |
UseValues | True to parse name=value pairs from items |
Description
Emits an HTML SELECT tag with OPTION elements from the provided string list.
This is an overloaded method that can use name=value pairs when UseValues is True.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
