Solved

problem with TMEMO

Posted on 1999-01-22
2
185 Views
Last Modified: 2010-04-06
In my program I'm creating lines in a TMemo-Object with the Syntax: Memoobject.Lines.Add('...');
The problem is that if all lines are printed, the last line is shown, but I want that the first line is shown (scroll bar at top...).
What command and syntax must I use therefore???
0
Comment
Question by:pman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Accepted Solution

by:
Madshi earned 50 total points
ID: 1362871
Use Memoobject.Lines.Insert(0,'blabla') instead of Memoobject.Lines.Add('blabla').

Regards, Madshi.

0
 

Author Comment

by:pman
ID: 1362872
that's a nice idea ;-)

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question