How to set verticalscrollposition of canvas
hi all,
m using viewstack component in application .. m
embedding ten canvas components inside viewstack. on tab click
event,i change corresponding stack index display.inside
each canvas component,i m embedding grid using customcomp.
here,when vertical size of page exceeds mentioned height,vertical
scroll bar displayed on own.fine,but need move vertical
scrollbar's position top whenever page displayed.
i tried following code:
mycanvas1.verticalscrollposition=0;
this working fine,but vertical scroll bar breaking two.
when try drag that,its getting merged , displaying
normal one.
but why breaking 2 parts?
does has idea this?
m using viewstack component in application .. m
embedding ten canvas components inside viewstack. on tab click
event,i change corresponding stack index display.inside
each canvas component,i m embedding grid using customcomp.
here,when vertical size of page exceeds mentioned height,vertical
scroll bar displayed on own.fine,but need move vertical
scrollbar's position top whenever page displayed.
i tried following code:
mycanvas1.verticalscrollposition=0;
this working fine,but vertical scroll bar breaking two.
when try drag that,its getting merged , displaying
normal one.
but why breaking 2 parts?
does has idea this?
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment