Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetCaption method to grid
Message
 
 
À
24/02/2000 16:35:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00337003
Message ID:
00337131
Vues:
17
Mike,

>>I want to add method to my grid class, which allows me to change captions in all columns of the grid to be proper of the original content, i.g.
>
>In the Init() of the Grid (or after the captions have been built) do:
>
>
for each loColumn in This.Columns &&This = the grid
>	loColumn.Header1.Caption = Proper(loColumn.Header1.Caption)
>endfor
>
>Does this work?

If we change the name of Header to, for example, grhFName, it would not work (I haven't checked it, but I'm sure).

So, what should be the correct syntax? (see Ed Rauh's message also)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform