Load Image to Buttons from Image List

Dear Vijar,

I am not sure, if I am answering your question but
on my experiences you should load the image from TImageList first to a
TBitmap,
before posting it to a Glyph.

  Var bmp : TBitmap;

  bmp := TBitmap.Create;
  ImageList1.GetBitmap(1,bmp);
  BitBtn1.Glyph := bmp;
  bmp.free;

I was trying to load it directly "ImageList1.GetBitmap(1,BitBtn1.Glyph); ".
I doesnt work to me D5.

Olly
Vijay Kumar .K <vi...@visioncomputers.com> schrieb in im Newsbeitrag:
3a000fb2_1@dnews...

Quote
> Hello,

> Can anybody help me to load Images from ImageList.

> Advance Thanks,
> Vijay