Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VB Pic Boxes
#1
Is there any possible way to add scroll buttons to a picture box running on VB 5.0 or VB 6.0? any help would be much apreciated
the mind is a beautiful thing, use it and make the world a more beautiful place.
Reply
#2
Hm, no, don't think so.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#3
Yeah, of course you can, but ou have to code a little bit. This is intermediate stuff.

You have a picture box, the two scrollbars, and the picture you want to scroll as a picture box inside the main picture box. You have to add code to the change and big change events in the scroll bars that place the inner picture box correctly inside the outter.

http://www.visualbasicforum.com/t131529.html
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#4
* Zack is confused.
I really don't know VB, I guess. =/
Ignore my post up there...
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#5
Thanks, that really helped
the mind is a beautiful thing, use it and make the world a more beautiful place.
Reply
#6
I made a scrolling picturebox control awhile back, I posted the URL in another post here in this forum regarding VB pictureboxes. It's virtually the same as the normal picturebox (it's missing a few properties, events, and methods though), and has a similar default name (SPictureBox). It uses the BitBlt API call internally. Sourcecode should be included but I'm not 100% sure anymore.
I'd knock on wood, but my desk is particle board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)