G
Guest
How do I change the back style in code. I have tried...
Me("lblDay" & Format(i, "00")).BackStyle = "Transparent"
Me("lblDay" & Format(i, "00")).BackStyle = "normal"
and I get an error. However I can change the backcolor and forecolor using
the following if the backstyle is set to Normal in the properties.
Me("lblDay" & Format(i, "00")).ForeColor = lngcNormalForeColor
Me("lblDay" & Format(i, "00")).BackColor = lngcNormalBackColor
Me("lblDay" & Format(i, "00")).BackStyle = "Transparent"
Me("lblDay" & Format(i, "00")).BackStyle = "normal"
and I get an error. However I can change the backcolor and forecolor using
the following if the backstyle is set to Normal in the properties.
Me("lblDay" & Format(i, "00")).ForeColor = lngcNormalForeColor
Me("lblDay" & Format(i, "00")).BackColor = lngcNormalBackColor