|Re: Why are SWT.SHIFT and SWT.RIGHT detected as duplicated in switch-case loop. [message #448148 is a reply to message #448086]
||Mon, 03 January 2005 18:28
Originally posted by: richkulp.us.NO_SPAM.ibm.com|
Because they are for two different purposes, so they can have the same
value. RIGHT is an Alignment style, while SHIFT is a key-code event mask
flag. They would never be seen at the same time, so they can be the same
Daniel Spiewak wrote:
> The values of SWT.SHIFT and SWT.RIGHT must be the same. To check this,
> do a System.out.println(int) on both values
> strus wrote:
>> All is in the title....
>> I don't know if it is an editor bug or a SWT one ... or not a bug but
>> a feature !!
Powered by FUDForum
. Page generated in 0.02327 seconds