## XIDInterf
Class XIIIMenuVirtualKeyboardProfile

source: C:\XIII\XIDInterf\Classes\XIIIMenuVirtualKeyboardProfile.uc

    Core.Object
       |
       +--GUI.GUI
          |
          +--GUI.GUIComponent
             |
             +--GUI.GUIMultiComponent
                |
                +--GUI.GUIPage
                   |
                   +--XIDInterf.XIIIWindow
                      |
                      +--XIDInterf.XIIIMenuVirtualKeyboard
                         |
                         +--XIDInterf.XIIIMenuVirtualKeyboardProfile

Direct Known Subclasses:None

class XIIIMenuVirtualKeyboardProfile
extends XIDInterf.XIIIMenuVirtualKeyboard

Function Summary
`bool` | `InternalOnKeyEvent(out byte, out byte, float delta)`

Source Code

    00001	class XIIIMenuVirtualKeyboardProfile extends XIIIMenuVirtualKeyboard;
    00002
    00003
    00004	function bool InternalOnKeyEvent(out byte Key, out byte State, float delta)
    00005	{
    00006
    00007		if (State==1)// IST_Press // to avoid auto-repeat
    00008	    {
    00009	        if ( Key==0x0D/*IK_Enter*/)
    00010		    {
    00011				if ( FocusedControl==OkButton )
    00012				{
    00013					log("OK - Texte="$TextStr);
    00014					myEditCtrl.SetText( TextStr );
    00015					XIIIMenuSelectProfile(ParentPage).VirtualKeyboardReturn(0);
    00016					myRoot.CloseMenu(true);
    00017					return true;
    00018				}
    00019				else if ( FocusedControl==CancelButton )
    00020				{
    00021					log("CANCEL");
    00022					myEditCtrl.SetText("");
    00023					XIIIMenuSelectProfile(ParentPage).VirtualKeyboardReturn(0);
    00024					myRoot.CloseMenu(true);
    00025				    return true;
    00026				}
    00027			}
    00028		}
    00029
    00030		return Super.InternalOnKeyEvent(Key, State, delta);
    00031	}
    00032

End Source Code