TCustomListbox.Multiselect is protected.  Inherit your own TCheckListBox and
make that property public / published.

Why would you want to be able to multiselect a TCheckListBox anyway?

Regards,
Dennis.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 8 June 2001 08:25
> To: Multiple recipients of list delphi
> Subject: [DUG]: TCustomListBox. Multiselect
>
>
> I am using a TCheckListBox and see its imediate ancestor is
> TCustomlistBox.
> TCustomlistBox has a protected property Multiselect. However,
> when I use my
> TCheckListBox so:
>
> (myCheckListbox as TCustomListbox).Multiselect := TRue
>
> I get told the property does not exist. The VCL code implements
> Multiselect.
>
>
> Why is this ... and how do I get by ListBox to Multiselect? I guess I am
> missing something fundamental. The problem is not the "myCheckListbox as
> TCustomListbox" bit as I can free the object etc ...
>
> In advance thanks.
> ------------------------------------------------------------------
> ---------
>     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"
>

---------------------------------------------------------------------------
    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"

Reply via email to