Reads preliminary information concerning form inheritance for a component.
procedure ReadPrefix(var Flags: TFilerFlags; var AChildPos: Integer); virtual;
virtual __fastcall ReadPrefix(TFilerFlags Flags, int AChildPos);
ReadPrefix is used internally by the component streaming system. It is called automatically by ReadComponent to read flags that determine whether a component in an inherited form (ffInherited), whether its creation order in the form is important (ffChildPos), and whether it is a top-level component such as a form or data module (ffInline). It also reads the component's position in the ancestor form's creation order if the ffChildPos flag is set. When a writer object writes a component to its stream, it prefixes the component with these flags.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!