Link to home
Start Free TrialLog in
Avatar of lechtor
lechtor

asked on

Multiple TMemo Windows

In My MDI Application I have the need to open several
Instances of a TMemo Window. How do I refference the
different windows. Are they "Arrayed", memo[0],[1] etc?
Prefferably, I would like to refference by name somehow.
Can I give each instance a different name/label/etc?

Also, to keep only the last 100 lines of a nearly
continuous stream of text(TCP/IP news feed), I use :
 while (frmStatus.statusOut.Lines.Count > 100) do
           begin
           frmStatus.statusOut.Lines.Delete(0);
           end
The problem is that when I delete(0), the cursor position
follows. With a steady stream of input, this makes for
some pretty jumpy Reading. Can I Delete(0) without
positioning the cursor?

My First Delphi2 Project. Experienced mainly in Dos based
Games/Graphics/animation Programming using assembler
and C.  (The Old Fashioned Way!)
ASKER CERTIFIED SOLUTION
Avatar of mheacock
mheacock

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial