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)
 
Back
Top