frames -- "TFrame class not found"

I've started using frames; great component, but if a form using a frame is
open in my IDE setup when I open a project, I always get the message "TFrame
class not found". I cancel loading that form, then re-load it after the
entire project has loaded. At that point, it loads fine.

What's the secret here?