IonicWind Software

Aurora Compiler => GUI => Topic started by: Haim on September 06, 2008, 08:04:55 AM

Title: scrolling an area of a window
Post by: Haim on September 06, 2008, 08:04:55 AM
Hello,
Can anyone show me how to scroll both raphics and controls in a window?

Any help would be appreciated.

Haim
Title: Re: scrolling an area of a window
Post by: Ionic Wind Support Team on September 06, 2008, 08:17:45 AM
Haim,
There are a number of ways to accomplish it.  The easiest is to use two windows, the main window that has the scrollbars and a child container window, captionless, that contains the controls.  When a scrollbar moves you offset the position of the child container window with the negative scroll amount, using SETSIZE.

The child container window becomes your virtual document then, and can be any size which determines the range of the parents scrollbars.

Try it for yourself, and if you get stuck then post here and I'll lend a hand.

Paul.
Title: Re: scrolling an area of a window
Post by: Haim on September 06, 2008, 08:19:35 AM
Thanks,
I'll try it.
Haim