The DropDownList style is for a fixed list of items. The Text property only
applies to the style of combobox where the user can actually type text in at
the top and it doesn't have to be an item in the list. with DropDownList the
item they choose has to be one in the list so they can't type in something
that isn't in the list.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Ross Levis
> Sent: Thursday, 2 August 2001 13:36
> To: Multiple recipients of list delphi
> Subject: [DUG]: ComboBox help
>
>
> I must be missing something.
>
> I need a ComboBox which is ReadOnly but also allows the text (or
> selected item) to be assigned via code.  eg. Providing a default.
> Currently when Style is csDropDownList, the Text property can not be
> assigned.  What am I missing!
>
> Cheers,
> Ross.
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to