Questions tagged [blackberry-editfield]

An editable simple text field with no formatting.

49 questions
0
votes
2 answers

Blackberry custom EditField - handle focus

Something is driving me crazy on BlackBerry dev. I have a custom EditField. Here is the code: private EditField m_Txt=new EditField(EditField.FOCUSABLE | EditField.FILTER_DEFAULT) { protected void…
Vincent
  • 1,013
  • 14
  • 33
0
votes
2 answers

Blackberry EditField - height changing not effective

What I try to do is to simply change the height of an EditField. This sounds pretty easy but I facing a problem that drives me crazy. Here is my code: public class CMainManager extends HorizontalFieldManager { EditField mtxt=new…
Vincent
  • 1,013
  • 14
  • 33
0
votes
1 answer

Hooking Into Delete Key for EditField Set to FILTER_REAL_NUMERIC

I am trying to get the delete key remove characters like a typical backspace key. MyEditField is a subclass of EditField, and the stock EditField contains three methods, protected int backspace( int count, int context ), public int backspace( int…
Mike D
  • 4,938
  • 6
  • 43
  • 99
0
votes
2 answers

Borders Around EditFields - Blackberry

I am trying to draw a border around two text boxes, which works if I leave background colour of the main screen alone. The client's spec's call for a colour scheme with a blue background. When the EditFields are drawn to the screen, they appear as…
Mike D
  • 4,938
  • 6
  • 43
  • 99
0
votes
1 answer

Custom editfield not displaying all typed text

Below class is a textbox field. Can this be modified so that when the textbox is filled with text and user keeps type the text then scrolls ? Whats happening now is that once the textbox is filled with text any subsequent text that is typed is not…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
2 answers

Adding Editfield to Popup screen

I have created my own custom popup screen to which now I am trying to add a editfield , everything seems to be fine but the problem is that I am not able to write anything in the edit field class sveetIt extends PopupScreen implements…
Vivek Giri
  • 465
  • 1
  • 6
  • 21
0
votes
1 answer

How to set onKeyEnter event for editField in blackberry?

How to set onKeyEnter event for EditField. I have two EditFieldin my current screen. But i have to set event only one EditField .How can I set that?. I have Button field and list field in the same screen. I can able to set click even for both button…
Lakshmanan
  • 1,671
  • 2
  • 26
  • 42
0
votes
1 answer

How can I know the line number of editfield of blackberry

I would like to know the line number in EditField while I am typing some text in this component.
Mojiiz
  • 7,898
  • 6
  • 26
  • 25
0
votes
1 answer

How to animate basiceditfield in blackberry?

In my j2me blackberry application, I want to open editfield to enter text when user clicks on search icon. I have search icon added at the top right corner, when user clicks on it, I want to open basiceditfield with animating from right to left. I…
Mihir Shah
  • 1,799
  • 3
  • 29
  • 49
0
votes
1 answer

BlackBerry - line not showing

I am having a problem with EditField. I have created an EditField using this code under a "HorizontalFieldManager". EditField nameEditLabel = new EditField (EditField.FOCUSABLE | EditField.NO_NEWLINE |…
Getsy
  • 4,887
  • 16
  • 78
  • 139
0
votes
1 answer

Virtual keyboard is hiding the part of the edit Field in BlackBerry

I have a Labelfield, EditField and a Button which are centered align vertically. This three fields i have added in a Verticalfield manager which is then added to a Horizontal Field Manager. And finally the HFM is added to another VFM. Now in the…
Arindam Mukherjee
  • 2,255
  • 11
  • 48
  • 83
0
votes
2 answers

How to create EditField Which accept only text in Blackberry?

How to make EditField which accept only alphabets and it should not accept any Numeric,any special character in blackberry.ie) that editfield should accept only alphabetic character.
Kumar
  • 5,469
  • 20
  • 64
  • 87
0
votes
0 answers

EditField issue in BlackBerry device

I am using EditField in my application. The EditField is editable while using virtual keyboard but it requires long press to edit with quetry keypad. I tried all possible way which I can but didn't find what is causing the problem. I am testing it…
0
votes
1 answer

Remove highlighting box from edit field

I am using edit field to enter some text. When I click on edit field, one Highlighting box is showing as in image. I want to hide that box. Please catch the problem using below image: How to remove this focused box in edit field??
AnkitRox
  • 534
  • 1
  • 6
  • 16
0
votes
1 answer

Side By Side Edit Fields

can someone please let me know why I cannot place 2 EditFields side by side with the following code? I can place 3 buttons side by side, but for some reason I cannot get the EditFields to work for me. Any help will be appreciated. …