Hello,
I have a scroll pane in which I'm going to display an image.
I have the horizontal scrollbar and vertical scrollbar set to Always display.
The pixel size of the Scrollpane is 800x600.
The usable pixel area of the innernode is little less than 800x600 because of the width and height taken for the horizontal and vertical scrollbars.
How do I find the usable area of the innernode when it is sized to be just big enough to fit within the scroll pane minus the pixels used by the horizontal and vertical scrollbars.
That is – how do I find the pixel width and height of the horizontal and vertical scrollbars. I'm going to guess that the width and height are dynamic and probably change depending on the resolution of the computer screen running the application.
Barry.
I have a scroll pane in which I'm going to display an image.
I have the horizontal scrollbar and vertical scrollbar set to Always display.
The pixel size of the Scrollpane is 800x600.
The usable pixel area of the innernode is little less than 800x600 because of the width and height taken for the horizontal and vertical scrollbars.
How do I find the usable area of the innernode when it is sized to be just big enough to fit within the scroll pane minus the pixels used by the horizontal and vertical scrollbars.
That is – how do I find the pixel width and height of the horizontal and vertical scrollbars. I'm going to guess that the width and height are dynamic and probably change depending on the resolution of the computer screen running the application.
Barry.