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
22/06/2002 10:58:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/06/2002 16:50:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00670947
Message ID:
00671362
Vues:
15
John,
Header1 might not be the name too :) It's extremely rare it's not the first control but yes possibility exists :)
Cetin

>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform