Hey Hi Friends, I have created one application where in one text field i am getting input from user as id and according to id i am displaying the inform开发者_JAVA技巧ation. At run time i am adding another text fields but suppose user inserting wrong id then i want remove all text fields from Form. it is possible to remove text fields which added previously.
I am not sure what you are trying to achieve here but Form.delete(int itemNum) and Form.deleteAll() will allow you to delete Items that have been added to a Form.
See Form documentation.
精彩评论