force a number of lines on the same page ?

  • I'm creating a report with in runtime like

    wpRichText.inputstring( 'start ----' + #13 )
    for i := 1 to n do
    begin
    wpRichText.inputstring( ' ' + #13 )
    end;
    wpRichText.inputstring( 'end ----' + #13 )

    how can I protect that all these lines are on the same page ?