Changing the backstyle

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
 
M

Marshall Barton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top