when I declared procedure CreateNewFrame(FrameType: TFrameClass; Sender: TObject); in public in Main form and then created a frame CustomInfoFrame and then on main form in types TCustomInfoFrame = class(TFrame) but still I get the error .. Undeclared Identifier 'TCustomInfoFrame' ..
when I declared procedure CreateNewFrame(FrameType: TFrameClass; Sender: TObject); in public in Main form and then created a frame CustomInfoFrame and then on main form in types TCustomInfoFrame = class(TFrame) but still I get the error .. Undeclared Identifier 'TCustomInfoFrame' ..
Maybe you should add this unit into “uses” clause.