Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » a check button in scrolledComposite
a check button in scrolledComposite [message #633007] Fri, 15 October 2010 03:44 Go to next message
roy  is currently offline roy Friend
Messages: 13
Registered: July 2010
Junior Member
Hi All:
There is a check button in the scrolledComposite, when the mouse cursor
hover over this button , I can not scroll the composite use the wheel,
who can give me some advice ?
Re: a check button in scrolledComposite [message #633109 is a reply to message #633007] Fri, 15 October 2010 11:53 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Roy,
I can't reproduce it with current CVS HEAD (1.4M2). Which version of RAP
are you using?
Best,
Ivan

On 10/15/2010 6:44 AM, Roy Xiao wrote:
> Hi All:
> There is a check button in the scrolledComposite, when the mouse cursor
> hover over this button , I can not scroll the composite use the wheel,
> who can give me some advice ?
Re: a check button in scrolledComposite [message #633460 is a reply to message #633109] Mon, 18 October 2010 06:24 Go to previous messageGo to next message
roy  is currently offline roy Friend
Messages: 13
Registered: July 2010
Junior Member
Hi Ivan:

Thanks for your repeat! I have test this problem with RAP1.4M2, and the
problem still exist!
Here is my test code:


public void createPartControl(Composite parent) {
ScrolledForm form = new ScrolledForm(parent);
Composite bodyComp = form.getBody();
bodyComp.setLayout(new GridLayout());
bodyComp.setLayoutData(new GridData(GridData.FILL_BOTH));
Composite composite = new Composite(bodyComp, SWT.NONE);
composite.setLayout(new GridLayout());
composite.setLayoutData(new GridData(GridData.FILL_BOTH));

for(int i = 0; i < 30; i++) {
Composite temp = new Composite(composite, SWT.NONE);
temp.setLayout(new GridLayout(4, false));
temp.setLayoutData(new GridData(GridData.FILL_BOTH));
for(int j = 0; j < 4; j++) {
Button btn = new Button(temp, SWT.RADIO);
btn.setText(j + "-" + i);
btn.pack();
}
}

}



Best Regards!
Roy


于 10/15/2010 07:53 PM, Ivan Furnadjiev 写道:
> Hi Roy,
> I can't reproduce it with current CVS HEAD (1.4M2). Which version of RAP
> are you using?
> Best,
> Ivan
>
> On 10/15/2010 6:44 AM, Roy Xiao wrote:
>> Hi All:
>> There is a check button in the scrolledComposite, when the mouse cursor
>> hover over this button , I can not scroll the composite use the wheel,
>> who can give me some advice ?
Re: a check button in scrolledComposite [message #633477 is a reply to message #633460] Mon, 18 October 2010 07:28 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Roy,
yes... I can confirm this, but only with radio buttons. Scrolling works
fine with check and toggle buttons. Please file a bugzilla with this
snippet attached to keep track on this issue.
Thanks,
Ivan

On 10/18/2010 9:24 AM, Roy Xiao wrote:
> Hi Ivan:
>
> Thanks for your repeat! I have test this problem with RAP1.4M2,
> and the problem still exist!
> Here is my test code:
>
>
> public void createPartControl(Composite parent) {
> ScrolledForm form = new ScrolledForm(parent);
> Composite bodyComp = form.getBody();
> bodyComp.setLayout(new GridLayout());
> bodyComp.setLayoutData(new GridData(GridData.FILL_BOTH));
> Composite composite = new Composite(bodyComp, SWT.NONE);
> composite.setLayout(new GridLayout());
> composite.setLayoutData(new GridData(GridData.FILL_BOTH));
>
> for(int i = 0; i < 30; i++) {
> Composite temp = new Composite(composite, SWT.NONE);
> temp.setLayout(new GridLayout(4, false));
> temp.setLayoutData(new GridData(GridData.FILL_BOTH));
> for(int j = 0; j < 4; j++) {
> Button btn = new Button(temp, SWT.RADIO);
> btn.setText(j + "-" + i);
> btn.pack();
> }
> }
>
> }
>
>
>
> Best Regards!
> Roy
>
>
> 于 10/15/2010 07:53 PM, Ivan Furnadjiev 写道:
>> Hi Roy,
>> I can't reproduce it with current CVS HEAD (1.4M2). Which version of RAP
>> are you using?
>> Best,
>> Ivan
>>
>> On 10/15/2010 6:44 AM, Roy Xiao wrote:
>>> Hi All:
>>> There is a check button in the scrolledComposite, when the mouse cursor
>>> hover over this button , I can not scroll the composite use the wheel,
>>> who can give me some advice ?
>
Re: a check button in scrolledComposite [message #633488 is a reply to message #633460] Mon, 18 October 2010 08:05 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
I've just opened a bug:
328013: [Button] Radio buttons stop the propagation of mouse wheel event
https://bugs.eclipse.org/bugs/show_bug.cgi?id=328013

On 10/18/2010 9:24 AM, Roy Xiao wrote:
> Hi Ivan:
>
> Thanks for your repeat! I have test this problem with RAP1.4M2,
> and the problem still exist!
> Here is my test code:
>
>
> public void createPartControl(Composite parent) {
> ScrolledForm form = new ScrolledForm(parent);
> Composite bodyComp = form.getBody();
> bodyComp.setLayout(new GridLayout());
> bodyComp.setLayoutData(new GridData(GridData.FILL_BOTH));
> Composite composite = new Composite(bodyComp, SWT.NONE);
> composite.setLayout(new GridLayout());
> composite.setLayoutData(new GridData(GridData.FILL_BOTH));
>
> for(int i = 0; i < 30; i++) {
> Composite temp = new Composite(composite, SWT.NONE);
> temp.setLayout(new GridLayout(4, false));
> temp.setLayoutData(new GridData(GridData.FILL_BOTH));
> for(int j = 0; j < 4; j++) {
> Button btn = new Button(temp, SWT.RADIO);
> btn.setText(j + "-" + i);
> btn.pack();
> }
> }
>
> }
>
>
>
> Best Regards!
> Roy
>
>
> 于 10/15/2010 07:53 PM, Ivan Furnadjiev 写道:
>> Hi Roy,
>> I can't reproduce it with current CVS HEAD (1.4M2). Which version of RAP
>> are you using?
>> Best,
>> Ivan
>>
>> On 10/15/2010 6:44 AM, Roy Xiao wrote:
>>> Hi All:
>>> There is a check button in the scrolledComposite, when the mouse cursor
>>> hover over this button , I can not scroll the composite use the wheel,
>>> who can give me some advice ?
>
Re: a check button in scrolledComposite [message #633492 is a reply to message #633477] Mon, 18 October 2010 08:33 Go to previous message
roy  is currently offline roy Friend
Messages: 13
Registered: July 2010
Junior Member
Hi Ivan:

yes, only with radio buttons !
I am sorry for my clerical error!

Best Regards!
Roy

于 10/18/2010 03:28 PM, Ivan Furnadjiev 写道:
> Hi Roy,
> yes... I can confirm this, but only with radio buttons. Scrolling works
> fine with check and toggle buttons. Please file a bugzilla with this
> snippet attached to keep track on this issue.
> Thanks,
> Ivan
>
> On 10/18/2010 9:24 AM, Roy Xiao wrote:
>> Hi Ivan:
>>
>> Thanks for your repeat! I have test this problem with RAP1.4M2, and
>> the problem still exist!
>> Here is my test code:
>>
>>
>> public void createPartControl(Composite parent) {
>> ScrolledForm form = new ScrolledForm(parent);
>> Composite bodyComp = form.getBody();
>> bodyComp.setLayout(new GridLayout());
>> bodyComp.setLayoutData(new GridData(GridData.FILL_BOTH));
>> Composite composite = new Composite(bodyComp, SWT.NONE);
>> composite.setLayout(new GridLayout());
>> composite.setLayoutData(new GridData(GridData.FILL_BOTH));
>>
>> for(int i = 0; i < 30; i++) {
>> Composite temp = new Composite(composite, SWT.NONE);
>> temp.setLayout(new GridLayout(4, false));
>> temp.setLayoutData(new GridData(GridData.FILL_BOTH));
>> for(int j = 0; j < 4; j++) {
>> Button btn = new Button(temp, SWT.RADIO);
>> btn.setText(j + "-" + i);
>> btn.pack();
>> }
>> }
>>
>> }
>>
>>
>>
>> Best Regards!
>> Roy
>>
>>
>> 于 10/15/2010 07:53 PM, Ivan Furnadjiev 写道:
>>> Hi Roy,
>>> I can't reproduce it with current CVS HEAD (1.4M2). Which version of RAP
>>> are you using?
>>> Best,
>>> Ivan
>>>
>>> On 10/15/2010 6:44 AM, Roy Xiao wrote:
>>>> Hi All:
>>>> There is a check button in the scrolledComposite, when the mouse cursor
>>>> hover over this button , I can not scroll the composite use the wheel,
>>>> who can give me some advice ?
>>
Previous Topic:RAP 1.4 M2 & IPad
Next Topic:Using the dropins folder
Goto Forum:
  


Current Time: Fri Apr 19 14:52:54 GMT 2024

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

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

Back to the top