前页 | 后页 |
SearchWindow Class
The SearchWindow Class provides a method for displaying the results of your operation using the Search Window.
SearchWindow Attributes
Attribute |
Remarks |
See also |
---|---|---|
FieldChooserVisible |
Boolean Shows or hides the search Field Chooser. |
|
FiltersVisible |
Boolean Shows or hides the search filters. |
|
ObjectType |
ObjectType Notes: Read only Distinguishes objects referenced through a Dispatch interface. |
ObjectType |
SearchWindow Methods
Method |
Remarks |
See also |
---|---|---|
AddColumn (string Name, long Width) |
Adds the column into the current Search window. Returns the column number, or -1 on error. Parameters:
|
|
AddRow (ObjectType ot, String ElementGUID, Long ElementID, String ClassType, VARIANT Values) |
Returns the row inserted into the search. Parameters:
|
|
ClearGrouping () |
Clear all groupings in the search. Returns FALSE on error. |
|
ClearSorting () |
Clear all column sorting in the search. Returns FALSE on error. |
|
EnsureVisible () |
Make the Search window visible. Returns FALSE, if the Search window isn't open. |
|
GetCell (long Row, long Column) |
Returns the value of the cell. Parameters:
|
|
GroupByColumn (long Column) |
Sets the group order by column. Returns FALSE if it cannot group by the specified column. Parameters:
|
|
LoadLayout (string LayoutGUID) |
Set the layout of the Search window. Returns FALSE if the layout cannot be set. Parameters:
|
|
NewLayout (string LayoutGUID) |
Saves the layout of the Search window. Parameters:
|
|
SetCellString (long Row, long Column, String Data) |
Sets a value in a cell. Parameters:
|
|
SetCellVariant (long Row, long Column, VARIANT Data) |
Sets an alternative value in a cell. Parameters:
|
|
SortByColumn (long Column) |
Sets the column to sort by. Returns FALSE if it cannot sort by the specified column. Parameters:
|