|
-
May 12th, 2011, 11:08 AM
#1
Thread Starter
New Member
How would I know whether the link label was clicked at the runtime.
my code looks something like this:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
curtime.Text = TimeValue(Now) 'curtime is label
End Sub
I have a link label on my form and I want to change the value of curtime when user clicks on the link label at the run time.
something like this
curtime.Text = newtime.text 'newtime is label
I can do this coding in the link label's click event but I want newly assinged value of the curtime should be running when the form runs and this can happen only when I put the code in the timer event, that's why I want to check in the timer event itself whether the link label was clicked by user at run time.
How should I do that.
Or please tell me how to call timer sub routine.
Plz explain.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|