Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Column Headers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01502624
Message ID:
01502641
Vues:
41
Hi Naomi....thanks for that..just what I was looking for
regards,
Gerard



>>Is there a way to change a grid Column Headers. it defaults to Field Names but I want to change it.
>>Want to loop through table and change as follows:
>>
>>Afields(MyArray,'MyAlias')
>>For x = 1 to len(MyArray)
>> Thisform.Grid1.Header(x) = GetMyhead(x)
>>Endfor
>>
>>and be able to change the header of each column, to include for instance a space and show this in each column
>>
>>Tia
>>Gerard
>
>You may want to change it by looping through all grid's columns, e.g.
>
>
>   for each loColumn in thi s.Columns
>       lcField = juststem(loColumn.ControlSource)
>       loColumn.Header1.Caption = GetMyHead(m.lcField)
> next
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform