Trying to build controls and/or objects dynamically then loop through them has proven a real PITA, the closest I have come so far is using .NET's control arrays (not even as easy to use as VB6's, but I digress) which have the limitiation of having to be loaded.
So.... being former VFP developers did you put in anything like this?
for x = 1 to n
l_controlstring = "thisform.txtTextbox" + alltrim(str(n)) + ".backcolor = rgb(255,213,202)"
&l_controlstring
next x
If you did, I'm sold. Keith Chisarik