I have CGDevTools 2.9.0.284 and IW 14.0.63.
1.) Fill DropDown component:
- Code: Select all
var
DropDown1 : TIWCGJQDropDown;
tmpItem : TIWCGJQDropDownItem;
DropDown1.Items.Clear;
for i := 0 to 10 do
begin
tmpItem := DropDown1.Items.Add;
tmpItem.Caption := 'hugo' + IntToStr(i);
DropDown1.ExtraTagParams.Add( 'berta' + IntToStr(i) );
end;
2.) Searching for "7" and click on "hugo7"
3.) Now I want to get the value of the selected "DropDown1.ExtraTagParams".
How can I get the selected item?
I miss "DropDown1.ItemIndex".
Kind regards