Instead of calling SetupGridPickList in the FormCreate, call it in the OnColEnter of the DBGrid and change the picklist then.
--- Alan Colburn <[EMAIL PROTECTED]> wrote: > Hi folks -- > > I know how to have a field/column in a dbGrid display a pickList (e.g., > http://delphi.about.com/od/usedbvcl/l/aa092703b.htm). I am wondering if > someone knows how I could vary the pickList that is displayed by record. In > other words, imagine a template or base file that loads into your db or > dbGrid. Records 1-10 display pickList1 in Field[1] and Records 11-20 display > pickList[2] in Field[1]. Is this possible? ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ Delphi-DB mailing list [email protected] http://www.elists.org/mailman/listinfo/delphi-db
