开发者

How to remove Text field from Form in J2ME

开发者 https://www.devze.com 2023-03-08 09:52 出处:网络
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 an

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

精彩评论

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

关注公众号