TIWCGJQMultiSelectItems.AddOption(string,string,boolean,boolean) Method

Add new option

Namespace: IWCGJQMultiSelect
public
 function AddOption(ACaption, AValue: string; ADisabled: boolean = False; ASelected: boolean = False) : TIWCGJQMultiSelectItem;

Parameters

ACaption
Type: string

The caption of option

AValue
Type: string

The value of option

ADisabled
Type: boolean

The state of option

ASelected
Type: boolean

Is selected option

Return Value