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 Developer
perlwhite
Posts: 122
Registered: ‎07-28-2009
My Device: Not Specified

Re: Only 108 choices displying on Storm out of 164

ok already provided...thank u for the code...i will have a look into it...Thanku very much for help.....

Please use plain text.
Developer
dhanashreerao
Posts: 51
Registered: ‎08-25-2008
My Device: Not Specified

Re: Only 108 choices displying on Storm out of 164

U most welcome.

 

As per my knowledge and forum searches, we can not customize the choices which pop up after clicking on objectChoiceField like dropdowns.Rest of the things can be customized as provided in code.

Please use plain text.
New Developer
perlwhite
Posts: 122
Registered: ‎07-28-2009
My Device: Not Specified

Re: Only 108 choices displying on Storm out of 164

Hi you have customised the ObjectChoiceField and used the CustomComboBox(final String[] listValues, final int width)
while calling CustomComboBox() first paramneter is the String array what about the second parameter what is the value of width i should be sending...
Please use plain text.
Developer
dhanashreerao
Posts: 51
Registered: ‎08-25-2008
My Device: Not Specified

Re: Only 108 choices displying on Storm out of 164

Width of the Field.

Please use plain text.
New Developer
perlwhite
Posts: 122
Registered: ‎07-28-2009
My Device: Not Specified

Re: Only 108 choices displying on Storm out of 164

dint get you can u be more clear regarding the Widht of the Field...which field u mean .....

 

String Choices[] = {"HelloWorld",
                         "BlackBerry Programming ",
                         "Programming in JDE"
                       };

 

 

CustomComboBox ccb = new CustomComboBox(Choices,?

Please use plain text.
Developer
dhanashreerao
Posts: 51
Registered: ‎08-25-2008
My Device: Not Specified

Re: Only 108 choices displying on Storm out of 164

Pixelwise width of the component. Just try after giving values 100 or 200. You will get a clear idea.

Please use plain text.