Delphi won't Find a component
Posted: Mon Sep 03, 2012 7:32 pm
Hi Yeray,
I'm having problem with the findcomponent method for TChartAxis. I've seen in the documentation that there's not such a method for this type.
This is the command line I'm using to access the component dynamically:
TChartAxis(FindComponent(Eixo)).AutomaticMaximum := false;
At runtime, Delphi don't find the component named Eixo, that's passed as string and the content of Eixo is declared as TCharAxis. The compiler don't give an error.
Is there any other way to access it dynamically?
Thanks and best regards.
Ricardo Mayer de Aquino
I'm having problem with the findcomponent method for TChartAxis. I've seen in the documentation that there's not such a method for this type.
This is the command line I'm using to access the component dynamically:
TChartAxis(FindComponent(Eixo)).AutomaticMaximum := false;
At runtime, Delphi don't find the component named Eixo, that's passed as string and the content of Eixo is declared as TCharAxis. The compiler don't give an error.
Is there any other way to access it dynamically?
Thanks and best regards.
Ricardo Mayer de Aquino