[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'FileCtrl' (#lcl)

MiniMizeName

MiniMizeName This function will return a shortened version of FileName, so that it fits on the given Canvas, with a given MaxWidth.

Declaration

Source position: filectrl.pp line 214

function MiniMizeName(

  FileName: String;

  Canvas: TCanvas;

  MaxWidth: Integer

):String;

Description

MiniMizeName This function will return a shortened version of FileName, so that it fits on the given Canvas, with a given MaxWidth.

eg. C:\Documents and Settings\User\Application Data\Microsoft\Word\custom.dic would become something like: C:\...\Word\custom.dic

The latest version of this document can be found at lazarus-ccr.sourceforge.net.