Print Page | Close Window

[SOLVED]: Group row icons appear without defined!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19344
Printed Date: 16 November 2024 at 2:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED]: Group row icons appear without defined!
Posted By: mgampi
Subject: [SOLVED]: Group row icons appear without defined!
Date 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



Replies:
Posted By: mgampi
Date 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


Posted By: Willowmaster
Date 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





Posted By: mgampi
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net