Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simulate a doscroll( 0 ) in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01543217
Message ID:
01543218
Vues:
55
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform