VK_NEXT behavior: By design? |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 20 March 2009 at 10:57am |
void CXTPReportNavigator::MovePageDown(BOOL bSelectBlock, BOOL bIgnoreSelection) int nCurrentRowIndex = m_pReportControl->m_nFocusedRow != -1 ? m_pReportControl->m_nFocusedRow : 0; m_pReportControl->SetFocusedRow( Same goes for MovePageUp().
BUG: Pagedown does not select the last row in all cases!
|
|
PokerMemento - http://www.pokermemento.com/
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
I guess it was somebody way to design - like MS Word show you last one or two lines from previous Page. Can be set as options - how many lines (rows) to show during Page scroll. There is also fixed setting inside the code for WheelScroll - also can be customized...
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
>>// Minus 1 - by design? I would expect the selection to go to the bottom!
What do you asking? m_pReportControl->m_pRows->GetCount() - 1 == LAST EXISTED Rows in Control!!!
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
See screenshot above! |
|
PokerMemento - http://www.pokermemento.com/
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
I guess it fixed already - try static sample with recent code https://forum.codejock.com/uploads/DemoVersion/ReportSampleSatic.rar please
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Yep! |
|
PokerMemento - http://www.pokermemento.com/
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Good
|
|
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 |