02-28-2011 02:18 AM
can u help me to scroll data vertically.
actually i got all 10 data,.but see only first 5 data, so can u tell me how i can see other five data.
i think scrollbar is proper for it ,but i dont know that ,where it add.
02-28-2011 07:16 AM
Either your Screen or your VerticalFieldManager needs VERTICAL_SCROLL | VERTICAL_SCROLLBAR style bits in the constructor.
03-31-2011 10:05 AM
first of all, it's not a good idea posting in solved threads. The chances of someone looking there are quite slim.
Second - you already have that sample code - I showed it in the solution post. Go there and see - there's not much to it. Ignore the adding of HorizontalFieldManagers and concentrate on the 'new VerticalFieldManager' line.
05-29-2011 04:07 AM
I am able to add different HFm to a VFM using a for loop. No problem that will work perfectly. My problem is that I want to align the fields added in HFm. So I m overriding the sublayout method and setpositionchild in that. After this only first hfm is displayed on my VFM. I checked the loop, and it is showing that they are adding perfectly. But not displaying in the screen. Please help me