WPRichText.Print returning control before printing finished

  • Hi,

    Is it possible that TWPCustomRtfEdit.Print returns the control to the calling procedure before TWPCustomRtfEdit.PrintPages has finished executing ?

    If I close my Form and destroy the TWPRichText just avec calling WPRichtText, I get an access violation (apparently in TWPCustomRtfEdit.PrintPages).
    When I open a new form and try to print, I get a message telling me that the printing is already in progess ('impression en cours').

    Checking for WPRichText.Enviroment._globale_InPrintPages or WPRichText.Printing just in the code just after WPRichText returns false.
    But if I wait a little (~1 second) and check these attributes in the FormCloseQuery event for example, I get true !!!

    Thanks,
    Attila Krüzsely