![]() |
Icons and Categories |
Post Reply ![]() |
Author | |
Shawshank ![]() Senior Member ![]() Joined: 16 October 2005 Status: Offline Points: 117 |
![]() ![]() ![]() ![]() ![]() Posted: 14 March 2006 at 9:46am |
Is it possible to include an image alongside a category type?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Yes, use CaptionMetrics
|
|
![]() |
|
Shawshank ![]() Senior Member ![]() Joined: 16 October 2005 Status: Offline Points: 117 |
![]() ![]() ![]() ![]() ![]() |
Ah, great. That worked perfectly.
|
|
![]() |
|
Shawshank ![]() Senior Member ![]() Joined: 16 October 2005 Status: Offline Points: 117 |
![]() ![]() ![]() ![]() ![]() |
I spoke to soon. I think I have it setup properly but the icon does not appear. My code is: Me.pGrid.Icons = Me.ImageMan.Icons Me.pGrid.Icons.AddIcons Me.ImageMan.Icons I've tried the above statements, independent of one another. Set Item = UserItem.AddChildItem(PropertyItemCategory, "Newsgroups") Item.CaptionMetrics.IconIndex = 1 The only thing I don't get is the icon. Is my code proper or am I forgetting something here? I do have an icon at index 1 within the ImageManager (Me.ImageMan).
|
|
![]() |
|
Shawshank ![]() Senior Member ![]() Joined: 16 October 2005 Status: Offline Points: 117 |
![]() ![]() ![]() ![]() ![]() |
As it turned out the appearance of the icons is dependent on which visual theme is set.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |