* Use AssignFieldAsStream for stream properties

git-svn-id: trunk@11495 -
This commit is contained in:
michael 2008-07-31 11:37:14 +00:00
parent 18b7043c1b
commit d6c475c944

View File

@ -546,7 +546,7 @@ begin
ptSet :
S:=Format('// Add custom set loading code here for %s from %s',[PN,FN]);
ptStream :
R:=Format('FieldByName(%s).SaveToStream(O.%s);',[SFN,PN]);
R:=Format('AssignFieldAsStream(%s,O.%s);',[SFN,PN]);
ptTStrings :
R:=Format('O.%s.Text:=FieldAsString[%s];',[PN,SFN]);
ptCustom :