Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate first visible row in a grid
Message
De
16/06/1999 16:05:28
 
 
À
16/06/1999 10:14:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00230386
Message ID:
00230630
Vues:
26
>Hi there,
>
>Somebody knows how to have the first visible row in a grid to become the active one?

Run following code from button.click and it will give you a clue:
WITH thisform.grid1
 .setfocus
 nCounter=0
 DO while .relativerow<>1
  nCounter=nCounter+1
  .doscroll(1)
  IF nCounter>20 
   EXIT
  ENDIF
 ENDDO
 .refresh
ENDWITH
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform