Hello,
Working on a little homework project.
I have three forms. After the user selects which colors he would like to see the forms in, he than closes that form where he has chosen his color preferences from option buttons and the three forms are to be in the color preferences he has chosen. I am working with forecolor and backcolor - for the color preferences.
I am using a For Each Loop - but it don't work.
Dim frm as form
For each frm in forms
For each ctrl in frm.controls
ctrl.backcolor = (color) vbRed, vbYellow, etc.
Next
Next any help would be appreciated !!!
Working on a little homework project.
I have three forms. After the user selects which colors he would like to see the forms in, he than closes that form where he has chosen his color preferences from option buttons and the three forms are to be in the color preferences he has chosen. I am working with forecolor and backcolor - for the color preferences.
I am using a For Each Loop - but it don't work.
Dim frm as form
For each frm in forms
For each ctrl in frm.controls
ctrl.backcolor = (color) vbRed, vbYellow, etc.
Next
Next any help would be appreciated !!!