Add Header/Foote in a table

  • Hi,
    It's possible to create a table with a Header and/or a Footer (TableAdd).
    I can't find how to add or remove a header and/or a footer to an existing table. Is it possible ?
    If not, the dialog box to create a new table doesn't have an option for the header and the footer. Would it be possible to add those two options ?

    Thanks in advance

    • Offizieller Beitrag

    Hi,

    Zitat

    I can't find how to add or remove a header and/or a footer to an existing table. Is it possible ?

    This removes:

    Code
    var row, par : TParagraph;par := WPRichText1.Table;if par<>nil thenbegin     row := par.RowFirst;     if (row<>nil) and (paprIsHeader in row.prop) then     begin        row.DeleteParagraph;        WPRichText1.ReformatAll(false, true);     end;end;


    This adds:

    Modifying that dialog (WPTblDlg.pas) would be easy. depending on the state if added checkboxes add flags to 'opt' in btnOkClick.

    Julian