mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 05:32:28 +02:00
* Use AssignFieldAsStream for stream properties
git-svn-id: trunk@11495 -
This commit is contained in:
parent
18b7043c1b
commit
d6c475c944
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user