Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iterating through columns in a grid
Message
De
28/06/2001 11:31:47
 
 
À
28/06/2001 04:44:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00524428
Message ID:
00524740
Vues:
20
>I know that Doug has already answered this question and that you probably want to do more than simply make a column bold but..
>
>you could use setall to achieve the same thing
>Thisform.GrdQueue.Setall('Bold', .t., 'Header')
>
>HTH

Thanks for your input. I actually did want to bold just the one column header but there are places where I can replace a FOR EACH with a SetAll()

.........Rich



>
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform