Solved

Printing contents of LMDListBox

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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