Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21965

VB6 - Moving a large number of graphics in the form

$
0
0
I'm coding a program where I use a large number of graphics.
The program analyzes data, and the data is represented in the form like this:
Attachment 92445

As you can see at the moment I use 2 lines and 1 shape (square/rectangle) to make those figures.
In the example you can see 4 of them, but in the main program maybe I would use around 15.000.
I will move left and right the figures to be able to see the whole graphic. I will zoom it and zoom out.
So my question is... what is would be more easy and fast? To draw 30k lines and 15k shapes and create functions to move them (remember that the lines have to be in the middle of the shape, both top and bottom ones) or... create an activex control.. or other solution?

I tried to do it using lines and shapes but when I moved them with the mouse the lines were not in the middle of the shape. Maybe some math errors. For that reason I'm asking that question.
Attached Images
 

Viewing all articles
Browse latest Browse all 21965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>