View Single Post
Old 05-16-2019, 07:44 PM   #28
Human being with feelings
woodslanding's Avatar
Join Date: Mar 2007
Location: Denver, CO
Posts: 391

I'm on to a new problem... I think the constructor was choking because IButton was local. But now it's choking 2 lines later:

-- Create a new element class
GUI.IButton = GUI.Element:new()
GUI.IButton = IButton
IButton.__index = IButton --attempt to index a nil value

I really have no clue how the constructor works, so I have no idea what might be wrong here...

PS sorry about so many pm's. I really thought they weren't sending.
eric moon
Very Stable Genius
woodslanding is offline   Reply With Quote