Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selected Item in Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00338631
Message ID:
00339235
Vues:
14
Nadya

I got this code from a reply made by Walter Messter in response to a question similar to mine.

>Hi Alan,
>
>Thanks for your reply. So, if I put the method LocatedRecordOnTop to my grid subclass, may I put you as an other?
>
>Thanks again.
>
>>I found a couple of solutions but this one is the easiest:
>>
>>>If x is the RECNO() of the record I want to appear at the top of the grid, how do I force the grid to scroll up or down so that row is at the top?
>>
>>this one is easy to manage, make an new method for the grid:
>>**************************************************************
>>THISFORM.LockScreen=.T.
>>nHeight = THIS.Height
>>THIS.Height = THIS.HeaderHeight + THIS.RowHeight
>>THIS.Refresh
>>THIS.Height=nHeight
>>THISFORM.LockScreen=.F.
>>***************************************************************
>>
>>
Alan Trosky
MIS Director
Pennsylvania Bar Association
Harrisburg PA 17108
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform