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
PIN: N/A
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?
Offline  
Old 11-19-2009, 08:46 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

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.

Offline  




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