• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT Canvas.scroll() removing invisible controls  RSS feed

 
anil sehgal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I observed that while scrolling with scrollbars SWT Canvas removes the control which is not in the visible area.




Is there a way to preserve the controls on canvas which are not in the visible area?

Please let me know if more information is required.

Thanks,
Anil

org.eclipse.swt.widgets.Canvas
 
anil sehgal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please reply.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you search this forum for SWT topics you'll find most remain unanswered.

you're probably better off finding an SWT forum at the eclipse site.
 
anil sehgal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. Thanks
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid Michael is right. Most SWT developers go to the direct source - Eclipse.
 
anil sehgal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No issues, for the record, The solution is to use a Composite of greater size ( than parent ) inside a ScrolledComposite.

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!