scrollbox

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Feb 2008
Posts: 98
Reputation: Nemoticchigga is an unknown quantity at this point 
Solved Threads: 2
Nemoticchigga Nemoticchigga is offline Offline
Junior Poster in Training

scrollbox

 
0
  #1
Aug 13th, 2008
Does anyone know if vs2005 has the borland equivilent of a "scrollbox"? Thanks.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 351
Reputation: Radical Edward has a spectacular aura about Radical Edward has a spectacular aura about Radical Edward has a spectacular aura about 
Solved Threads: 62
Radical Edward's Avatar
Radical Edward Radical Edward is offline Offline
Posting Whiz

Re: scrollbox

 
0
  #2
Aug 13th, 2008
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.
If at first you don't succeed, keep on sucking until you do succeed.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 98
Reputation: Nemoticchigga is an unknown quantity at this point 
Solved Threads: 2
Nemoticchigga Nemoticchigga is offline Offline
Junior Poster in Training

Re: scrollbox

 
0
  #3
Aug 13th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 351
Reputation: Radical Edward has a spectacular aura about Radical Edward has a spectacular aura about Radical Edward has a spectacular aura about 
Solved Threads: 62
Radical Edward's Avatar
Radical Edward Radical Edward is offline Offline
Posting Whiz

Re: scrollbox

 
0
  #4
Aug 13th, 2008
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.
If at first you don't succeed, keep on sucking until you do succeed.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 98
Reputation: Nemoticchigga is an unknown quantity at this point 
Solved Threads: 2
Nemoticchigga Nemoticchigga is offline Offline
Junior Poster in Training

Re: scrollbox

 
0
  #5
Aug 13th, 2008
thanks!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC