Subject Re: [IBO] IB_Image and IB_CtrlGrid
Author Bob Zirbel
Jason

Thanks for your reply.

> I'm not so sure this is a good idea. The performance on that is
probably going to be less than desireable.

Actually the performance is fine. I have a separate Icon table
containing the images to match the file extensions and join it to the
main table.
>
> Also, does the icon images appear properly when using TIB_Image
outside of the ctrl grid?

Yes. If I copy and paste the same IB_Image outside the IB_ctrlGrid it
works perfectly. The problem is definitely in the IB_ctrlGrid but I
can't see why.

I would appreciate your help on this.

Thanks and regards

Bob






--- In IBObjects@yahoogroups.com, "Jason Wharton" <jwharton@i...>
wrote:
> Bob,
>
> > I am trying to use a IB_Image component to display icons next to
file
> > names in a IB_CtrlGrid but I get the error 'Bitmap image not
valid'.
> >
> > I am using the same (IB_Image) component to create and store the
> > icons into a database in the first place so I can't understand
why I
> > am getting this error when using it to display them in a
IB_CtrlGrid.
> >
> > Does anyone know of a problem with using IB_Image in a
IB_CtrlGrid?
> >
> > Any help or suggestions on how to get around this problem would be
> > appreciated.
>
> I'm not so sure this is a good idea. The performance on that is
probably
> going to be less than desireable.
>
> Also, does the icon images appear properly when using TIB_Image
outside of
> the ctrl grid?
>
> Jason Wharton