Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Header classes - please help!
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00422292
Message ID:
00423198
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform