Modified

Top  Previous  Next

TMemoTextTransformer > properties > Modified

 

property Modified : BOOLEAN read GetModified;

 

Modified is a read only property, which indicates whether parameters, which can be relevant for the result of a transformation, were changed since the last execution of a transformation. If Modified is false, Execute will do nothing. The Modified value also depends on the value of Modified of Input. Modified of the component is true, if the input text was changed.

 

If a new text is loaded into Input, then the Modified property of Input has to be put explicitly on true to make the transformation of the new text possible.

 

MemoTextTransformer1.Input.Lines.LoadFromFile(OpenDialog1.FileName);

MemoTextTransformer1.Input.Modified := true;

 

 

 



This page belongs to the TetraComponents Documentation

Home  Content  German