Hi,
The status line control come with VB is grey in colour with black text.
How can I have part of status bar with other background colour, text colour and blinking ?
Thanks a lot.
Printable View
Hi,
The status line control come with VB is grey in colour with black text.
How can I have part of status bar with other background colour, text colour and blinking ?
Thanks a lot.
I think you cannot change back and fore color of th th status bar, but to avoid this, I have a simple trick , Instead of this bar use a label with whatever colors you want, borderstyle =1 and appearance = 3d , and show messages,Quote:
Originally posted by ric
Hi,
The status line control come with VB is grey in colour with black text.
How can I have part of status bar with other background colour, text colour and blinking ?
Thanks a lot.
For blinking text use timer
Just see the attachment
Gary
Here is a cool way to "Flash" a panel in a statusbar.To add colors and such, download the StatusPanel code from this link. http://www.coderoom.com/forms_vb7.htmlVB Code:
Private Sub FlashSBPanel(PanelNo As Integer) PanelToFlash = PanelNo Timer1.Enabled = True End Sub Private Sub Timer1_Timer() Static x As Boolean If x = True Then StatusBar1.Panels(PanelToFlash).Bevel = sbrRaised x = False Else x = True StatusBar1.Panels(PanelToFlash).Bevel = sbrInset End If End Sub Private Sub cmdFlashSBPanel_Click() FlashSBPanel 3 End Sub Private Sub cmdStopFlash_Click() Timer1.Enabled = False StatusBar1.Panels(PanelToFlash).Bevel = sbrInset End Sub