Questions tagged [horizontalfieldmanager]
26 questions
2
votes
3 answers
labelField.getWidth() returns 0? Why does this happen?
I'm working on my own custom manager, and I've gotten it complete so far, but it setsMargins using a percentage of the screen resolution.
Here's how I call the following class:
LabelIconCommandManager licm3 = new LabelIconCommandManager("Address…

shecodesthings
- 1,218
- 2
- 15
- 33
2
votes
1 answer
How i scroll multiple label Fields in blackberry 4.5
Hi friend's i want to show couple of data in blackberry screen through use of multiple label Field .But when i use multiple label field it's not scroll vertically and horizontally so please help me to solve this problem.
Here is my code
public…

user1456442
- 41
- 3
1
vote
3 answers
BlackBerry Field Alignment
I am using HorizontalFieldManager with Field.USE_ALL_WIDTH and Field.FIELD_HCENTER but Field.FIELD_HCENTER is not working below is how I am constructing HorizontalFieldManager
HorizontalFieldManager horizontalContainer = new…

Prince Charming
- 401
- 4
- 19
1
vote
1 answer
Swap Gridfieldmanager on button click
I have an application that I am building for blackberry OS 6.
I have a screen made of a Gridfieldmanager and a Horizontalfieldmanager. The Horizontalfieldmanager contains 4 image buttons along the bottom, when these are clicked I want to basically…

Brian G
- 53,704
- 58
- 125
- 140
1
vote
2 answers
BlackBerry HorizontalFieldManager with two Buttons on Opposite Sides
I have a HorizontalFieldManager with two buttons inside it. The buttons need to be placed on the far left and the far right of the screen, respectively. I know HorizontalFieldManager only puts them left-to-right, so i have to extend them.
Here is…

Orca
- 2,035
- 4
- 24
- 39
1
vote
0 answers
BlackBerry layout: HorizontalFieldMahager with 3 items (Including an EditField)
I'm having a hard time working with the BlackBerry UI API.
What I want to do is creating a "list item" based on a HorizontalFieldManager that consists of the following childFields:
An optional BitmapField (Horizontal-Left, Vertical-Center)
A…

Dirk
- 427
- 1
- 6
- 16
1
vote
1 answer
How to align a Text field and a button field in hfm in blackberry
I want to add a TextField and a ButtonField to a HorizontalFieldManager. Now, I am using the following code
HorizontalFieldManager hfmFieldManager = new HorizontalFieldManager(NO_VERTICAL_SCROLL | NO_HORIZONTAL_SCROLL |…

Asha Soman
- 1,846
- 1
- 18
- 28
1
vote
2 answers
Given two label fields inside an HorizontalFieldManager, how should I do to display the full text from second label without wrapping it?
I have an HorizontalFieldManager with two labels inside.
The left label shows a description, and the right one shows
a money amount.
For me, it's more important to show the full text of the
second label. Problem is that if the first label is too…

Lucas
- 1,239
- 4
- 15
- 26
1
vote
4 answers
ButtonField doesn't appear in HorizontalFieldManager
I have added a buttonField into a HorizontalFieldManager in Blackberry app. I added it after adding an EditField. Yet the buttonField doesnt appear.
Below is my code
HorizontalFieldManager hfm = new HorizontlFieldManager();
BasicEditField edit…

M Rijalul Kahfi
- 1,460
- 3
- 22
- 42
1
vote
0 answers
Regarding Focus in Customised Button added to vfm
I have created a class which has 10 customised Buttons which are added to VFM ..
But when i go from 1st button to another its disappears and when i go on the last button it reappears
When i am on the 1st button and press two times the Up button…

Yatin
- 2,969
- 9
- 34
- 68
0
votes
2 answers
Blackberry prob with FIELD_BOTTOM in HorizontalFieldManager
I an trying to implement a screen like below:
For that, I am using following code. It is not working at all.
HorizontalFieldManager outerManager = new HorizontalFieldManager(FIELD_BOTTOM|USE_ALL_HEIGHT);
…

dev_android
- 8,698
- 22
- 91
- 148
0
votes
1 answer
BlackBerry - statusbar overlapping screen
I have defined a status bar in my BlackBerry app as a HorizontalFileManager containing 2 buttons, but when the bar is displayed, it overlaps the bottom part of the screen. If I drag the screen, I can read the information on the bottom, but as soon…

G B
- 2,951
- 2
- 28
- 50
0
votes
2 answers
Adjust BitmapFields Width in HorizontalFieldManager according device width
I am new in BB development,
Please suggest me how i can adjust BitmapFields Width which are in HorizontalFieldManager
to adjust it in Device width.
I am overriding Sublayout method to get this
Now it look like this....I am getting expected o/p for…

iAmitWagh
- 453
- 2
- 13
0
votes
2 answers
how to add checkbox, labelField to HorizontalFieldManager
I wrote a simple program that adds two edit fields to the field manager:
HorizontalFieldManager hrfm = new HorizontalFieldManager(Manager.HORIZONTAL_SCROLL);
EditField editField1 = new EditField();
…

Pramod
- 1,411
- 11
- 35
- 66
0
votes
3 answers
illegalStateException while adding horizontal field managers within vertical field manager
I have one query.i am creating 3 horizontal managers inside the vertical field manager.
while compiling my code i am getting IllegalStatException.i am doing this.
VerticalFieldmanager vfm = new VerticalFieldManager();
HorizontalFieldManager hfm1 =…

Sagar
- 451
- 1
- 3
- 13