Emits HTML select dropdown list
Source position: whtml.pp line 76
public procedure THTMLWriter.EmitComboBox( |
const Name: string; |
const Value: string; |
Items: TStrings; |
UseValues: Boolean |
); |
const Name: string; |
const Value: string; |
Items: TStrings |
); |
Name |
|
Select field name |
Value |
|
Initially selected option value |
Items |
|
String list containing option values |
UseValues |
|
True to parse name=value pairs from items |
Name |
|
Select field name |
Value |
|
Initially selected option value |
Items |
|
String list containing option values |
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.