Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Type ahead edit box to move report top position
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Type ahead edit box to move report top position

 Post Reply Post Reply
Author
Message
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post Topic: Type ahead edit box to move report top position
    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
Back to Top
wlcabral View Drop Down
Groupie
Groupie
Avatar

Joined: 25 April 2007
Location: Brazil
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote wlcabral Quote  Post ReplyReply Direct Link To This Post Posted: 25 April 2008 at 10:53am

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

wlcabral
Back to Top
strider View Drop Down
Groupie
Groupie


Joined: 16 April 2008
Location: United States
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote strider Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.266 seconds.