Connecting Tech Pros Worldwide Help | Site Map

fill colour in report

feeman
Guest
 
Posts: n/a
#1: Aug 11 '06
A while back I asked about changing the background colour of a text box
according to the outcome of a tick box, and the code below was supplied
which worked very well.

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me![O/S] = -1 Then
Me![Cat No].BackColor = vbYellow
Else
Me![Cat No].BackColor = wbWhite
End If


End Sub

But now is all I want it to do is change the colour of outstanding to
yellow, but change the font to white, so that when printed stands out a
little more, especially due to the fact that work has decided to reset
all the printer to black and wjite so when using a darker colour you
can not see the text.

ManningFan
Guest
 
Posts: n/a
#2: Aug 11 '06

re: fill colour in report


Are you so phuqing lazy you didn't even bother looking at the
properties of a text box, or are you just stupid?

Me![Cat No.].ForeColor = wbWhite

feeman wrote:
Quote:
A while back I asked about changing the background colour of a text box
according to the outcome of a tick box, and the code below was supplied
which worked very well.
>
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me![O/S] = -1 Then
Me![Cat No].BackColor = vbYellow
Else
Me![Cat No].BackColor = wbWhite
End If
>
>
End Sub
>
But now is all I want it to do is change the colour of outstanding to
yellow, but change the font to white, so that when printed stands out a
little more, especially due to the fact that work has decided to reset
all the printer to black and wjite so when using a darker colour you
can not see the text.
Tom Becker
Guest
 
Posts: n/a
#3: Aug 11 '06

re: fill colour in report


On 11 Aug 2006 12:27:30 -0700, "ManningFan" <manningfan@gmail.com>
wrote:
Quote:
>Are you so phuqing lazy you didn't even bother looking at the
>properties of a text box, or are you just stupid?
>
It would be very cool if you stopped posting crap like this. This
newsgroup would be a lot more pleasant to read.

Closed Thread