Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids, resizing and moving the rows
Message
From
17/03/1998 03:57:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00084956
Message ID:
00084965
Views:
37
Sarah, to position the active row to be first in the grid you'll need to poll the Grid.Relativerow, then call Grid.doScroll(0) approximately that number of times. Possibly:
  FOR i= 1 TO Grid.RelativeRow-1
    Grid.DoScroll(0)
  ENDFOR
Something like that... Note that, to make life interesting, RelativeRow can be zero in the case the user has scrolled the selected row away from view. Have fun <s>.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform