03-06-2009 11:54 PM
I need a VerticalFieldManager that occupies the left half of the screen. I thought that I could simply create an instance of VerticalFieldManager and then call its setExtent(int width, int height) to set its size. Unfortunately, setExtent is a protected function and can only be called from derived class. So that brings up two questions:
1. Do I need to create a customized layout manager for such a simple matter? All I need is a VerticalFieldManager only that it manages left half of the screen instead of the whole screen.
2. Why is setExtent a protected method? Wouldn't it be more convenient to make it a public method? There must be some reason behind...
Solved! Go to Solution.
03-07-2009 01:29 AM
04-17-2009 11:59 AM
1) override the VFM, override sublayout() and call setExtent()
2) override sublayout() in the manager holding the VFM and call layoutChild()
How do you do these things? I know how to make a whole new custom manager, but is there some simple way to just overide the protected method? I would like to create verticalfieldmanagers of a field width...
The built in class verticalfieldmanager is fine, except i want a fixed width...
04-18-2009 01:30 AM
Check this link it will help you out in resolving your issue.
Search this link with CustomLayoutManager
Have a look at this link also
Please let me know if this information helped you or not.