Hello Guest it is April 25, 2024, 12:23:55 AM

Show Posts

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.


Topics - kane17752

Pages: 1
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?


2
I created a simple screen in wxformBuilder and just trying to get it to open with a new button press I created in Mach4.  I modified the code in the touch button script as follows:


   
Code: [Select]


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

I have attached the wxFormbuilder lua code file.  Just cannot figure out what I am doing wrong.  the yyy.lua file is in the modules folder.  Do I need the compiled file there also?

Any assistance would be appreciated.   

3
Mach4 General Discussion / Modify Touch Screen
« on: June 03, 2017, 09:14:04 PM »
I have a desire to modify the existing touch screen for 2 more text inputs and then modify the existing script to utilize the new information.

Not getting into details of what I want to do, but how to I edit the Touch Screen, much like the Main screen?


Pages: 1