Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiselect Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00368175
Message ID:
00368269
Vues:
31
Hi Martineau,

As far as I recall, the standard Header class is substituted in run-time with another Header class, which is defined in prg file. (Unfortunately, we can not visually create Header or Column class, same for Page, this is added into VFP7.0 wish list). The new Header has different name, not Header1, but myHeader1. Its caption is set to Field Name (or Caption property if the table is part of DBC). You can find this code in multiselectGrid.Init method (search for Header). So, I believe, a correct syntax should be:

Thisform.Multigrid.Column1.myHeader1.caption="Numéro"

Or better assign Correct Caption property for your table (if it's not a free table or SQL resulting table)

Hope this helps.

BTW, what Ben in your sig means? What's your name?

>Hi Nadya
>Your example help me
>I got a question for you
>How can I change the header caption ?
>If I do
>Thisform.Multigrid.Column1.Header1.caption="Numéro"
>a error pop up.
>
>Thank's
>
>Ben.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform