![]() |
[SOLVED] Prevent a group row from being collapsed? |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: [SOLVED] Prevent a group row from being collapsed?Posted: 18 December 2008 at 4:57pm |
|
How?
|
|
|
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: 26 December 2008 at 2:58pm |
|
Hi;
No solution for this? |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 December 2008 at 10:43pm |
|
OK - let's propose to implement this idea in release 13
|
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 December 2008 at 11:00am |
|
You've got my vote!
|
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
larryp
Groupie
Joined: 15 January 2005 Location: United States Status: Offline Points: 61 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 April 2010 at 3:30pm |
|
Did this ever get implemented because this is also something I need?
Larry
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 February 2011 at 5:17pm |
|
Hi;
is this possible now? At least in version 15.0.1? |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2011 at 1:20pm |
|
Thanks;
I'll try it! |
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
jpbro
Senior Member
Joined: 12 January 2007 Status: Offline Points: 1357 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2011 at 3:30pm |
Yes. This is available in the ActiveX version as well. |
|
|
Codejock support
|
|
![]() |
|
jpbro
Senior Member
Joined: 12 January 2007 Status: Offline Points: 1357 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 April 2011 at 4:02am |
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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 April 2011 at 12:01pm |
|
Codejock support
|
|
![]() |
|
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 |