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

THTMLWriter.EmitComboBox

Emits HTML select dropdown list

Declaration

Source position: whtml.pp line 76

public procedure THTMLWriter.EmitComboBox(

  const Name: string;

  const Value: string;

  Items: TStrings;

  UseValues: Boolean

);

procedure THTMLWriter.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

Arguments

Name

  

Select field name

Value

  

Initially selected option value

Items

  

String list containing option values

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.


Documentation generated on: Jan 16 2026