Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unit Component1;
- interface
- uses
- System.SysUtils, System.Classes;
- type
- TComponent1 = class(TComponent)
- private
- FAtlasText: string;
- procedure SetAtlasText(const Value: string);
- { Private declarations }
- protected
- { Protected declarations }
- public
- { Public declarations }
- published
- { Published declarations }
- property AtlasText : string read FAtlasText write SetAtlasText;
- end;
- procedure Register;
- implementation
- procedure Register;
- begin
- RegisterComponents('Atlas Teste Comp', [TComponent1]);
- end;
- { TComponent1 }
- { TComponent1 }
- procedure TComponent1.SetAtlasText(const Value: string);
- begin
- FAtlasText := Value;
- end;
- end.
Add Comment
Please, Sign In to add comment