// Add letters to the text. // This should be run in the event. if (focus) { myText = keyboard_string; // Check for the TAB key, since this does not work correctly with events. if (keyboard_check_direct(vk_tab)) { textboxTab(); } else { tabbed = false; } }