BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2 TIamgeList Questions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Students
View previous topic :: View next topic  
Author Message
John Ullom
Guest





PostPosted: Thu Apr 12, 2007 3:25 am    Post subject: 2 TIamgeList Questions Reply with quote



Hi All,

Question 1

Though I am able to add more than 21 bit maps to my TImageList,

I can display only the first 21. If I set the imageindex

property to 21 or higher, a blank image is displayed.

That is to say that the caption moves to accommodate the image,

but no image is visible. What is up with that?

Question 2

If I save images to a resource file and then load them from a

resource file, is the need for distributing the Comctl32.dll

file with my application eliminated?

Thanks and enjoy your day!

John Ullom
Back to top
Tiago Lima Trinidad
Guest





PostPosted: Wed May 02, 2007 8:05 pm    Post subject: Re: 2 TIamgeList Questions Reply with quote



Hi!

John Ullom escreveu:
Quote:
Hi All,

Question 1

Though I am able to add more than 21 bit maps to my TImageList,

I can display only the first 21. If I set the imageindex

property to 21 or higher, a blank image is displayed.

That is to say that the caption moves to accommodate the image,

but no image is visible. What is up with that?

Well, how large are your images?

Quote:

Question 2

If I save images to a resource file and then load them from a

resource file, is the need for distributing the Comctl32.dll

file with my application eliminated?

No, your application would still need to be linked with comctl32.dll
because TImageList uses the windows image list control. But this
shouldn't be a major problem because this dll comes with windows since
win95 IIRC.

Hope that helps!
Quote:

Thanks and enjoy your day!

John Ullom

Tiago Lima Trinidad
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Students All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.