Print Page | Close Window

SetTopRow and Vert ScrollBar, help me!!!

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=17034
Printed Date: 21 December 2024 at 10:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetTopRow and Vert ScrollBar, help me!!!
Posted By: yezi09
Subject: SetTopRow and Vert ScrollBar, help me!!!
Date Posted: 30 July 2010 at 4:57am
int nTopRow = m_wndReport.GetTopRowIndex();
m_wndReport.Populate();
m_wndReport.SetTopRow(nTopRow);
 
When drog the scrollbar, and then run this code. The report row will scroll in the nTopRow, but the vert scrollbar will scroll to the selected row. 
The first image is before drog the scrollbar, the second image is after drog. Pay attention to the scrollbar, the scrollbar is return to the first row that was focused. I need the scrollbar don't scroll to the select row. How can I do? Plz help me.
 



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