Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 401

Summary: [TV52014924] If you have the Printer spooler service stopped, Tree1.Page.Height gi...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: TTreeAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 11:51:25 EST
If you have the "Printer Spooler" service stopped, Tree1.Page.Height gives you an EOSError.
It can be solved adding the following at function TTreePage.GetHeight and GetWidth to capturate the error in the try:
    on EOSError do
    begin
      FUsePrinter:=False;
      result:=FHeight;
    end;
On the other hand, the customer proposes to catch all the Exceptions, not only the EOSError:
http://www.teechart.net/support/viewtopic.php?f=5&t=11169&view=unread#unread [created:2010-06-01T15:20:40.000+01:00 reported by:yeray@steema.com reported in version:9.0 (TeeChart VCL)]