My mistake, you have to call it this way:
// Class TPanel Method Redefine( nId, oWnd, lDesign, cVarName, lBorder )
oPanel := TScrollPanel():Redefine( 101, oDlg )
Also, you have to call oPanel:SetFont( oDlg:oFont ) from the ON INIT clause of the ACTIVATE DIALOG