From 40d704cc6a8dc4dcc46f66c0019e0d3c2375470d Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Mon, 14 Nov 2011 16:00:07 +0000 Subject: [PATCH] Updates the filectrl docs skeleton and improves a lot the descriptions and links git-svn-id: trunk@33529 - --- docs/xml/lcl/filectrl.xml | 637 +++++++++++++++----------------------- 1 file changed, 254 insertions(+), 383 deletions(-) diff --git a/docs/xml/lcl/filectrl.xml b/docs/xml/lcl/filectrl.xml index a9fc79d76f..c0a57cff39 100644 --- a/docs/xml/lcl/filectrl.xml +++ b/docs/xml/lcl/filectrl.xml @@ -9,30 +9,6 @@ Class definitions for a box with a list of files for selection - - - - - - - - - - - - - - - - - - - - - - - - @@ -83,121 +59,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -305,9 +170,15 @@ - The search Mask used to find the file - - + Specifies which files will be shown + +

This property should be filled with a list of masks separated by semi-colons. For example: "*.pdf;*.svg" will show all files with the extensions pdf and svg. The default value for this property is "*" which for this control will be consider the generic mask meaning any file. Do not use the Windows specific mask "*.*" to attempt to show all files, which is the behavior from Delphi. In the LCL version of the control this will require the file name to have a point.

+

Allowed wildcarss are "*" which means zero or more characters and "?" which means exactly 1 character of any kind. Other characters represent themselves with one important detail: The file matching algorithm is case insensitive. So if you set "*.PDF" in the mask, then "PostScript.pdf" will also be shown, even in Linux in a case-sensitive file system.

+

This property has exactly the same rules and behavior as TFilterComboBox.Mask.

+
+ + +
@@ -317,11 +188,7 @@ - - - - - + @@ -330,241 +197,20 @@ + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Specifies which files will be shown - -

This property should be filled with a list of masks separated by semi-colons. For example: "*.pdf;*.svg" will show all files with the extensions pdf and svg. The default value for this property is "*" which for this control will be consider the generic mask meaning any file. Do not use the Windows specific mask "*.*" to attempt to show all files, which is the behavior from Delphi. In the LCL version of the control this will require the file name to have a point.

-

Allowed wildcarss are "*" which means zero or more characters and "?" which means exactly 1 character of any kind. Other characters represent themselves with one important detail: The file matching algorithm is case insensitive. So if you set "*.PDF" in the mask, then "PostScript.pdf" will also be shown, even in Linux in a case-sensitive file system.

-

This property has exactly the same rules and behavior as TFilterComboBox.Mask.

-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -573,14 +219,239 @@ - - - MiniMizeName This function will return a shortened version of FileName, so that it fits on the given Canvas, with a given MaxWidth. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A combobox to select filename filters -

- 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

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Allows to concect this control to a TShellListView + The files shown in the TShellListView will be filtered by the filter selected in this control + + + + + + + + A combobox to select filename filters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a shortened version of a file name, so that it fits on the given MaxWidth + +

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

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +