please its urgent....topic about widget

hey

in my app, i have buttons and a white background…some buttons are offscreen…i’ve added scroll view…it works fine…but it gets scrolled only when i scroll it from white portion…when i scroll it from the buttons portion it doesnt get scrolled…

any solution…plz do answer…its urgent 

Try this in your buttons “moved” phase:

local dy = math.abs( ( event.y - event.yStart ) ) -- If the touch on the button has moved more than 10 pixels, -- pass focus back to the scroll view so it can continue scrolling if ( dy \> 10 ) then scrollView:takeFocus( event ) end return true

where to write this code…??? because i used widget.newButtons

Thanks mate. I solved that issue from corona labs website. :) 

Try this in your buttons “moved” phase:

local dy = math.abs( ( event.y - event.yStart ) ) -- If the touch on the button has moved more than 10 pixels, -- pass focus back to the scroll view so it can continue scrolling if ( dy \> 10 ) then scrollView:takeFocus( event ) end return true

where to write this code…??? because i used widget.newButtons

Thanks mate. I solved that issue from corona labs website. :)