Adding or drawing boxes

ninjatalon

Member
Joined
Sep 22, 2010
Messages
24
Programming Experience
Beginner
I have to make a lot of retangular boxes to make my program neat but i'm having a problem of adding boxes. I tried using the draw event in the tab page but everytime i scroll it will draw the lines again and messes up everything. Also when making a line greater that the tab page, autoscroll won't work.

Is there a way to make lines or boxes in design time?
 
There is no "draw" event. There's a Paint event and that is absolutely where you do all your drawing. If it's not working for you then you're doing it wrong. As you haven't shown us what you're doing, we can't tell you what's wrong with it.

VS 2008 SP1 added the VB PowerPacks as standard, which includes a line and rectangle controls.
 
I'm sorry I meant the Paint Event, I'm trying to copy a small table from a form so the user can recognize it better. When I scroll down it repaints every line again but it moves the line differently
 
That's a very vague description and you still haven't shown us what you're doing, i.e. posted your code. You'll only keep our attention so long if it's this hard to get information.
 
Back
Top