• Offizieller Beitrag

    Hi,

    the dialogs are not always linked in.

    You need to add code to the event OnOpenDialog.

    Simply add unit WP1Style and use just one line

    Code
    procedure TForm1.WPRichText1OpenDialog(Sender: TObject;
      DiaType: TWPCustomRtfEditDialog; var ResultValue: Boolean);
    begin
      WPStyleOpenDialog(Self, Sender, DiaType, ResultValue);
    end;

    Regards,

    Julian