We are designing a single page subfile and have a logic of setting the RRN of the first record of the page that needs to be displayed.
Out problem is that if we go to page 3, we need to press pagedown 4 times to go to program control, page 4 would need 5 times pagedown press and so on.
Unless we press page down those many time, the control does not return to the program at all. The subfile does nothing for initial key presses.
Subfile page down issue
-
- New User
- Posts: 10
- Joined: Wed May 01, 2019 3:35 pm
- First Name: Abhijeet
- Last Name: Kulkarni
- Company Name: Prime Therapeutics
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Subfile page down issue
What you're describing is an "expanding" subfile application. The idea behind an expanding subfile is that when the user reaches the end, your program is called and it adds another page. So when you page up and down it is handled by the OS, except for the case when someone pages beyond the end, at which time you "expand" it.
It is not a "single page" subfile. Single page is where you clear the subfile every time control goes to your application, and you start over, filling in only the one page you want the user to see. In that case, your program would get control every time the user pages up or down, and you'd have to load the particular page you want, the OS doesn't do the work for you.
It is not a "single page" subfile. Single page is where you clear the subfile every time control goes to your application, and you start over, filling in only the one page you want the user to see. In that case, your program would get control every time the user pages up or down, and you'd have to load the particular page you want, the OS doesn't do the work for you.
-
- New User
- Posts: 10
- Joined: Wed May 01, 2019 3:35 pm
- First Name: Abhijeet
- Last Name: Kulkarni
- Company Name: Prime Therapeutics
- Contact:
Re: Subfile page down issue
Thanks Scott !!!
Fixed it !!!
Fixed it !!!
Who is online
Users browsing this forum: No registered users and 3 guests