Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » List.select() wonŽt launch widgetSelected!
List.select() wonŽt launch widgetSelected! [message #436826] Tue, 25 May 2004 14:07 Go to next message
Eclipse UserFriend
Originally posted by: purjo76.luukku.com

HI!

I have added a selection listener to my List. If I programmatically select
some line from the list by method List.select(), that event wonŽt be
launched anyway! ShouldnŽt it be?? Is there any way to launch that event
programmatically, or should I listen for some other events??
Re: List.select() won [message #436837 is a reply to message #436826] Tue, 25 May 2004 16:45 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Programmatically selecting within a widget does not send SWT.Selection.
This is by design and cannot be changed. Just call the code that you would
have called after the call to setSelection() or call with
Control.notifyListeners() but be aware that the latter does not cause the
event to happen in the operating system (it just calls the listeners).

"Purjo" <purjo76@luukku.com> wrote in message
news:c8vjub$e10$1@eclipse.org...
> HI!
>
> I have added a selection listener to my List. If I programmatically select
> some line from the list by method List.select(), that event won
Previous Topic:Viewform Border in 3.0M9
Next Topic:browser widget between Linux and Windows
Goto Forum:
  


Current Time: Thu Apr 25 11:52:12 GMT 2024

Powered by FUDForum. Page generated in 0.02912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top