[fpc-devel] Bug in trunk?
    Michael Van Canneyt 
    michael at freepascal.org
       
    Fri Mar 28 14:00:41 CET 2008
    
    
  
On Fri, 28 Mar 2008, Micha Nelissen wrote:
> Michael Van Canneyt wrote:
> > It is used in streaming in the classes unit; the streaming mechanism checks
> > the actual
> > value against this value: if it is the same, the value is not streamed.
> 
> FYI: so before streaming, the "streamer" has to reset the values to their
> defaults to stream properly. Unfortenately, there is no function to do this,
> and it's usually done in constructor. Therefore streaming twice does not work
> properly.
This is not correct.
The default value is the value at create time and remains fixed during the
lifetime of the component. It has no influence on the number of times you 
stream a component. 
Michael.
    
    
More information about the fpc-devel
mailing list