The textfield is disabled and with text.
When I touch a button, the text field will be enabled for editing.
However, I would like the text file to be cleaned if enabled.
An obstacle is that I can not add another listener to the button.
Can anyone answer my question?
Many thanks!
You can add property listener and the "enabled" event
Field.addPropertyChangeListener ("enabled", listener); For this you do not have to roam the field ...
Comments
Post a Comment