Print Page | Close Window

Type ahead edit box to move report top position

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=10358
Printed Date: 20 September 2024 at 9:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Type ahead edit box to move report top position
Posted By: strider
Subject: Type ahead edit box to move report top position
Date Posted: 25 April 2008 at 9:24am
I am attempting to create a large report that that will move the top scroll position in the report when you type letters into an edit box in a header row.  This almost working. I am using the InplaceEditChanging event to catch the keys as they are typed. Then I use the TopRowIndex property within the event to move the position of the report. There is one problem left... when I use the TopRowIndex property, it takes focus away from the header and puts it into the body. Then my edit box closes and I can''t type anymore letters. I tried to use the FocusChanging event to cancel the focus change, but this event is not fireing.  Any ideas?

-------------
ActiveX 13.2.1

Strider



Replies:
Posted By: wlcabral
Date Posted: 25 April 2008 at 10:53am

Im my case I used a editBox outside the ReportControl. See the picure in this post :

https://forum.codejock.com/forum_posts.asp?TID=9825&KW - https://forum.codejock.com/forum_posts.asp?TID=9825&KW =


-------------
wlcabral


Posted By: strider
Date Posted: 25 April 2008 at 1:35pm
Yes, I agree, the use of an external text box will work.  
Thanks for the example!
 
I was trying to get it to work within the header because I wanted a separate text box for each column. Having these multiple text boxes within the header row looks very nice.  The multiple text boxes placed outside the column is more confusing.
 
I was so close to getting it to work in the header, I was somewhat dissapointed the focus change problem. 
 


-------------
ActiveX 13.2.1

Strider



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