BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-25-2008, 04:44 AM   #1
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default Customise display

Please Login to Remove!

Hi,

If I want to place my fields to specific place of the screen, what is the way to?

For example , if I want to specify a pixel coordinate.
Offline  
Old 09-25-2008, 09:14 AM   #2
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default

You have to subclass from a manager, then control the layout of the children. There is an example of that here.
Offline  
Old 09-26-2008, 11:00 AM   #3
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default

Hum I'm not sure to understand the kind of code you give there.

Could you explicit it a little more??
Offline  
Old 09-29-2008, 03:05 AM   #4
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default

No one can tell me how to place field where I want???
Offline  
Old 09-29-2008, 06:44 AM   #5
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

knowledge base: how to - create a custom layout manager
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 10-06-2008, 10:24 AM   #6
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default

In fact this link doesn't help me.

I try that but nothing appears.

Have I something special to make with myScreen??
Offline  
Old 10-06-2008, 11:18 AM   #7
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

Goulamass,

You either utilize one of the stock layout managers, which place the Fields according to their design (like HorizontalFieldManager or VerticalFieldManager, etc), or you utilize a combination of these, or you write your own custom layout manager.

Although you can place fields at a particular x-y position using your own layout manager, this would probably not be considered "best practice".

Perhaps if you explain what type of layout you are looking for, someone may be able to suggest a method of accomplishing your goal.
Offline  
Old 10-07-2008, 03:12 AM   #8
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default

Hum that is what I understood.

So I try to simply use a VerticalFieldManager.

But the setPositionChild seems to do not work
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Tektronix 7904 Oscilloscope Mainframe  w/ 2x 7A26 2x 7B92A Modules picture

Tektronix 7904 Oscilloscope Mainframe w/ 2x 7A26 2x 7B92A Modules

$399.97



Chroma 6312 DC Electronic Load Mainframe  picture

Chroma 6312 DC Electronic Load Mainframe

$239.96



JDSU HST-3000C Mainframe, HST-3000 SIM CU Copper Testing Module picture

JDSU HST-3000C Mainframe, HST-3000 SIM CU Copper Testing Module

$399.00



Fluke Networks Versiv Modular Mainframe AS IS picture

Fluke Networks Versiv Modular Mainframe AS IS

$1200.00



ILX Lightwave LDC3908 Laser Diode Controller Mainframe with Key picture

ILX Lightwave LDC3908 Laser Diode Controller Mainframe with Key

$480.00



Used National Instruments SCXI-1000 Mainframe 1200 1120 1160(2) 181445D-01 U2 picture

Used National Instruments SCXI-1000 Mainframe 1200 1120 1160(2) 181445D-01 U2

$299.95







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