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 2552

Summary: Printer.Preview() not translated correctly
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: .NET 5.0Assignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: major    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2022-09-20 03:37:04 EDT
Running code such as the following:

    public Form1()
    {
      Steema.TeeChart.Languages.Catalan.Activate();
      InitializeComponent();
      InitializeChart();
    }

    private void button1_Click(object sender, EventArgs e)
    {
      tChart1.Printer.Preview();
    }

Does not show a correctly translated form.
Comment 1 christopher ireland 2022-09-20 06:16:49 EDT
If instead of:

Steema.TeeChart.Languages.Catalan.Activate();

we use:

Steema.TeeChart.Languages.Catalan.Activate<Steema.TeeChart.Languages.Translator>();

It works correctly.