[Solved] Widget Buttons

Hi
I am thinking in using widget buttons, but i can use button.toFront(), why?

the error:
bad argument #-2 to 'toFront' (Proxy expected, got nil)

try

button.view.toFront()

Yeh the solution is button.view:toFront() Thanks :)

views:1668 update:2012/2/7 8:40:54
corona forums © 2003-2011