Changing the backstyle

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
SHIPP said:
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 = 0
Me("lblDay" & Format(i, "00")).BackStyle = 1
 
Back
Top