Page 1 of 1

Scroll bars on Bitmap

PostPosted: Fri Oct 27, 2006 3:40 pm
by Rafael Clemente
I am trying to display a Bmp image larger than the screen. I use the following line:
Code: Select all  Expand view
@ 0,0 BITMAP oBmp FILENAME CurDir()+"\Test.bmp" SIZE 290,240 PIXEL SCROLL OF oWnd


I get the horizontal and vertical bars but they are not operative, that is, the image does not move when I move the bars. Has anybody found a cure for that?
Thanks

Rafael

PostPosted: Fri Oct 27, 2006 4:00 pm
by R.F.
I did the trick once upon a time.

The scrolls bars are independent controls, not the ones in the bitmap.

You have to define the window contaniner, then define INDIVUALLY the scrollbars, and after that you have to define the bitmap.

Once created, you have to catch the events of movement of the scrollbar, and manually move the bitmap.

Let me check to see if I do have the program I made.

PostPosted: Fri Oct 27, 2006 4:21 pm
by Rafael Clemente
I'll appreciate it very much, René

Rafael