Imagelists Handeling is so slow

Started by Mostafa AbdelBaset, February 12, 2025, 05:02:07 AM

Previous topic - Next topic

Mostafa AbdelBaset

Hello.
when using "dcl-ImageList-SetAt" to add multiple images to the control imagelist it takes too long (around 6~7 seconds for 100 images).
while creating an imagelist through a .Net C# code for the same number of images takes no time.
how to work around this problem.and is there a way to pass the control imagelist to a .Net C# code to process adding/removing images from the imagelist using .Net C# code?
i tried to pass the Ename Handels to an C# code but it failed to read the passed Ename.

thank you for Helping

owenwengerd

Image lists are designed and optimized for creation at design time, for embedding as a resource inside the .odcl file.
Owen Wengerd (Outside The Box) / ManuSoft