Skip to content

THTMLWriter.EmitComboBox

Emits HTML select dropdown list

Declaration

Source position: whtml.pp line 76

public 
procedure EmitComboBox(const Name: string; const Value: string; 
                      Items: TStrings; UseValues: Boolean);

procedure EmitComboBox(const Name: string; const Value: string; 
                      Items: TStrings);

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.