Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[CDateTime] No Selection Events?
https://www.eclipse.org/forums/index.php/mv/msg/140437/442693/#msg_442693
I'm setting the selection via CDateTime#setSelection(Date)
I've registered a selection listener to get notified if the user or any
other code sets the date, but the Widget does only throw SelectionEvents
if the date was changed within the widget. I think this is a bug IMHO
since it must be possible to get such types of events also if any other
code sets the selection. Hints?
Cheerz
Tom]]>Tom Seidel2009-07-31T13:22:48-00:00Re: [CDateTime] No Selection Events?
https://www.eclipse.org/forums/index.php/mv/msg/140437/595825/#msg_595825
This is a common rule in SWT : if you change a widget's property within your code, no even will be thrown. This was made to prevent dead locks and unnecessary events.
You should get the same behavior with every SWT widget.
--
Nicolas]]>Nicolas Richeton2009-08-04T14:53:49-00:00Re: [CDateTime] No Selection Events?
https://www.eclipse.org/forums/index.php/mv/msg/140437/468211/#msg_468211
This is a common rule in SWT : if you change a widget's property within your code, no even will be thrown. This was made to prevent dead locks and unnecessary events.
You should get the same behavior with every SWT widget.
--
Nicolas]]>Nicolas Richeton2009-08-04T14:53:49-00:00