🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.owl
Article #55

Saving an edit view to a file, also writes the data to the view

#55
From: Jordi Ferrer
Date: Fri, 11 Dec 1998 00:00
18 lines
1185 bytes
Hi!,

I have a TDocument class that manages a TEditView. I have overloaded the
save/load file functions to keep not only the text in the edit view, but
also some other data. The problem is that when I write to the file (in
the Commit function of the TDocument class), the edit view displays all
the data I wrote to the file (including the extra data).

How can I write only to the file?

Thanks in advance.

Please, reply by e-mail to elennar@mx3.redestb.es


Jordi Ferrer & Eduard Niub�
elennar@mx3.redestb.es
eduniubo@axis.org
Technical Details
Message-ID: <36714611.638CE4FE@mx3.redestb.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 108ebe,6de022d4b92b28d5,start
X-Google-Attributes: gid108ebe,public
X-Google-Thread: fe201,6de022d4b92b28d5,start
X-Google-Attributes: gidfe201,public
From: Jordi Ferrer <elennar@mx3.redestb.es>
Subject: Saving an edit view to a file, also writes the data to the view
Date: 1998/12/11
Message-ID: <36714611.638CE4FE@mx3.redestb.es>
X-Deja-AN: 421225773
Content-Transfer-Encoding: 8bit
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: SERVICOM
Mime-Version: 1.0
Newsgroups: comp.os.ms-windows.programmer.tools.owl,borland.public.cpp.owl