Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Header classes - please help!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00422292
Message ID:
00423198
Vues:
18
>Hi, guys!
>
> Did you know that we CANNOT remove header from grid at all? When you add new header to column, old header removed AUTOMATICALLY. VFP6 keeps always ONE and ONLY ONE header in column. So the correct code should be following:
>
>FOR EACH loColumn IN This.Columns
>     loColumn.AddObject("Hdr1","MyHeaderClass")
>     loColumn.Hdr1.Name = "Header1"
>ENDFOR
>
>

Hmmm... that makes sense. No error is returned from the RemoveObject(), however. Interesting... Thanks.
Bill Armbrecht
VFP MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform