![]() |
[SOLVED] SetFocusedRow broken in 15.01 |
Post Reply
|
| Author | |||
flashk
Groupie
Joined: 04 March 2008 Status: Offline Points: 44 |
Post Options
Thanks(0)
Quote Reply
Topic: [SOLVED] SetFocusedRow broken in 15.01Posted: 09 February 2011 at 1:13pm |
||
|
After updating to 15.01, CXTPReportControl::SetFocusedRow does not seem to work any more. The selected row does not change. This worked fine in the beta version.
Is there a different function I should use to programmatically select a specific row? |
|||
![]() |
|||
flashk
Groupie
Joined: 04 March 2008 Status: Offline Points: 44 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 February 2011 at 3:06pm |
||
|
I was able to fix the issue by reverting the changes made to the SetFocusedRow function since the beta version. Basically, I modified the following section of the function from:
to:
|
|||
![]() |
|||
flashk
Groupie
Joined: 04 March 2008 Status: Offline Points: 44 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 February 2011 at 3:30pm |
||
|
I figured out why the newer version is broken. The CMDTARGET_RELEASE macro not only decrements the reference count, but also sets the pointer to 0.
I don't think this is the intended behavior. The line:
should be changed to:
This fixed the issue for me. |
|||
![]() |
|||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 February 2011 at 2:53am |
||
|
Thanks, fix is comming.
|
|||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|||
![]() |
|||
Alex G.
Groupie
Joined: 22 December 2004 Location: Germany Status: Offline Points: 74 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 February 2011 at 3:24am |
||
|
Will there be a bug release ? |
|||
![]() |
|||
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 March 2011 at 12:48pm |
||
|
already released
|
|||
![]() |
|||
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 |