Created
November 24, 2016 15:10
-
-
Save ZzZombo/263b43ac18e02e81678c05e1295ce232 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface | |
type MyFile=class | |
private | |
var FFilename:string; | |
procedure SetFilename(const S:string); | |
public | |
property Filename:string read FFilename write SetFilename; | |
end; | |
implementation | |
procedure Myfile.SetFilename(const S:string) | |
begin | |
//do something here. | |
FFilename=S; // save the new value. | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment