Untitled

Anuncio
reloj.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
30/04/2005 9:29
'-----------------------------------------------------------------------------'// Programa ..... Reloj
'// Autor ........ Jesús P.M. (zttSoft.com)
'// Fecha ........ 28/05/2004 * Mod 28/05/2004
'-----------------------------------------------------------------------------Option Explicit
Dim MoveScreen As Boolean
Dim MousX As Integer
Dim MousY As Integer
Dim CurrX As Integer
Dim CurrY As Integer
'-----------------------------------------------------------------------------Private Sub Form_Load()
Label4.Caption = "reloj"
End Sub
'-----------------------------------------------------------------------------Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
MoveScreen = True
MousX = X
MousY = Y
End Sub
'-----------------------------------------------------------------------------Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If MoveScreen Then
CurrX = Form1.Left - MousX + X
CurrY = Form1.Top - MousY + Y
Form1.Move CurrX, CurrY
End If
Label1.FontBold = False
Label2.FontBold = False
Label3.FontBold = False
End Sub
'-----------------------------------------------------------------------------Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
MoveScreen = False
End Sub
'-----------------------------------------------------------------------------Private Sub Label1_Click()
End
End Sub
'-----------------------------------------------------------------------------Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.FontBold = True
End Sub
'-----------------------------------------------------------------------------Private Sub Label2_Click()
Timer1.Interval = 0
End Sub
'-----------------------------------------------------------------------------Private Sub Label2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label2.FontBold = True
End Sub
'-----------------------------------------------------------------------------Private Sub Label3_Click()
Timer1.Interval = 1000
End Sub
'-----------------------------------------------------------------------------Private Sub Label3_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label3.FontBold = True
End Sub
'-----------------------------------------------------------------------------Private Sub Label4_DblClick()
Form1.WindowState = 1
End Sub
'-----------------------------------------------------------------------------Private Sub Timer1_Timer()
Label4.Caption = Time
Label6.Caption = Time
End Sub
'>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FIN
Page 1 of 1
Descargar