@Codejock-Team |
Post Reply |
Author | |
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
Posted: 07 May 2008 at 7:27am |
Hello How can I display a report with no automatic selection at startup?
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
the only way I found to achieve this was by calling
m_Control.GetSelectedRows()->Clear();
Seems a bit backwards that you need to clear a selection you didn't set, but that's the way it works.
|
|
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
|
I know. Thats works visually, but if you call GetFocusedRow() you get 0 (furthermore first row) instead -1 (no row).
Can you agree?
|
|
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 |