No, in Lua it is not necessary to use a string name.

 I just run your sample code and it is working. I'm using exactly the same
configuration (from the original 3.25 distribution). I tested on lua53.exe,
iuplua53.exe and iupluascripter53.exe.

 I also changed t for b, and the focus went to the button as expected.

Best,
Scuri


Em qui, 13 de set de 2018 às 12:13, 云履 <robert...@qq.com> escreveu:

> Demo:
> require'iup'
> b=iup.button{title='x'}
> t=iup.text{value='y'}
> iup.dialog{iup.vbox{b,t},startfocus=t}:show()--Not necessary to use a
> string name?
> iup.MainLoop()
> Lua 5.3, iup 3.25, Win10 64bit.
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to