BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-05-2009, 04:22 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: Telus
Posts: 107
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Focus VerticalFieldManager

Please Login to Remove!

Hello Everyone

Does anyone know how to make a VerticalFieldManger focusable?

I tried,

VerticalFieldManager.FOCUSABLE|VertricalFieldManga ger.HIGHLIGHT_FOCUS

and

Manager.FOCUSABLE|Mangager.HIGHLIGHT_FOCUS.

Did not work.

Thanks
Offline  
Old 06-08-2009, 06:34 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

A vertical field manager manages fields... it's the fields it manages that get and lose focus.

From the javadoc:

setFocus()

Sets the focus to this field.

This method removes the focus from the field that currently has it (if any) and moves it to this field. The screen performs any necessary scrolling to ensure the new focus region is visible.

If this field is a manager, this method gives the focus to this mangaer's first field.

If this field already has the focus, invoking this method has no effect.

Last edited by hippocamp software : 06-08-2009 at 06:36 AM.
Offline  
Old 07-14-2009, 08:27 AM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Model: none
PIN: N/A
Carrier: none
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could extend VerticalFieldManger and add a focusable NullField to it. Then you could track the NullField focus and draw a background for VerticalFieldManger on focus.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.