[SOLVED] SetFocusedRow broken in 15.01 |
Post Reply |
Author | |||
flashk
Groupie Joined: 04 March 2008 Status: Offline Points: 44 |
Post Options
Thanks(0)
Posted: 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)
|
||
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)
|
||
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
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
||
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)
|
||
Will there be a bug release ? |
|||
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
||
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 |