![]() |
[SOLVED]: Group row icons appear without defined! |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: [SOLVED]: Group row icons appear without defined!Posted: 21 December 2011 at 9:01am |
|
Hi;
Where do these icons come from? I haven't defined any images for row items (only one header columns shows an icon -- see blue circle) but nevertheless a group row image appears for every column I drag into the group area! Strange! The first groupable column has the icon specified in its header, all other are left default XTP_NO_ICON. |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 December 2011 at 5:24pm |
|
SORRY!
Found the problem - uninitialized variable... |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
Willowmaster
Senior Member
Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 December 2011 at 3:37am |
|
Did you add an icon with IconIndex 0? Because default value of a new Item is 0 I think.
I had a similar problem with the popupcontrol and had to set the IconIndex for an item to 0.
The first indexnumber for an array in VB is 1 not 0 (you can change this to 0 I believe, but is not the default). Maybe that's why this goes wrong too in MFC?. A mixup of what the first array index should be?
|
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 December 2011 at 11:37am |
|
No;
It's definitely been a non initialized variable of my report class. |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
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 |