I’m trying to make use of the tab bar sample code.
I need to add buttons, etc. but have not figured out the how yet. I was able to change background and add text box but am having trouble adding a button as per code below. Any help greatly appreciated.
Thanks in advance
[code]
loginButton = ui.newButton{
default = “smallButton.png”,
over = “smallButtonOver.png”,
onPress = onLogin,
text = “SIGN IN”,
font = “Helvetica-Bold”,
size = 13,
textColor = { 225, 225, 225, 255 },
emboss = true,
}
loginButton.x = 162
loginButton.y = 150
[/code] [import]uid: 6547 topic_id: 6815 reply_id: 306815[/import]