예제 #1
0
 static public void RemoveFocusInput(KInputField input_)
 {
     if (!__input2bool.ContainsKey(input_))
     {
         return;
     }
     __input2bool.Remove(input_);
 }
예제 #2
0
 static public int GainFocus(IntPtr l)
 {
     try {
         mg.org.KUI.KInputField self = (mg.org.KUI.KInputField)checkSelf(l);
         self.GainFocus();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int AppendString(IntPtr l)
 {
     try {
         mg.org.KUI.KInputField self = (mg.org.KUI.KInputField)checkSelf(l);
         System.String          a1;
         checkType(l, 2, out a1);
         self.AppendString(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
0
 static public int MoveIndexEnd(IntPtr l)
 {
     try {
         mg.org.KUI.KInputField self = (mg.org.KUI.KInputField)checkSelf(l);
         System.Boolean         a1;
         checkType(l, 2, out a1);
         self.MoveIndexEnd(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #5
0
 /// <summary>
 /// 添加焦点输入框
 /// </summary>
 /// <param name="input_"></param>
 static public void AddFocusInput(KInputField input_)
 {
     __input2bool[input_] = true;
 }