Label Backcolor

  • Thread starter Thread starter gator
  • Start date Start date
G

gator

why isn't this working? the background color remains the same.

Private Sub lblApr_Click()

Me.lblApr.BackColor = vbBlue

End Sub
 
Hi, gator.

Check the "Back Style" property of your label. To change the back color,
this property must be set to "Normal". By default the Back Style of a label
control is set to "Transaprent".

HTH
Mr. B
(askdoctoraccess dot com)
 
this is not working...???

Private Sub lblApr_Click()
Me.lblApr.BackStyle = vbNormal
Me.lblApr.BackColor = vbBlue
End Sub
 
gator,

Change your first line of code to:

Me.lblApr.BackStyle = 1

HTH
Mr. B
(askdoctoraccess dot com)
 

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

Back
Top