(Formerly known as IsOverlayValid, which is now obsolete)
readonly bool Overlay.Valid;
Checks whether the overlay is a current overlay or not.
Returns 1 if it is, 0 if it isn't.
Example:
Overlay* myOverlay = Overlay.CreateTextual(50,80,120,2,15,"This is a text overlay");
Display("Overlay valid before: %d", myOverlay.Valid);
myOverlay.Remove();
Display("Overlay valid after: %d", myOverlay.Valid);
creates an overlay, and prints out the Valid property (which will be 1). Then, removes
the overlay and prints Valid again (which will now be 0).
See Also: Overlay.CreateTextual,
Overlay.Remove
|