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 - [TV52014924] If you have the Printer spooler service stopped, Tree1.Page.Height gi...
Summary: [TV52014924] If you have the Printer spooler service stopped, Tree1.Page.Heig...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: TTree (show other bugs)
Version: unspecified
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 16:20 EDT by yeray alonso
Modified: 2013-11-20 11:51 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)]