
Inverted and blinking text?
You can use the timer control. Set the interval to call a sub to
change the forecolor to the same as the backcolor and back to a
contrasting color.
This code is VB3.
Sub Timer1_Timer ()
Call Blink(lblWorking, RED, BLUE)
End Sub
Sub Blink (ctlAny As Control, Color1, Color2)
Static bBlink As Integer
If bBlink = True Then bBlink = False Else bBlink = True
If bBlink Then
ctlAny.ForeColor = Color2
Else
ctlAny.ForeColor = Color1
End If
End Sub
Quote:
>The screen mode used in Windows does not support blinking text. It is a hardware limit.
>> Inverted is easy. Just swap the Forecolor and backcolor. Blinking text
>> I don't know that one.
>> > ----------
>> > Posted At: Thursday, July 17, 1997 09:25 PM
>> > Posted To: misc
>> > Conversation: Inverted and blinking text?
>> > Subject: Inverted and blinking text?
>> > Hi all,
>> > I can't figure out how to print blinking and/or inverted text in a
>> > text
>> > box. Can anyone point me to the appropriate reference?
>> > Thanks !
>> > Walter Sheets