Solved

Printing contents of LMDListBox

Posted on 2003-10-27
3
228 Views
Last Modified: 2010-04-03
I am wondering if there is an easy way to print the contents of an LMDListBox?

Thanks
0
Comment
Question by:MakkyMel
3 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 125 total points
ID: 9634317
If it has a TStringList as Items property or whatever and you want to just print these items then yes:

uses ..., Printers;
var
  AFile:TextFile;
begin
  AssignPrn(AFile);
  Rewrite(AFile);
  Write(AFile, LMDListBox.Items.Text);
  CloseFile(AFile);
end;

Or something similar.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now