ahmadfononi
معاونت انجمن
Dim x1, y1 As Single
Dim emtiyaz As Double
Dim tupNum As Byte
Dim harekateOFOGHI As Integer
Dim harekateAMUDI As Integer
Private Sub Form_Activate()
BARG.Top = Me.Height - 500
x1 = 1
y1 = 1
harekateOFOGHI = 40
harekateAMUDI = 40
tupNum = 3
lblTUP.Caption = tupNum & " tup"
KADR.Width = Me.Width
lblexit.Left = Me.Width - lblexit.Width
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyEscape Then
End
End If
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If lblNEW.ForeColor = vbRed Then lblNEW.ForeColor = vbYellow
If lblexit.ForeColor = vbRed Then lblexit.ForeColor = vbYellow
If X > Me.Width - BARG.Width Then X = Me.Width - BARG.Width
BARG.Left = X
End Sub
Dim emtiyaz As Double
Dim tupNum As Byte
Dim harekateOFOGHI As Integer
Dim harekateAMUDI As Integer
Private Sub Form_Activate()
BARG.Top = Me.Height - 500
x1 = 1
y1 = 1
harekateOFOGHI = 40
harekateAMUDI = 40
tupNum = 3
lblTUP.Caption = tupNum & " tup"
KADR.Width = Me.Width
lblexit.Left = Me.Width - lblexit.Width
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyEscape Then
End
End If
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If lblNEW.ForeColor = vbRed Then lblNEW.ForeColor = vbYellow
If lblexit.ForeColor = vbRed Then lblexit.ForeColor = vbYellow
If X > Me.Width - BARG.Width Then X = Me.Width - BARG.Width
BARG.Left = X
End Sub