>The TMemo component has a boolean run-time property named "Modified". One
>would like to think that this property is initially false, and that it is
>automatically set to true if someone edits the Memo. This does not seem
>to be the case. In fact, even if your program sets it to true in the
>Memo's OnChange handler, it seems to flip itself back to false again in an
>unpredictable fashion.
>
>Can anyone provide any insight into the behaviour of this TMemo.Modified
>property ? The on-line documentation (Delphi 1) is, as it is so often,
>uninformative.
I'm also using D1.
Using the Tmemo.LoadFromFile and TMemo.Clear commands sets it to
FALSE in an app I've been working on.
I was sort of suprised that the SaveToFile method didn't reset it
to FALSE again, but I just set it myself, which seems to work fine.
I'm not doing anything in the OnChange routine, or setting it to
true in any way. I *am* checking to see what its status is before
letting them load a new file, exit the app, etc. It seems to work
just fine.
___
X MegaMail 2.10 #0:Sexist? Why some of my best friends are Bimbos!
--- Maximus/NT 3.01b1
---------------
* Origin: The Good Old Days * Richardson TX * 214-699-0057 (1:124/4229)
|