Dgby, since you're freeing the bitmap at the end of the procedure, wouldn't that clear the canvas (i.e. nothing would be shown)? See this.
Printable View
Dgby, since you're freeing the bitmap at the end of the procedure, wouldn't that clear the canvas (i.e. nothing would be shown)? See this.
Hey any of u know if its possible to free a dtm or bitmap ON TERMINATE? I dont mean having the script terminate itself but I mean when the user presses the stop button, it free's that stuff.. that way wouldnt it stop the memory leaks??
And btw I believe drawing a blank bitmap on top of an existing one will pile the memory... U actually need to completely delete it from memory.. wipe it from existance as if it was never drawn before..
"No."?
Mind explaining why? Because when I freed the TBitmap at the end of the procedures in the current version, nothing was displayed, which makes sense in my mind. I can see that you wrote it a little differently, but to me it looks like it does the same thing, just in a different way.
Lol well okay! Awesome then. I'll test when I get home to make sure there aren't any leaks. Thank. :)