Or you could use a TListView, not sure how much bigger they make the exe?
--On Tuesday, July 17, 2001 23:32:54 +1200 Corey Murtagh <[EMAIL PROTECTED]>
wrote:
> You can get the width of a string by calling the
> TListBox.Canvas.TextExtent method, passing it the string you want to
> test, then trim down the string if it's too long. See below for another
> option though...
--
Vi de udødelige inviterer dere til å slå dere sammen med oss
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/