Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wishlist: Revision of the RelativeRow propery.
Message
 
 
To
01/11/1999 01:30:44
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00284474
Message ID:
00284821
Views:
20
>Well, Let's say you've got a modeless searchbox like in word and you want to display the found record in the firstrow of the grid without having the grid get the focus.

In my incremental search textbox, I have the following in my InteractiveChange method:
with ThisForm
   .LockScreen = .t.
   with .GridName
      do while .RelativeRow > 1
         .DoScroll(1)
      enddo
      .Refresh()
   endwith
   .LockScreen = .f.
endwith
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform