Page 1 of 1

How to create "TScrollBox" and "TRadioButton".

Posted: Mon May 14, 2018 12:21 am
by corroder
I just add this script to manipulating create scrollbox error (I think it can be same way for radio button) :



[CODE=lua]scrbox_script = [[

function createTScrollBox(Parent)

local box = createComponentClass('TScrollBox', Parent)

box.Parent = Parent

return box

end



]]





--- and add print here :





function CEForm2Lua(form, noPrint)

local vis = form.Visible

form.Visible = true

local s = getControlScript(form)

form.Visible = vis

if not noPrint then

print(scrbox_script)

print(s)

end

return s

end[/CODE]