TCustomIvorySurface::Invalidate

Makes a surface invalid.

void __fastcall Invalidate();

Description

Use Invalidate to set Valid to false. The Paint method will only paint a surface if it is invalid. Valid surfaces will never be painted by Paint.

Invalidate does not automatically repaints the surface, it just makes repainting possible. Use Paint to repaint the surface.

Back to TCustomIvorySurface