« Return to Thread: setText in VerifyEvent

Re: setText in VerifyEvent

by Steve Northover :: Rate this Message:

Reply to Author | View in Thread


Try arg0.text = "blah blah" instead.



"sniezna.stopa" <lizur@...>
Sent by: platform-swt-dev-bounces@...

06/21/2008 10:50 AM
Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@...>

To
platform-swt-dev@...
cc
Subject
[platform-swt-dev] setText in VerifyEvent






Why this dont work?

              text = new Text(parent, SWT.LEFT);
                                 text.addVerifyListener(new VerifyListener()
                                 {
                                                  @Override
                                                  public void verifyText(VerifyEvent arg0)
                                                  {
                                                                   text.setText("blah blah");
                                                  }
                                 });
--
View this message in context: http://www.nabble.com/setText-in-VerifyEvent-tp18029433p18029433.html
Sent from the Eclipse Platform - swt mailing list archive at Nabble.com.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@...
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@...
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

 « Return to Thread: setText in VerifyEvent