开发者

swt scollbar and slider

开发者 https://www.devze.com 2023-03-23 12:48 出处:网络
Would anybody have an examples of a scrollbar in swt within a composite as I am having alot of trouble trying to get a scrollbar开发者_如何学Python to work

Would anybody have an examples of a scrollbar in swt within a composite as I am having alot of trouble trying to get a scrollbar开发者_如何学Python to work within my composite? Also I have a slider in which I have used a switch statement to display different messages at different positions in the slider but it works for example 20 displays 'Hi there your at 20' and when I move it to 30 it displays a different message but when I move back to 20 from 30 it wont display positions 20 message? Anybody with any suggestions? Thanks, Ann.


For the first part of your question, have a look at org.eclipse.swt.custom.ScrolledComposite...

There are quite a few SWT Snippets for ScrolledComposite. Always look here before asking for examples.

0

精彩评论

暂无评论...
验证码 换一张
取 消