ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
MagnifierMode (Property)
In french: ModeLoupe
The MagnifierMode property determines and changes how the magnifier is displayed in the column headings of a Table or TreeView Table control.
Remark: The magnifying glass management mode indicates what the Table field should do when the user clicks on the magnifying glass in the column title.. This management mode is also used by TableInputSearch.
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 used>.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:
filterContainsClicking on the magnifying glass will launch a "Contains" type Filter: only those rows will be displayed whose column value "Contains" the characters indicated in the column's input field.
filterDifferentClicking on the magnifying glass will launch a "Different" type Filter: only those rows will be displayed whose column value "is different" from the characters indicated in the column input field.
filterDoesNotContainClicking on the magnifying glass will launch a "does not contain" filter: only those rows will be displayed whose column value "does not contain" the characters indicated in the column input field.
filterDoesNotEndWithClicking on the magnifying glass will launch a "Does not end with" filter: only those rows will be displayed whose column value "does not end with" the characters indicated in the column's input field.
filterDoesNotStartWithClicking on the magnifying glass will launch a "Does not begin with" filter: only those rows will be displayed whose column value "does not begin with" the characters indicated in the column's input field.
filterEndsWithClicking on the magnifying glass will launch a "Ends with" filter: only those rows will be displayed whose column value "ends with" the characters indicated in the column input field.
filterEqualClicking on the magnifying glass will launch an "Is equal" type Filter: only those rows will be displayed whose column value "is equal" to the characters indicated in the column input field.
filterGreaterClicking on the magnifying glass will launch an "Is greater than" type Filter: only those rows will be displayed whose column value "is greater than" the characters indicated in the column input field.
filterGreaterOrEqualClicking on the magnifying glass will launch an "Is greater than or equal to" filter: only those rows will be displayed whose column value "is greater than or equal to" the characters indicated in the column input field.
filterLessClicking on the magnifying glass will launch an "is inferior" type Filter: only those rows will be displayed whose column value "is inferior" to the characters indicated in the column input field.
filterLessOrEqualClicking on the magnifying glass will launch an "is less than or equal to" filter: only those rows will be displayed whose column value "is less than or equal to" the characters indicated in the column input field.
filterStartsWithClicking on the magnifying glass will launch a "Begins with" filter: only those rows will be displayed whose value in the "Begins with" column matches the characters entered in the column's input field.
SearchDefaultIndicates that the column will use the management mode of the magnifier defined for the associated table. This constant is only available for table columns.
SearchStartsWithClicking on the magnifying glass will sort the table according to the specified column, putting this column into search mode: only rows whose column value "begins with" the characters indicated in the column's input field will be displayed.
<Control used>: Control name
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 used>.MagnifierMode = <New mode>
<Control used>: Control name
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 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:
filterContainsClicking on the magnifying glass will launch a "Contains" type Filter: only those rows will be displayed whose column value "Contains" the characters indicated in the column's input field.
filterDifferentClicking on the magnifying glass will launch a "Different" type Filter: only those rows will be displayed whose column value "is different" from the characters indicated in the column input field.
filterDoesNotContainClicking on the magnifying glass will launch a "does not contain" filter: only those rows will be displayed whose column value "does not contain" the characters indicated in the column input field.
filterDoesNotEndWithClicking on the magnifying glass will launch a "Does not end with" filter: only those rows will be displayed whose column value "does not end with" the characters indicated in the column's input field.
filterDoesNotStartWithClicking on the magnifying glass will launch a "Does not begin with" filter: only those rows will be displayed whose column value "does not begin with" the characters indicated in the column's input field.
filterEndsWithClicking on the magnifying glass will launch a "Ends with" filter: only those rows will be displayed whose column value "ends with" the characters indicated in the column input field.
filterEqualClicking on the magnifying glass will launch an "Is equal" type Filter: only those rows will be displayed whose column value "is equal" to the characters indicated in the column input field.
filterGreaterClicking on the magnifying glass will launch an "Is greater than" type Filter: only those rows will be displayed whose column value "is greater than" the characters indicated in the column input field.
filterGreaterOrEqualClicking on the magnifying glass will launch an "Is greater than or equal to" filter: only those rows will be displayed whose column value "is greater than or equal to" the characters indicated in the column input field.
filterLessClicking on the magnifying glass will launch an "is inferior" type Filter: only those rows will be displayed whose column value "is inferior" to the characters indicated in the column input field.
filterLessOrEqualClicking on the magnifying glass will launch an "is less than or equal to" filter: only those rows will be displayed whose column value "is less than or equal to" the characters indicated in the column input field.
filterStartsWithClicking on the magnifying glass will launch a "Begins with" filter: only those rows will be displayed whose value in the "Begins with" column matches the characters entered in the column's input field.
SearchDefaultIndicates that the column will use the management mode of the magnifier defined for the associated table. This constant is only available for table columns.
SearchStartsWithClicking on the magnifying glass will sort the table according to the specified column, putting this column into search mode: only rows whose column value "begins with" the characters indicated in the column's input field will be displayed.
Remarks
The MagnifierMode property can only be used on Table and TreeView Table controls, as well as on the columns they contain.
The MagnifierMode property has no effect:
  • on the Table controls based on a data file with "Direct access".
  • on the Table controls based on a data file 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

Last update: 09/30/2024

Send a report | Local help