Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
spykat
Posts: 2
Registered: ‎09-28-2012
My Device: Various
My Carrier: Various

How to set Position of a child field in a delegate Manger

Please I need  a sample of code of how to position child fields  in a delegate manager.

 

Tnx in advance

 

Please use plain text.
Developer
arkadyz
Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: How to set Position of a child field in a delegate Manger

delegateManager.setPositionChild(child, x, y) :smileyhappy:

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!
Please use plain text.
New Contributor
spykat
Posts: 2
Registered: ‎09-28-2012
My Device: Various
My Carrier: Various

Re: How to set Position of a child field in a delegate Manger

Yah... I am trying to implement a delegate manager for a screen . So in my sublayout() i first of all retrieved the index of the field I want to set the position and  invoked setPositionchild(Field , x ,y)..

 

Buh My screen vanishes at run time..Is there something I am doing wrong?

 

 

(NEWBIE)

 

Tnx!

Please use plain text.
Developer
simon_hain
Posts: 16,042
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: How to set Position of a child field in a delegate Manger

yes, a screen vanishing sounds like something is wrong.
do you get any debug output? something in the log (alt+lglg on the home screen)?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.