Class TMyObjectClass (unit Objunit) |
TComponent
Its usually a good idea to start from TComponent if methods are involved. True? Why?
Constructors |
Functions |
''----------------------------------------------------------------------------} {This function is executed everytime the Mean is retrived.
Properties |
Events |
Variables |
Constructors |
''----------------------------------------------------------------------------
Functions |
Making this function public allows access by the application program. See Comments on Calc button.
''----------------------------------------------------------------------------} {Compute the mean of all the strings in a TStringList
''----------------------------------------------------------------------------
''----------------------------------------------------------------------------
The current value of the mean
''----------------------------------------------------------------------------} {This function is executed everytime the Mean is retrived. That is, before the Mean is returned, it is recalculated. But only if FNeedToCalc is true.
Properties |
Events |
Variables |
Generally, all data should be private and access methods provided. However, in this case if one wanted the user to have complete control over the memo, it might be OK.
The memo contents changed
True = Mean needs to be recalculated