Tim Posted December 10, 2017 Share Posted December 10, 2017 Hello, My project loads bitmaps from the hard disk into an image list at run time, like this: procedure TUniMainModule.UniGUIMainModuleCreate(Sender: TObject); var Bitmap : TBitmap; begin Bitmap := TBitmap.Create(); Bitmap.LoadFromFile('d:\somefolder\somefilename.bmp'); UniImageList1.Add(Bitmap, nil); Bitmap.Free(); end; When UniImageList1 was a TUniImageList, this worked fine. But now that i've switched over to TUniNativeImageList, the second-last line causes an exception: Project Project1.exe raised exception class Exception with message 'TUniCustomNativeImageList.Add(): Capability not implemented.'. Is there any solution/workaround for this, or do i have to switch back to TUniImageList? Many thanks, Tim Quote Link to comment Share on other sites More sharing options...
Bocchi Posted February 2, 2023 Share Posted February 2, 2023 Hello, I have the same problem. Have you found a solution? Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.