09-24-2009 05:42 AM
Hi All
i am creating a application in i want to use textfield that must be look like java swing textfield
in blackberry border is not shown
so how can i use it?
Solved! Go to Solution.
09-24-2009 05:49 AM
maybe try this?
This allowed me to create a field that looked like a text box.
09-24-2009 06:00 AM
Like below code snip, create border for TextField
TextField ff = new BasicEditField();
{
public void paint(Graphics g){
g.drawRect(0, 0, getWidth(), getHeight());
super.paint(g);
}
};
09-24-2009 06:39 AM
Thanx for reply
but one problem is coming more is that two fields are not coming in the same rows
i am creating email addredd = textfield
but email is coming in above the text field
how can i solve this?
09-24-2009 06:56 AM
Use HorizontalFieldManager and add your textfield to this manager.
then add your manager to screen.