this what i have done so far but with my zerobrane text editor there sems to be a problem with my widget any help will be greatly appreciated
local widget= require(“widget”)
local function handleButtonEvent(event)
local phase = event.phase
if “ended”==phase then
print (“LOGIN PAGE”)
else
print(“NEXT PAGE”)
end
end
local signinbutton = widget.newButton
{
left= 150,
down= 200,
width= 350,
height= 150,
defaultFile=“default.png”,
overFile=“over.png”,
label = “SIGNIN”,
onEvent = handleButtonEvent,
}
local signupbutton=widget.newButton
{
right=150,
down=200,
width=300,
height=150,
defaultFile=“default.png”,
overFile=“over.png”,
label=“SIGNUP”,
onEvent=handleButtonEvent,
}