Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling grids
Message
From
28/05/1998 13:49:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102792
Message ID:
00102814
Views:
38
>Thanks Cetin;
>But what am I doing wrong. I'm trapped in an endless loop. I stop
>the program and check the value of grid.relativerow and it's 0.
Becky,
Sorry it would be doscroll(1). In debugger it would be always 0. It works when grid has focus. If you want to do it from outside of grid ie: commandbutton.click:
with thisform.mygrid
  .setfocus
 do while .relativerow # 1
  .doscroll(1)
 enddo
endwith
this.setfocus
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform