BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 11-19-2009, 01:16 AM   #1 (permalink)
New Member
Join Date: Oct 2009
Model: 9000
Carrier: aircel
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I position a field on the screen exactly where I want?

Please Login to Remove!

Is there a way I can set the exact coordinates for the field on the screen?
Old 11-19-2009, 08:46 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

override subLayout() in your custom layout manager and set the position using the field's setChildPosition().

Although I hesitate to mention it (because it is completely unheard of to read the manual), there is an example of a customer layout in the Blackberry developers guide.


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