|Re: How to using Enter key on a text box [message #1006389 is a reply to message #1006312]
||Thu, 31 January 2013 08:34
|| Mickael Istria, away until January 8th
Registered: July 2009
Location: Grenoble, France
On 01/30/2013 08:04 PM, manali pattem wrote:|
> Hey Dirk,
> Yeah i tried that too.But it doesnt work.DO we need to add anything
> else for this to work??
> SWTBotText botText = bot.text("High-level qualifier:");
Have you read this: http://www.eclipse.org/forums/index.php/t/14207/ ?
pressShortcut won't work because it sends events simultaneously, whereas
the ENTER key usually sends 2 successive events.
Maybe botText.typeText(KeyStroke.getInstance(SWT.CR) + " " +
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Powered by FUDForum
. Page generated in 0.01317 seconds