943,600 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 1166
  • C++ RSS
Aug 13th, 2008
0

scrollbox

Expand Post »
Does anyone know if vs2005 has the borland equivilent of a "scrollbox"? Thanks.
Similar Threads
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
Nemoticchigga is offline Offline
98 posts
since Feb 2008
Aug 13th, 2008
0

Re: scrollbox

Assuming you mean Windows Forms, a lot of controls are scrollable, like TextBox and Panel. You can also inherit the ScrollableControl class and write your own if none of the existing controls work out.
Reputation Points: 361
Solved Threads: 97
Posting Pro
Radical Edward is offline Offline
526 posts
since May 2008
Aug 13th, 2008
0

Re: scrollbox

In borland I could place a picture box on the scrollbox and it would take care of scrolling. I was wondering if there is a "scrollbox" to place my picturebox on in windows forms to do the same thing. I think you answered it with the inherit/writing my own scroll code, but I didnt know if there was an easier way.
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
Nemoticchigga is offline Offline
98 posts
since Feb 2008
Aug 13th, 2008
0

Re: scrollbox

Put the picture box on a panel, and set the panel's AutoScroll property to true. Whenever the picture box's height or width exceeds the panel's height or width, scroll bars will automatically show up.
Reputation Points: 361
Solved Threads: 97
Posting Pro
Radical Edward is offline Offline
526 posts
since May 2008
Aug 13th, 2008
0

Re: scrollbox

thanks!
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
Nemoticchigga is offline Offline
98 posts
since Feb 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Need a compiler
Next Thread in C++ Forum Timeline: Optimizing some small functions...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC