How to tell which browse rows are in "view"

HomeDawwg

New Member
Hi all,

I have a browse in CHUI, and im trying to show a small display at the bottom to let the user know whether they are :
- at the bottom of the list
- at the top of the list
- or if there are more results further down (need to scroll).

Is there a way to see whether the last item in the query is currently displayed on the screen (likewise the first)?

Thanks,

Darren
 
Maybe this helps:

You can always check the QUERY-OFF-END attribute of the query which will tell you whether you tried to scroll out of the query result set, either top or bottom.

IF hQuery:QUERY-OFF-END THEN DO:

END.

Where hQuery could also be QUERY qYourQuery:HANDLE.
or BROWSE brwYourBrowse:QUERY.



HTH, RealHeavyDude.
 
Back
Top