Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
13/08/2004 16:16:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Grids
Divers
Thread ID:
00932444
Message ID:
00933234
Vues:
21
What I would like is when I append a new record to my Grid, I would like all the other records to drop down one row and the new blank record would be the first on top. Then the user can enter the information into this new record.




>>I have a grid that is used to enter child data to a parent record. When I enter a record I would like the record to be entered at the top of the grid and not the last record of the grid?
>
>This is a LocateRecordOnTop method from our wgGrid class.
>
>*--------------------------------------------------------------------------
>* -- NSL 3/2/00
>* -- Added this method per Nadya's request
>* -- It is not automatically called but is available if the user would like to use.
>* -- It is intended to be called on return from the search button to place the intended record
>* -- at the top of the grid.
>* -- NSL 10/10/01  Nadya wanted to be sure that Walter Meester is appropriately credited for this change
>*--------------------------------------------------------------------------
>
>thisform.lockscreen=.t.
>nHeight = this.height
>this.height = this.headerheight + this.rowheight
>this.refresh
>this.height=nHeight
>thisform.lockscreen=.f.
>
>
>Is it what are you after?
Claude Gosselin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform