scrollView not disabled in

Hi all.

I have two questions.

I’m trying to disable scrolling when a overlay scene is shown (pause menu), but scrollView.verticalScrollDisabled = true not work. How can i do it? In widget 1 scrollView.isLocked = true work fine.

This is my code

function scene:createScene( event )

scroller = widget.newScrollView{

 left = 0,

 top = (sceneDO.topBorder.y + sceneDO.topBorder.height),

 width = 315*_pt,

height = (_H - sceneDO.topBorder.y ),

scrollWidth = 0,

scrollHeight = 0,

maskFile=“mask-320x350”…_imageSFX…".png",

horizontalScrollDisabled = true,   

verticalScrollDisabled = false,

hideBackground = true,

scrollBarColor = { 236, 160, 32 },

listener = scrollViewListener

}

         screenGroup:insert( scroller )

end

function scene:overlayBegan( event )
 
         scroller.verticalScrollDisabled = true – not work

end

function scene:overlayEnded( event )
 
         scroller.verticalScrollDisabled = false-- not work
end

  1. How to do that scrollBar that would not disappear from the screen when scrollView not move.

Thanks.

Sorry for my bad english.

  1. scroller._view._isVerticalScrollingDisable = true    – works fine !!
  1. scroller._view._isVerticalScrollingDisable = true    – works fine !!