1
Mach4 General Discussion / Lua ListBox
« on: June 11, 2017, 09:52:41 PM »
How do your code add items to a ListBox? Where do you find documentation as to these types of questions?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
inst = mc.mcGetInstance()
local profile = mc.mcProfileGetName(inst)
local path = mc.mcCntlGetMachDir(inst)
package.path = path .. "\\Profiles\\" .. profile .. "\\Modules\\?.lua;" .. path .. "\\Modules\\?.lua;"
package.loaded.yyy = nil
tou = require "yyy"
Tframe = tou.Dialog()
end