FrameDestroy

HC GUI programming Frames FrameDestroy
Frame FrameOnChar

FrameDestroy aframe


Command to destroy the frame aframe. When a variable still points to the frame and you call another FrameXXX primitive with that var then an error occurs, because the frame has then been destroyed and cannot be used anymore.

Example:

f=Frame [][MyFrame][][400 200][200 100]
FrameDestroy f

Reference:

Frame FrameOnChar