• Post Reply Bookmark Topic Watch Topic
  • New Topic

How To Use TextField As Button

 
Kartik Raina
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am relatively new Java ME. I was first trying to use StringItem as a Button, in which i was successful. I also found that while initializing a TextField the is an attribute for using TextField as a button (TextField.BUTTON). But it doesn't work as a button. It works just like any TextField would. Can any one please help me out.
 
Tim Holloway
Bartender
Posts: 18469
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wait a minute. You're expecting a Text Input control to act like a pushbutton? How do you reconcile with making it act like a Text Input control? Especially since the way you select a Text Input control for text input is to "click" on it.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. 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!