Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iterating through columns in a grid
Message
De
27/06/2001 16:59:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Iterating through columns in a grid
Divers
Thread ID:
00524428
Message ID:
00524428
Vues:
56
This is my first attempt to work with grids so please bear with me.

I want to create a little method which will (for example) boldface the header on a particular column
LPARAMETERS tnColNumber

FOR EACH oColumn IN Thisform.grdQueue
  IF oColumn.ColumnOrder = tnColNumber
    oColumn.Header1.FontBold = .T.
  ENDIF
ENDFOR
This generates an error "GRDQUEUE cannot be enumerated"

Could someone post a sample of the proper way to cycle through the columns of a grid???

Thanks to all........Rich
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform