Re: Visible records



If order is set to 0 and no filter is set (not even DELETED) and the
active row is in the visible part, you could do some calculations with
.height, .rowheight, .headerheight, .activerow, .relativerow and others
to find it. But if a filter is set or an order, then I don't see a
reasonable way.
The grid does not disclose such secrets.

I would expect a method to do this... Basically, a way to access each
visible cell's controlsource by actual rows and columns of the grid.

Foxpro 10? :)

If you scrolled vertically with the mouse, the active row can get out of
the visible part of the grid!

Forgot this one.. Thanks. :0


--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.19.1
^ ^ 20:07:01 up 21 days 2:19 0 users load average: 0.00 0.00 0.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
.



Relevant Pages

  • Re: control over grid scrolling
    ... > Anyone know a good way to scroll a grid, ... to put the active row in a certain position in the visible area? ... > Say for instance, with a grid that has 10 rows showing, to make the active ... > Setting relativerow would work great, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Visible records
    ... But if a filter is set or an order, then I don't see a reasonable way. ... The grid does not disclose such secrets. ... If you scrolled vertically with the mouse, the active row can get out of the visible part of the grid! ... Bernhard Sander ...
    (microsoft.public.fox.programmer.exchange)
  • control over grid scrolling
    ... Anyone know a good way to scroll a grid, without moving the record pointer, ... to put the active row in a certain position in the visible area? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: control over grid scrolling
    ... activerow and activecolumn are zero if the grid doesn't have focus. ... > RelativeRow is 0, when the active row is outside the visible area. ...
    (microsoft.public.fox.programmer.exchange)