Code center > Darwinbots Program Source Code
Sentence Split
Ulciscor:
OK I should have said run-time lines can't be treated as objects :D
Maybe you could use an index array of line objects to make poly-lines?
PurpleYouko:
probably better to use a one dimensional array to store all the points on a line then Pset them in a subroutine. That way we can delete them just as easy by Psetting them to background again.
You could get really clever and set the graphics mode so that they don't block overwrite. Maybe XOR them on. That way you can just XOR them right back off again and leave everything else unchanged.
Another way would be to set up an invisible graphics window or virtual space, draw everything there then Bitblt the whole thing to the foreground when it's ready. But that is a bit complex for relative beginners. :D
Zelos:
I like the idea of clearing the whole box, how do I do that?
Ulciscor:
picture1.cls
PurpleYouko:
Assuming you are using a picturebox (named PictureBox1) to display the output graph. just use this command line
Picturebox1.CLS
That will clear all content in Picturebox1.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version