Solved

Printing contents of LMDListBox

Posted on 2003-10-27
3
230 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 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