Subfile page down issue

Use this board to ask questions or have discussions with other Genie users.
Post Reply
kulkabhijeet
New User
Posts: 10
Joined: Wed May 01, 2019 3:35 pm
First Name: Abhijeet
Last Name: Kulkarni
Company Name: Prime Therapeutics
Contact:

Subfile page down issue

Post by kulkabhijeet »

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.
Scott Klement
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

Post by Scott Klement »

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.
kulkabhijeet
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

Post by kulkabhijeet »

Thanks Scott !!!
Fixed it !!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest