I have 2 textboxes in a form, for example
text_a
text_b
if I write in text_a 0-10 then text_b=small
if I write in text_a 200-300 then text_b=big...
to insert the value its not a problem.
but I want that after that I insert the value the textbox flashing.
change the backcolor to green and red and green and red....
if I wrote:
I cant see the flashing.
is there an idea to flash AfterUpdate.
I know to flashing by the timer
but I dont know to flash afterupdate
thanks
s.
hope that you anderstand me
text_a
text_b
if I write in text_a 0-10 then text_b=small
if I write in text_a 200-300 then text_b=big...
to insert the value its not a problem.
but I want that after that I insert the value the textbox flashing.
change the backcolor to green and red and green and red....
if I wrote:
Code:
Me.text_b = "big"
Me.text_b.BackColor = 65280 ' green
Me.text_b.BackColor = 255 'red
Me.text_b.BackColor = 65280 ' green
Me.text_b.BackColor = 255 'red
is there an idea to flash AfterUpdate.
I know to flashing by the timer
Code:
Private Sub Form_Timer()
If Me.text_b.BackColor = 255 Then
Me.text_b.BackColor = 65280 ' green
ElseIf Me.text_b.BackColor = 65280 Then
Me.text_b.BackColor = 255 'red
Else
Me.text_b.BackColor = 255
End If
End Sub
thanks
s.
hope that you anderstand me
Last edited: