Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin Panel [Its All Good]
#1
Can someone give me a code so that in frmMirage when a admin presses F1 a admin panel will open.
I can can code and design the panel from there
Reply
#2
Make the admin panel a form named frmAdmin.

Then add use this into frmMirage code:
Code:
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyF1 Then
        If Player(MyIndex).Access > 0 Then
            frmAdmin.Visible = True
        End If
    End If
End Sub
Reply
#3
Dosnt Work Highlights first line and says

Compile Error:
Ambiguous name detected:Form_KeyUp
Reply
#4
Its All Good Thanks For The Help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)