Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simulate a doscroll( 0 ) in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01543217
Message ID:
01543218
Views:
53
>Hi all
>
>i have a problem with record in a grid.
>When i put manually with my mouse on vertical bar , the problem disappear.
>
>I try to transform this in programmation.
>
>
> THIS.PARENT.cGrid1.Doscroll( 0 )
>
>
>Give nothing !
>
>
> RAISEEVENT(  THIS.PARENT.cgrid1 ,"DoScroll( 0 )" )
>
>give a error ( property not found..... )
>
>how can i resolve this problem ?
>
>thank in advance for help
>
>Bernhart

Probably you do not set focus to the grid. Try:
with THIS.PARENT.cGrid1
    .setfocus
    .Doscroll( 0 )
endwith
Good Luck
Previous
Reply
Map
View

Click here to load this message in the networking platform