FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Scroll bars on Bitmap
Posts: 365
Joined: Sat Oct 08, 2005 07:59 PM
Scroll bars on Bitmap
Posted: Fri Oct 27, 2006 03:40 PM
I am trying to display a Bmp image larger than the screen. I use the following line:
@ 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
Posts: 840
Joined: Thu Oct 13, 2005 07:05 PM
Scroll bars on Bitmap
Posted: Fri Oct 27, 2006 04:00 PM

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.

Saludos

R.F.
Posts: 365
Joined: Sat Oct 08, 2005 07:59 PM
Scroll bars on Bitmap
Posted: Fri Oct 27, 2006 04:21 PM

I'll appreciate it very much, René

Rafael

Continue the discussion