Mega Code Archive

 
Categories / Delphi / Examples
 

Optimizing file name display length

In some situations you might have to display file names at a limited length - whether this length is enough to show the full name or not. Delphi's function MinimizeName helps you to "fit" this space by truncating and adding a "continue"-symbol to it.