|
-
Feb 25th, 2019, 06:32 AM
#10
Hyperactive Member
Re: The 1001 questions about vbRichClient5 (2019-02-03)
@dreammanor, sorry to pull in to ask my own question to Olaf but it's somewhat related.
@Olaf,
I don't want to argue again about your vision of a global ImageList but I too would like to be able to create some kind of local one, even by using cCollection. The point is that I would like to create independent UCs and be able to assign keys "1", "2",... This would fatally generate collisions between UCs if using the global Imagelist.
However, I can see that by using Cairo.Imagelist I have some advantages like the "automagically" detection of the image type. Implementing my own methods to distinguish between them would, at least, duplicate the necessary code. And certainly in a less efficient way.
So, my questions are:
How to solve potential collisions with image keys?
What's the best approach to detect the image type without relying on file extension (if using cCollection)?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|