Please help me!
I tryed the following:
const
Data: array[0..7,0..7] of LongWord = (
($0000FF, $0000FF,..... ),
.....
)
In this way I define the 8x8 icon with the needed Tcolors.
Then I tryed:
Icon:=TBitmap.Create;
Icon.ReleaseHandle;
Icon.Handle:=CreateBitMap(8,8,1,1,@Data);
The application is compiled and runs, but when I try to copy this Icon using
Image.Picture.Bitmap.Canvas.CopyRect
I get wrong (... I mean unexpected for me) results.
What's wrong?
Thanks in advance for any help!