View Single Post
  #7 (permalink)  
Old 02-16-2008, 06:12 AM
willisgt's Avatar
willisgt willisgt is offline
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

Burd, that vertical scrollbar is showing up simply because you've placed a control outside the viewable area. The same thing will happen horizontally if you set the 'left' property of a control to a value greater than the width of the form. I suppose you could rely on that scrollbar to move up and down the form, but since it's actually Windows that's placing it there... well, let's just say that I don't trust Windows as much as I trust my own code.

Take some time to look at the example in the thread Erel posted. It's a really good place to start. I don't think your program will run any faster, and it will take some work on your part, but you'll learn a lot about panels and dynamic control placement. Give it a try.

Gary
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote