Print Page | Close Window

@Codejock-Team

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=10539
Printed Date: 24 November 2024 at 4:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: @Codejock-Team
Posted By: Michl
Subject: @Codejock-Team
Date Posted: 07 May 2008 at 7:27am

Hello

 
How can I display a report with no automatic selection at startup?



Replies:
Posted By: adrien
Date Posted: 20 May 2008 at 7:06pm
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.


-------------
http://www.wingate.com - http://www.wingate.com


Posted By: Michl
Date Posted: 21 May 2008 at 2:45am
I know. Thats works visually, but if you call GetFocusedRow() you get 0 (furthermore first row) instead -1 (no row).
 
Can you agree?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net