Show TFormTeeSeries in a seperated Window?
Posted: Tue Jan 13, 2009 10:29 am
Hi !
I need the TFormTeeSeries in a window to set the Series Properties. I donĀ“t want to use the whole Chart editor.
I tried this code:
But I get only an empty window with a selection box for the series.
Can you give me a working example, please?
I need the TFormTeeSeries in a window to set the Series Properties. I donĀ“t want to use the whole Chart editor.
I tried this code:
Code: Select all
procedure TLVMainForm.dxBarButton1Click(Sender: TObject);
Var Node : TTreeNode;
TheFormSeries : TFormTeeSeries;
begin
TheFormSeries:=TFormTeeSeries.Create(Self);
With TheFormSeries do
begin
TheListBox:=ChartListBox1;
BorderIcons:=[];
//BorderStyle:=TeeFormBorderStyle;
Parent:= LVMainForm; //TabSeries;
Align:=alClient;
ShowTabDataSource:=False;
ShowTabGeneral:=True;
ShowTabMarks:=True;
TheSeries:=ChartListBox1.SelectedSeries;
{$IFDEF CLX}
TeeFixParentedForm(TheFormSeries);
{$ENDIF}
TeeScaleForm(TheFormSeries);
Show;
end;
TeeTranslateControl(TheFormSeries,[TheFormSeries.CBSeries]);
TheFormSeries.SetCBSeries;
end;
Can you give me a working example, please?