LDCad 1.6a GUI from LUA


RE: LDCad 1.6a GUI from LUA
#2
(2018-03-12, 8:25)Jarema Wrote: IThe question is:
  1. How create multiple-choice dialog box ?
  2. Did LCad have included IupLua or other support for build interface inside LUA script ?
  3. Can I build dialog window, as show on the picture:
1: Yes but only very simple ones. runChoice takes a caption and a string table as parameters. The string table are the possible choices. It returns the index of the selected item (starting with 1). 0 will be returned upon cancel.
2: I'm not familier with IUPLua, but I figure you can use it through require if there is a precompiled dll for it. Just be sure to get the on for Lua 5.3. And maybe one that has been made using mingw, not sure if that is needed though.
3: Not unless you use a 3rd party library.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDCad 1.6a GUI from LUA - by Jarema - 2018-03-12, 8:25
RE: LDCad 1.6a GUI from LUA - by Roland Melkert - 2018-03-12, 18:43
RE: LDCad 1.6a GUI from LUA - by Jarema - 2018-03-13, 18:20
RE: LDCad 1.6a GUI from LUA - by Jarema - 2018-03-24, 7:55

Forum Jump:


Users browsing this thread: 1 Guest(s)