trichview.support
Re: Style Is Not Assigned |
Author |
Message |
Sergey Tkachenko |
Posted: 07/28/2002 22:21:48 Older versions used RVStyle of the main document (assigned with AssignSource) for headers and footers. What was wrong, and new version uses RVStyle linked to header/footer (which may be the same object, or a different one). What are FHeader1, FHeader2? May be they are from RichViews without assigned RVStyle? > I just upgraded from 1.25 to 1.6.36. I am using RVPrintPreview and I am > setting the Style property as I should. However, after I do FormatPages and > exit my Preview method a call is made to GetTabOrderList(). The sequence of > calls are listed below. I end up with an error "Style is not assigned". Your > code makes two passes thru TCustomRVPrint.DrawPreview. The first time > RVStyle not nil. The second time, after you do a PagePrepaint RVStyle is > nil. > |
Powered by ABC Amber Outlook Express Converter