Andreas Toth wrote:
Isn't there an API call for doing just this...-Andreas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nahum Wild Sent: Wednesday, 22 January 2003 11:48 To: Multiple recipients of list delphi Subject: RE: [DUG]: Ellipsis truncation Cool, I think that is what I was trying to remember. Might have a write a small funciton that finds out how long the string will be when rendered and slowly shrinking it till it fits with an '...' at the end. Nahum.[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote on Its a flag thats part of the DrawText API call....bt thats all I can remember. Take a look a that. Jeremy -----Original Message----- From: "Nahum Wild" <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Wed, 22 Jan 2003 11:32:17 +1300 Subject: [DUG]: Ellipsis truncationDoes anybody know of a good way of shortening a capition shown on screen to X pixels and putting an '...' at the end? I seem to recall that there might be an API call that'll do it, but I can't remember it's name. Cheers, Nahum.-------------------------------------------------------------- ------------- 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/-------------------------------------------------------------- ------------- 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/--------------------------------------------------------------------------- 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/ --------------------------------------------------------------------------- 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/
