Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetCaption method to grid
Message
 
 
To
24/02/2000 16:35:59
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00337003
Message ID:
00337131
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform