View Issue Details

IDProjectCategoryView StatusLast Update
0002216JEDI VCL00 JVCL Componentspublic2004-10-12 14:47
ReporterSimesAssigned Touser72 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 RC 1 
Summary0002216: TJvEditor doesn't set modified flag if Lines.Text is set
DescriptionSetting the value of JvEditor.Lines.Text doesn't cause the Modified flag to be set.

Similarly when assigning JvEditor.Lines.Assign(TStrings).
Additional Informationprocedure TForm1.Button1Click(Sender: TObject);
var
  JvEditor: TJvEditor;
begin
  JvEditor := TJvEditor.Create(Self);
  try
    JvEditor.Lines.Text := 'Some text';
    if JvEditor.Modified then
      Caption := 'Changed'
    else
      Caption := 'NOT Changed';
  finally
    JvEditor.Free;
  end;
end;
TagsNo tags attached.

Activities

user72

2004-10-12 14:47

  ~0005367

Fixed In CVS

Issue History

Date Modified Username Field Change
2004-10-12 13:03 Simes New Issue
2004-10-12 14:47 user72 Status new => resolved
2004-10-12 14:47 user72 Resolution open => fixed
2004-10-12 14:47 user72 Assigned To => user72
2004-10-12 14:47 user72 Note Added: 0005367