Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clear button

 
Swadesh Bera
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any body help me? How I rise an event on clear button press on a Form. I use high level gui.. So I can't able to take any action when user press the CLEAR button. Please help me if any one know this.. as soon as possible. It is urgent.

Regards
Swadesh
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Clear would be a Command object, and you just set the CommandListener to the Midlet, and add the CommandListener method and check to see if the Command sent there is the same Command and if it is, then do some code.

Mark
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!