[BUG] FooterRecords |
Post Reply |
Author | |
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
Posted: 04 August 2011 at 8:19am |
Hi,
*** EDIT *** This original post was resolved, however I have noticed another issue which can be viewed in the 11th reply to this post. I don't believe that this is version specific but I have noticed that when I happen to resize the ReportControl will resize correctly however the FooterRecord doesn't always position itself correctly. I can't seem to resolve this as the ReportControl is correctly resized, so I am unsure as to how I can reset the FooterRecord position. Does anyone have any ideas? Please see the screenshots below: |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
Did you try calling Redraw? Or FooterRow.Row(0).Ensurevisible.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi Willowmaster,
Thanks for the response but yeah I had already tried these and it didn't help resolve the issue. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Hi,
I was able to reproduce this in our sample. Happens when the horizontal scrollbar becomes visible. If you then resize the window again, the layout should be correct. Instead of Redraw you can use the MoveWindow or SetWindowPos API function to cause a recalculation of the layout. Andre |
|
Codejock support
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Andre,
Which event would I be best to call one of the API's from? I have tried both of these API's and I am unsure where best to place them. Do you have any sample code of how to best use this? |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
I have tried using the MoveWindow,
SetWindowPos and even tried the RedrawWindow with no luck!
The ReportControl also has a .ReCalc method but this doesn't sdeem to work either. I don't see how I can use the MoveWindow & SetWindowPos API's as the Form is maximised within the MDI application. Therefore I can't recalculate the window. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Andre,
If possible can this issue be resolved in the ReportControl component? I am finding that this is quite an annoyance for the users and also myself. In some cases this is happening on load of the Form and it would be useful if the ReportControl would correctly position the FooterRecord without myself or any other developer having to workaround this using API's. Let me know your thoughts. Thanks. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Hi,
this will of course be fixed for the next release. Andre |
|
Codejock support
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Thanks Andre
|
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Hi,
this has been fixed for the next release. Andre |
|
Codejock support
|
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Nice one Andre,
Looking forward to the next release, so I can get the ball rolling on several of my projects. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Although Andre has resolved the issue I was having in the first post (thanks again Andre) I have since discovered that this issue still exists but this time only when no scrollbars are present!
I have raised this with CJ Support and I am only issuing this so the forum members are aware. It's not a show stopper but it would be nice to have this issue resloved for any future release. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
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 |