mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:59:17 +02:00
LazReport, fixed storing more properties of checkboxview, fixed finding dataset components on different forms (from Aleks Lagunov)
git-svn-id: trunk@12054 -
This commit is contained in:
parent
0f4b37d257
commit
0efab1aa67
@ -51,10 +51,14 @@ type
|
|||||||
procedure LoadFromXML(XML: TXMLConfig; Path: String); override;
|
procedure LoadFromXML(XML: TXMLConfig; Path: String); override;
|
||||||
procedure SaveToXML(XML: TXMLConfig; Path: String); override;
|
procedure SaveToXML(XML: TXMLConfig; Path: String); override;
|
||||||
published
|
published
|
||||||
property Frames;
|
|
||||||
property FillColor;
|
|
||||||
property Checked : Boolean read fChecked write fChecked;
|
property Checked : Boolean read fChecked write fChecked;
|
||||||
|
property FillColor;
|
||||||
|
property FrameColor;
|
||||||
|
property Frames;
|
||||||
|
property FrameStyle;
|
||||||
|
property FrameWidth;
|
||||||
|
property Script;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
@ -321,14 +321,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
s3 := Copy(s2, Pos('.', s2) + 1, 255);
|
s3 := Copy(s2, Pos('.', s2) + 1, 255);
|
||||||
s2 := Copy(s2, 1, Pos('.', s2) - 1);
|
s2 := Copy(s2, 1, Pos('.', s2) - 1);
|
||||||
f := nil;
|
f:=FindGlobalComponent(S1);
|
||||||
if Assigned(Application.FindComponent(S1)) then
|
|
||||||
begin
|
|
||||||
if Application.FindComponent(S1) is TDataSet then
|
|
||||||
f := Application.FindComponent(S1) //FindGlobalComponent(s1);
|
|
||||||
else if Application.FindComponent(S1) is TDataSource then
|
|
||||||
f := TDataSource(Application.FindComponent(S1)).DataSet;
|
|
||||||
end;
|
|
||||||
if f <> nil then
|
if f <> nil then
|
||||||
begin
|
begin
|
||||||
DataSet := TfrTDataSet(f.FindComponent(s2));
|
DataSet := TfrTDataSet(f.FindComponent(s2));
|
||||||
|
Loading…
Reference in New Issue
Block a user