最初由 shangxy 发布
[B]function TMYSHEETDOC.GetWordArea: TSheetArea;
begin
Result := Self.Areas.FindArea(Types.Rect(0, 5, 24, 7));
end;
procedure TMYSHEETDOC.InitArea;
begin
..
以下省略...... [/B]
unit FWQQBGT;
interface
uses
Business.System, Business.Model;
type
TFWQQBGT = class(TSheetDoc)
procedure InitArea;
function GetWordArea: TFWQQBGT;
private
{private declarations}
public
{public declarations}
end;
implementation
function TFWQQBGT.GetWordArea: TFWQQBGT;
begin
Result := TFWQQBGT(Self.Areas.FindArea(Types.Rect(0, 5, 24, 7)));
end;
procedure TFWQQBGT.InitArea;
begin
GetWordArea.Visible := not GetInfo.DataSetsdsProcessList.IsEmpty;
end;
end.
编译报错
[Undeclared identifier "Visible"
貌似GetWordArea的返回值没有visible这个属性 |