Una pregunta alguien me puede ayudar con una serie en Input numeradas del 1 a la 10, las cuales deseo con una input de llenado se vallan llenado los datos del 1 a la 10 es decir escribo el dato de la input 11, pero lo que se escribe se agregara a la input 1, si reconoco que hay algo escrito en la input 1 se salte y lo agregue en la 2 y valla saltando si las demas imput están ocupadas, alguien me puede ayudar?
if e_Key==13 then
for i=1,10 do
tx = Input.GetText("Input"..i);
if tx=="" then
N_tx = Input.GetText(this);
if N_tx~="" then
Input.SetText("Input"..i, N_tx);
break
else
Dialog.Message("Notice", "You Must add any Text", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
end
end
end
if you Pressed Enter the loop will find any input Empty and add your text in there .
Respectively