03-26-2010 09:19 AM
Hello,
I have a class that extends MainScreen. This screen contains a HorizontalFieldManager with a nested VerticalFieldManager. The VerticalFieldManager is set to scroll. I want to make the VerticalFieldManager scrollable to the point where the VerticalFieldManager is the ONLY thing that scrolls. Currently, the whole screen will scroll.
I was able to do this successfully by extending "PopupScreen" instead of "MainScreen" and specifying in the constructor:
super(new VerticalFieldManager(NO_VERTICAL_SCROLL | NO_VERTICAL_SCROLLBAR),Field.FOCUSABLE);
This is no good for, however, because I need to use the setStatus() method, which I believe is only accessible by extending MainScreen.
Is there anyway that I can achieve this while extending MainScreen and having access to setStatus()?
Thanks!
Solved! Go to Solution.
03-26-2010 11:40 AM
Solved with super(NO_VERTICAL_SCROLL);