>Hi all
>
>With a TComboBox Style set at csDropDownList you can do:
>
> DocEntryDestCB.ItemIndex :=
DocEntryDestCB.Items.IndexOf(ImpDestCode);
>
>With the Style set at csDropDown, you can't.
Is this in:
* it doesn't compile
* it crashes
* it returns wrong result
I am interested as I
DestCB.Text := DocEntryDestCB.Items[iIndex];
Deepak Shenoy
Agni Software
http://www.agnisoft.com
- Original Message -
From: "Mark Howard" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 6:08 AM
S
Hi all
With a TComboBox Style set at csDropDownList you
can do:
DocEntryDestCB.ItemIndex :=
DocEntryDestCB.Items.IndexOf(ImpDestCode);
With the Style set at csDropDown, you
can't.
Why is this? and is there a way to achieve the same
thing - without chaging the style