PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..MagnifierMode is used to find out and modify the management mode of the magnifier in the title of the Table control (or TreeView table) columns.
Note: The management mode of the magnifier indicates the operating mode of the Table control when the user clicks the magnifier in the column titles. This management mode is also used by TableInputSearch.
Versions 19 and later
Windows This property is now available for Table controls in WEBDEV Server.
New in version 19
Windows This property is now available for Table controls in WEBDEV Server.
Windows This property is now available for Table controls in WEBDEV Server.
Versions 23 and later
Windows This property is now available for TreeView controls in WEBDEV Server.
New in version 23
Windows This property is now available for TreeView controls in WEBDEV Server.
Windows This property is now available for TreeView controls in WEBDEV Server.
Example
// Define the mode for using the magnifier
TABLE_Table1..MagnifierMode = filterContains
// Use the magnifier
TableInputSearch(TABLE_Table1.COL_Column1, "")
Syntax

Finding out the management mode of the magnifier in a Table control Hide the details

<Result> = <Control name>..MagnifierMode
<Result>: Integer constant
Current management mode of magnifier in the Table control or in the specified column. This parameter can correspond to one of the following constants:
filterStartsWithA click performed on the magnifier will start a "Starts with" filter: only the rows for which the column value "Starts with" the specified characters will be displayed.
filterContainsA click performed on the magnifier will start a "Contains" filter: only the rows for which the column value "Contains" the specified characters will be displayed.
filterDifferentA click performed on the magnifier will start a "Different from" filter: only the rows for which the column value "is different from" the specified characters will be displayed.
filterEqualA click performed on the magnifier will start an "Equal to" filter: only the rows for which the column value "is equal to" the specified characters will be displayed.
filterLessOrEqualA click performed on the magnifier will start a "Less than or equal to" filter: only the rows for which the column value "is less than or equal to" the specified characters will be displayed.
filterLessA click performed on the magnifier will start a "Less than" filter: only the rows for which the column value "is less than" the specified characters will be displayed.
filterDoesNotStartWithA click performed on the magnifier will start a "Does not start with" filter: only the rows for which the column value "does not start with" the specified characters will be displayed.
filterDoesNotContainA click performed on the magnifier will start a "Does not contain" filter: only the rows for which the column value "does not contain" the specified characters will be displayed.
filterDoesNotEndWithA click performed on the magnifier will start a "Does not end with" filter: only the rows for which the column value "does not end with" the specified characters will be displayed.
filterGreaterOrEqualA click performed on the magnifier will start a "Greater than or equal to" filter: only the rows for which the column value "is greater than or equal to" the specified characters will be displayed.
filterGreaterA click performed on the magnifier will start a "Greater than" filter: only the rows for which the column value "is greater than" the specified characters will be displayed.
filterEndsWithA click performed on the magnifier will start an "Ends with" filter: only the rows for which the column value "does not end with" the specified characters will be displayed.
SearchStartsWithA click performed on the magnifier will sort the table according to the specified column and will switch this column to search mode: only the rows for which the column value "starts with" the specified characters will be displayed.
SearchDefaultIndicates that the column will use the management mode of the magnifier defined for the associated table. This constant is available for the table columns only.
<Control name>: Character string (with or without quotes)
Name of the table column, Table control or TreeView Table control to use.

Modifying the management mode of the magnifier in a Table control Hide the details

<Control name>..MagnifierMode = <New management mode>
<Control name>: Character string (with or without quotes)
Name of the table column, Table control or TreeView Table control to use.
If the modification is performed on the Table control, this modification affects all the columns with the SearchDefault constant (if possible).
If the modification is performed on a table column, the effect is limited to this column.
<New management mode>: Integer constant
New management mode of the magnifier in the Table control or in the specified column. This parameter can correspond to one of the following constants:
filterStartsWithA click performed on the magnifier will start a "Starts with" filter: only the rows for which the column value "Starts with" the specified characters will be displayed.
filterContainsA click performed on the magnifier will start a "Contains" filter: only the rows for which the column value "Contains" the specified characters will be displayed.
filterDifferentA click performed on the magnifier will start a "Different from" filter: only the rows for which the column value "is different from" the specified characters will be displayed.
filterEqualA click performed on the magnifier will start an "Equal to" filter: only the rows for which the column value "is equal to" the specified characters will be displayed.
filterLessOrEqualA click performed on the magnifier will start a "Less than or equal to" filter: only the rows for which the column value "is less than or equal to" the specified characters will be displayed.
filterLessA click performed on the magnifier will start a "Less than" filter: only the rows for which the column value "is less than" the specified characters will be displayed.
filterDoesNotStartWithA click performed on the magnifier will start a "Does not start with" filter: only the rows for which the column value "does not start with" the specified characters will be displayed.
filterDoesNotContainA click performed on the magnifier will start a "Does not contain" filter: only the rows for which the column value "does not contain" the specified characters will be displayed.
filterDoesNotEndWithA click performed on the magnifier will start a "Does not end with" filter: only the rows for which the column value "does not end with" the specified characters will be displayed.
filterGreaterOrEqualA click performed on the magnifier will start a "Greater than or equal to" filter: only the rows for which the column value "is greater than or equal to" the specified characters will be displayed.
filterGreaterA click performed on the magnifier will start a "Greater than" filter: only the rows for which the column value "is greater than" the specified characters will be displayed.
filterEndsWithA click performed on the magnifier will start an "Ends with" filter: only the rows for which the column value "does not end with" the specified characters will be displayed.
SearchStartsWithA click performed on the magnifier will sort the table according to the specified column and will switch this column to search mode: only the rows for which the column value "starts with" the specified characters will be displayed.
SearchDefaultIndicates that the column will use the management mode of the magnifier defined for the associated Table control. This constant is available for the table columns only.
Remarks
..MagnifierMode can only be used on the Table controls, the Table/TreeView Table columns and the TreeView Table controls.
..MagnifierMode has no effect:
  • on the browsing Table controls with "Direct access".
  • on the browsing Table controls that use a scrollbar with an ongoing movement.
  • on the columns that display no magnifier and that cannot be sorted.
  • on the columns that do not support the requested type of filter (using a filterContains filter on a numeric column for example).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment