Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I access the caption of a header in a grid in cod
Message
De
21/06/2002 16:50:00
 
 
À
21/06/2002 05:31:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00670947
Message ID:
00671240
Vues:
15
Hi Cetin,

You don't want to do Controls(1) because under certain circumstances, the Header may not be the first control in the column. What about...

This.Columns(nColumnCounter].Header1.Caption.

Header1 is the default name for the Header when Column is added.


>>I want to be able to change the caption of the header in a column from a grid programatically. How do I do this?
>>
>>I can access the column but no the header.
>>example:
>> This.Columns[nColumnCounter].Width = mylen
>>
>>Thanx
>>Merril
>
>This.Columns[nColumnCounter].Controls(1).Caption = ....
>Cetin
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform