• Post Reply Bookmark Topic Watch Topic
  • New Topic

Focus on Text at the opening of shell

 
Antonello Grimaldi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I have a shell that contains a Text widget. I would that at the opening of shell the Text widget is in focus, and the text inside the widget is allselected.
How can I do this? Method setFocus() do not work.
thanks....
Antonello
 
Rob Camick
Ranch Hand
Posts: 2699
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cross-posted
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
Antonello Grimaldi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I didn't know this rule...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!