Subject | Re: [IBO] How to use images in a IB_Grid from the assigned imagelist? |
---|---|
Author | Alan |
Post date | 2009-09-18T08:09:08Z |
--- In IBObjects@yahoogroups.com, Chuck Belanger <phytotech@...> wrote:
not fieldbyname
Alan
>you should use dataset.BufferFieldByName
> Just in case someone is interested:
>
> You use the OnGetImageIndex, assign an ImageList to the grid.
>
> The event code is something like
>
> if ACol = <column you want the image to be in> then
> ImageIndex := dataset.fieldbyname('image index field').asInteger;
>
not fieldbyname
Alan