Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hi frnds,

I am trying to create a button.Now I want to click on the button and go to another page.could u please give the solution for this .

Advanced thanks
Prem G

Hi,
I'll look into this for you.
Thanks,
Karina

Hi,
I'll look into this for you.
Thanks,
Karina

I success of handling touch event in simulator with TrigML and Lua.
Create button element in TrigML with onactivate handler

You need to add Lua script for handling activate event.
myaction = {}
function myaction.pressOptions()
ui.log("Info: U cant touch this.")
ui.load("layerPopup", "trigml/options")
end
BTW, I failed only TrigML solution, of handling _pointerup event.
Does anyone know why?

I success of handling touch event in simulator with TrigML and Lua.
Create button element in TrigML with onactivate handler

You need to add Lua script for handling activate event.
myaction = {}
function myaction.pressOptions()
ui.log("Info: U cant touch this.")
ui.load("layerPopup", "trigml/options")
end
BTW, I failed only TrigML solution, of handling _pointerup event.
Does anyone know why?

You also need to Enable touchscreen support on AppCreator.
From AppCreator, Edit -> Properties -> General -> check Enable touchscreen support.

You also need to Enable touchscreen support on AppCreator.
From AppCreator, Edit -> Properties -> General -> check Enable touchscreen support.