Page 1 of 1

Hide only one tool in the tools list

Posted: Thu Oct 27, 2005 8:41 am
by 9337158
Hi,

I woul'd like to hide only one tool in the tools list for example or one serie in the list.

I am using "internal" series and tools and i woul'd like to prevent the user to access to these objects.

How is it possible to do that ?

Regards

Hide one serie for internal use

Posted: Fri Oct 28, 2005 3:18 pm
by 9337158
Hi,

I find the solution to hide one tool by using the protected property InternalUse.
I didn't find how to do that for series. I woul'd like to hide one or two series in the list because i use these series for internal use.

Do you have a solution ?

Regards

Posted: Wed Nov 02, 2005 9:59 am
by Pep
Hi,

yes, using the InternalUse property you can also do the same for the Series, you must use :

Code: Select all

type TChartSeriesAccess=class(TChartSeries);

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
TChartSeriesAccess(Series1).InternalUse:=true;
Charteditor1.Execute;
end;