Print Page | Close Window

[SOLVED] Prevent a group row from being collapsed?

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=12971
Printed Date: 29 September 2024 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Prevent a group row from being collapsed?
Posted By: mgampi
Subject: [SOLVED] Prevent a group row from being collapsed?
Date Posted: 18 December 2008 at 4:57pm
How?

-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 26 December 2008 at 2:58pm
Hi;
No solution for this?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mdoubson
Date Posted: 26 December 2008 at 5:00pm

You can try to build own version of Toolkit dll where class

CXTPReportGroupRow will have developer-controlled BOOL flag m_bEnable with TRUE as default (assigned in c-tor) and function

void CXTPReportGroupRow::OnClick(CPoint ptClicked)

will allows to Expand or Collapse based on this flag



Posted By: mgampi
Date Posted: 27 December 2008 at 4:18pm
Hi;
That's no option for us due to version change management and company internal specifications. We have to do it by only derive from existing classes of the toolkit...
And I want the expand/collapse button bitmap also to be removed from this kind of group row. So I also have to draw the group row with my own paint manager.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mdoubson
Date Posted: 27 December 2008 at 10:43pm
OK - let's propose to implement this idea in release 13


Posted By: znakeeye
Date Posted: 28 December 2008 at 11:00am
You've got my vote!

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: larryp
Date Posted: 01 April 2010 at 3:30pm
Did this ever get implemented because this is also something I need?
 
Larry


Posted By: mgampi
Date Posted: 28 February 2011 at 5:17pm
Hi;

is this possible now? At least in version 15.0.1?



-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: ABuenger
Date Posted: 22 March 2011 at 1:06pm
This feature has been added for 15.0.3.

You can either call "CXTPReportControl::LockExpand()" to lock collapsing/expanding for the entire control or "CXTPReportRow::LockExpand()" to lock a single row.
You can still collapse/expand rows from code.



-------------
Codejock support


Posted By: mgampi
Date Posted: 22 March 2011 at 1:20pm
Thanks;

I'll try it!


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: jpbro
Date Posted: 22 March 2011 at 1:37pm
Hi Andre,

Is this functionality exposed in the ActiveX 15.0.3 as well? I ask because right now I am using some ugly hacks to prevent group rows from being expanded/collapsed under certain circumstances and it would be nice to just have a property to control this.

Thanks.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: ABuenger
Date Posted: 22 March 2011 at 3:30pm
Originally posted by jpbro jpbro wrote:

Hi Andre,

Is this functionality exposed in the ActiveX 15.0.3 as well? I ask because right now I am using some ugly hacks to prevent group rows from being expanded/collapsed under certain circumstances and it would be nice to just have a property to control this.

Thanks.


Yes. This is available in the ActiveX version as well.



-------------
Codejock support


Posted By: jpbro
Date Posted: 22 March 2011 at 7:10pm
Great, thanks a lot!

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: mgampi
Date Posted: 01 April 2011 at 4:02am
Originally posted by ABuenger ABuenger wrote:

This feature has been added for 15.0.3.
You can either call "CXTPReportControl::LockExpand()" to lock collapsing/expanding for the entire control or "CXTPReportRow::LockExpand()" to lock a single row.
You can still collapse/expand rows from code.
Hi;
I tested your snapshot, but a double click onto the group row still expands/collapses the child rows.
Thats not wanted when LockExpand(TRUE) is set!  

-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: ABuenger
Date Posted: 01 April 2011 at 12:01pm
Fixed.



uploads/1755/ReportSample_04012011.zip - uploads/1755/ReportSample_04012011.zip





-------------
Codejock support



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