[Lazarus] DBGrid picklist error
Bob K.
rkamarowski at yahoo.com
Fri Jul 4 20:43:28 CEST 2008
The KeyList shows up at design time when I select a Columns property. Is
there a way I can tell which type of column it is?
bob k.
--------------------------------------------------
From: "Denis Golovan" <d.golovan.ml at gmail.com>
Sent: Friday, July 04, 2008 1:31 PM
To: "General mailing list" <lazarus at lazarus.freepascal.org>
Subject: Re: [Lazarus] DBGrid picklist error
> On Fri, Jul 04, 2008 at 11:49:52AM -0400, Bob K. wrote:
>> Denis,
>>
>> The keylist is not available. I can see it as a property in the columns,
>> but I'm unable to access it:
>>
>> with RxDBGridCamera do
>> begin
>> Visible:=True;
>> Columns[0].Visible:=False;
>> Columns[1].PickList:=List;
>> Columns[1].KeyList:=List;
>> end;
>>
>> rakphoto.pas(115,22) Error: identifier idents no member "KeyList"
>
> Are sure your Columns[1] is of type TRxColumn? TRxColumn definitely
> contains KeyList (just checked).
>
> TRxDbGrid also has
> property Columns: TRxDbGridColumns
>
>
> --
> Best regards,
> Denis Golovan aka MageSlayer
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list