Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - Scrolled event
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid - Scrolled event
Divers
Thread ID:
00236175
Message ID:
00236175
Vues:
41
Hello,

Today I found some problem with Grid.Scrolled event.

In grid.AfterRowColChange method I put this code:

Local lnRecno, lnNumberOfRecords
lnRecno=RECNO("DataDict")
lnNumberOfRecords=RECCOUNT("DataDict")
THIS.STATUSBARTEXT=Space(20)+"Record "+;
alltrim(str(lnRecno))+;
" of "+alltrim(str(lnNumberOfRecords))
THIS.parent.Refresh()
THISFORM.NavStand.NavUpdate()

Parent of my grid is PageFrame.
Then I try to put the same code into Scrolled event Grid returns to the first record.

How can I achive my goal here (I want to refresh() contain of textboxes depending on current record)

Thanks in advance
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform