BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Custom Managers -- 2 Big Questions (http://www.blackberryforums.com/showthread.php?t=90779)

rock_win 08-16-2007 07:40 AM

Custom Managers -- 2 Big Questions
 
Hi

I'm making a Custom Manager while contains sub managers and those will contains fields.

I'm stuck at 2 questions?

1. if i make my subManager setExtent() to the actual width and height it requires, then for the next subManagers my extent needs to be reseized to bigger dimensions and if i make it setExtent to the whole big size, then my fields are not that much tight coupled as for my fields to be visible, they must be contained in the extent, and can be drawn anywhere on the screen ( as the extent now is from 0,0,FUll_width,full_height).Is there any way that i can imitate the functionality provided in J2SE pannels Grid layout, where analogically my main manager will contain sub managers that will also goven the contents in it.

2. Is it possible to set the whole Maanger to focus, because Manager inherits from the Field and has drawFocus() , but in my attempts, even if the manager is focusable, the drawFocus() doesnt gets called up.

Please help!


All times are GMT -5. The time now is 09:26 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.