Oppure

Loading
21/05/09 15:19
zerosat
Salve a tutti, mi servirebbe una mano per cercare di creare un programma...
In pratica ho disabilitato la form facendo : Me.Enabled = false
e poi però vorrei che mentre sono nella mia form, premendo 3 tasti mi si abiliti la form..
grazie in anticipo..:k:
aaa
21/05/09 16:23
Enemy
Ciao, Prova con questo :

Private Sub Form_KeyPress(KeyAscii As Integer)

    If KeyAscii = 13 Then
    Form1.Enabled = True
    End If
    
End Sub

Private Sub Form_Load()

    Form1.Enabled = False
    
End Sub


:k:
Ultima modifica effettuata da Enemy 21/05/09 16:24
aaa
21/05/09 19:40
GrG
Dim usciti As String
Private Sub Form_KeyPress(KeyAscii As Integer)
usciti = usciti & Chr(KeyAscii)
    If Right(usciti, 3) = "asd" Then
    Form1.Enabled = True
    usciti = ""
    End If
If Len(usciti = 99999) Then
usciti = ""
End If
End Sub

Private Sub Form_Load()
    Form1.Enabled = False
    
End Sub

al posto di asd ci metti la tua combinazione...
aaa