| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Tab Class : KeyEvent Method |
Type: System.String
The key for event.
Type: System.String
The type of key event. It can be "down", "press" or "up".
Type: System.String
The key modifier for key event. It can be "alt", "ctrl", "shift", or empty string (not use the key modifier).
Type: System.String
The key for event.
Type: System.String
The type of key event. It can be "down", "press" or "up".
Type: System.String
The key modifier for key event. It can be "alt", "ctrl", "shift", or empty string (not use the key modifier).
// performs the press key event with modifier instance.ActiveTab.KeyEvent("a", "press", "ctrl");
// performs the press key event with modifier $instance->ActiveTab->KeyEvent("a", "press", "ctrl");
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven