Timer Label Visibility Question
- From: "AK" <nospam@xxxxxxxxxxx>
- Date: Sun, 14 May 2006 20:00:50 GMT
I have the following code associated with a form that has a timer control
and a label called "lblTime". (to display the time)
I have another procedure "cmdLogIn" associated with the form and that
procedure consists of clicking on a command button which was supposed to, as
part of its activities, toggle the time display label "lblTime" to Visible
with a statement lblTime.Visible = True.
Did not work. What am I doing wrong? Is is a problem togglling something
assiciated with a timer that is outside the Timer Sub itself?
Private Sub Timer1_Timer()
lblTime.Visible = False
If lblTime.Caption <> CStr(Time) Then
lblTime.Caption = Time
End If
End Sub
Thanks
AK
.
- Follow-Ups:
- Re: Timer Label Visibility Question
- From: Jim Carlock
- Re: Timer Label Visibility Question
- Prev by Date: need to make part of a sentence in a textbox BOLD
- Next by Date: Re: Newbie: VB-ADO help
- Previous by thread: need to make part of a sentence in a textbox BOLD
- Next by thread: Re: Timer Label Visibility Question
- Index(es):