![]() |
Report Control: Context Menu |
Post Reply
|
| Author | |
leo_12
Groupie
Joined: 12 April 2005 Location: Germany Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: Report Control: Context MenuPosted: 09 January 2006 at 3:58am |
|
When right-clicking on a row in a ReportControl I expected the selection would be changed to the row where I clicked and the context menu is shown for that row. In release 9.81 the focus is changed but not the selection. Therefore it is unclear whether the context menu is valid for the focused or for the selected row. Why is the selection ignored if the focused row is not a GroupRow?
... if (pRow) ...
Any comments on that? |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 January 2006 at 7:18am |
|
Hi leo, Actually there is a bug here. Just change condition a little and rebuild the Toolkit: from: SetFocusedRow(pRow, !pRow->IsGroupRow() || pRow->IsSelected()); The idea is: do not reset multiple selection when you click at one of selected items, and reset (change) selection when click at not selected row or at the group row. -- |
|
![]() |
|
leo_12
Groupie
Joined: 12 April 2005 Location: Germany Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 January 2006 at 8:07am |
|
Thanks for your help!
|
|
![]() |
|
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 |