BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-16-2007, 07:40 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Aug 2007
Model: 8100
Carrier: cingular
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Custom Managers -- 2 Big Questions

Please Login to Remove!


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!

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.