Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rows in Grids
Message
 
À
02/07/1996 19:42:39
Julio Rivera
Grupo Rivfer, S.A. de C.V.
Tampico, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00003306
Message ID:
00003363
Vues:
36
>>Does any GE Genius know how to determine how many rows are in a Grid -- not tables but Grid? This GE Genius blew a light bulb...
>>
>>Tom
>
>I have a form with a pageframe, in page2 a control
>grid1 with a filtered control source and a label1 to
>display the number of rows.
>
>To get the number of rows in grid1 'with out count
>the rows':
>
>in the main form i crate a property nRows, that will
>contain the number of rows in the grid.
>
>in the init event of page2:
>
> X = thisform.pageframe1.page2
> X.Grid1.SetFocus
> go bottom
> X.Grid1.refresh()
> X.label1.caption = AllTrim(Str(ThisForm.nRows))
>
>in the Grid1's AfterRowColChange event
>
> LPARAMETERS nColIndex
> thisform.nRows = this.activerow
>
>i hope this help you...


Thanks, Hugh Winters has a very good one that is too simple... Check his out in this section.

Thanks
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform