Predmet:Re: Key preview
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyF8
Call Command41_Click
Case vbKeyTab
Call Command111_Click
Na tab on poziva proceduru koja se nalazi na command111 na klik
nije potreban komandni taster.
Proceduru mozes i ovdje napisati.
Napr.
docmd.openform "nekaforma"
Case vbKeyEnd
Call Command123_Click
End Select
End Sub
Podrska samo putem foruma, jer samo tako i ostali imaju koristi od toga.