Hide only one tool in the tools list

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
stsl
Newbie
Newbie
Posts: 26
Joined: Mon Apr 19, 2004 4:00 am
Location: France

Hide only one tool in the tools list

Post by stsl » Thu Oct 27, 2005 8:41 am

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

stsl
Newbie
Newbie
Posts: 26
Joined: Mon Apr 19, 2004 4:00 am
Location: France

Hide one serie for internal use

Post by stsl » Fri Oct 28, 2005 3:18 pm

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

Pep
Site Admin
Site Admin
Posts: 3298
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Nov 02, 2005 9:59 am

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;

Post Reply