mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 05:19:28 +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 SaveToXML(XML: TXMLConfig; Path: String); override;
|
||||
published
|
||||
property Frames;
|
||||
property FillColor;
|
||||
property Checked : Boolean read fChecked write fChecked;
|
||||
|
||||
property FillColor;
|
||||
property FrameColor;
|
||||
property Frames;
|
||||
property FrameStyle;
|
||||
property FrameWidth;
|
||||
property Script;
|
||||
|
||||
end;
|
||||
|
||||
|
||||
|
@ -321,14 +321,7 @@ begin
|
||||
begin
|
||||
s3 := Copy(s2, Pos('.', s2) + 1, 255);
|
||||
s2 := Copy(s2, 1, Pos('.', s2) - 1);
|
||||
f := nil;
|
||||
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;
|
||||
f:=FindGlobalComponent(S1);
|
||||
if f <> nil then
|
||||
begin
|
||||
DataSet := TfrTDataSet(f.FindComponent(s2));
|
||||
|
Loading…
Reference in New Issue
Block a user