Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing grid columns numerically
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00723033
Message ID:
00723035
Views:
10
>Is there some way of referencing a grid column by number
>or array without using & macro method?
>For example like:
>
>ThisForm.Grid1.ColumnObject(I).BackColor = RGB(128, 0, 255)
>
>Where I is the column number.

Yes, it would be columns(i)

you can also do
for each loColumn in this.Columns
...
endfor
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform