[Overview][Types][Classes][Procedures and functions][Index] |
Returns a shortened version of a file name, so that it fits on the given MaxWidth
Source position: filectrl.pp line 225
function MiniMizeName( |
FileName: string; |
Canvas: TCanvas; |
MaxWidth: Integer |
):string; |
This function will return a shortened version of FileName, so that it fits on the given MaxWidth. It uses the Font currently selected in the given Canvas.
For example: C:\Documents and Settings\User\Application Data\Microsoft\Word\custom.dic would become something like: C:\...\Word\custom.dic
lazarus-ccr.sourceforge.net |