开发者

How to remove Text field from Form in J2ME

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜