Now that we have seen some of the other components that are available and we have also seen quite a complex event structure for these components an example should help clear up any confusion. Task: Write the application as shown in Figure 6.18, “A Scrollbar Example” where the Solution: You can see this Scrollbar example running in Figure 6.18. The code is at the bottom of the page.
To complete this application there are a few points to note:
These notes are copyright Dr. Derek Molloy, School of Electronic Engineering, Dublin City University, Ireland 2013-present. Please contact him directly before reproducing any of the content in any way. |