... had to insert the class c5Report the class c5Report it works on its own ie you can enter the command oReport := TC5Report():New( 35,31, 550, 784, oClient,0,rgb(173,197,229), { 20, 20, 297+20, 210+20 } ) on a oClient ( odlg,oPanel,...) and that class works with all its graphics subclasses ( line, ...