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" <[EMAIL PROTECTED]> Sent: Friday, July 04, 2008 1:31 PM To: "General mailing list" <[email protected]> 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 > [email protected] > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
