Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Swing / AWT / SWT
SWT Canvas.scroll() removing invisible controls
anil sehgal
Greenhorn
Posts: 9
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I observed that while scrolling with scrollbars SWT Canvas removes the control which is not in the visible area.
//horizontal scroll canvas.scroll(calculatedDistanceX , 0, 0, 0, screen.getSize().x,screen.getSize().y , true );
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
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can anyone please reply.
Michael Dunn
Ranch Hand
Posts: 4632
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ok. Thanks
Rob Spoor
Sheriff
Posts: 22821
132
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm afraid Michael is right. Most SWT developers go to the direct source - Eclipse.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
anil sehgal
Greenhorn
Posts: 9
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No issues, for the record, The solution is to use a Composite of greater size ( than parent ) inside a ScrolledComposite.
Thanks
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to create a textfield in canvas
SWT: Menu in CTabItem/CTabFolder or TabItem/TabFolder
SWT and Eclipse Widgets
name of the window pop-up while we hover the mouse on any class name in eclipse.
need advice in creating custom control
More...