Dialog.PageSearch

Dialog.PageSearch (

table DialogText = nil )

Description

Presents a dialog that allows the user to search for pages by keyword. Keywords can be defined on each page in your project. Search results shown to the user is a list of page descriptions (if present), or page names.

Parameters

DialogText

(table) A table containing the text to display on the dialog controls instead of the default English text. If this table is nil, the English defaults are used. If the table is specified, only those indexes that are specified are used. This allows partial translation or text changes. The table may contain one or more of the following values:

KEY

TYPE

DESCRIPTION

DialogTitle

string

The dialog title text.

SearchForLabel

string

The "Search for:" label.

AllowPartialMatches

string

The text of the "Allow partial matches" checkbox.

AllowPartialMatchesCheckbox

boolean

Default value for the "Allow partial matches" checkbox. (true=checked, false=unchecked)

CaseSensitive

string

The text for the "Case sensitive" checkbox.

CaseSensitiveCheckbox

boolean

Default value for the "Case sensitive" checkbox. (true=checked, false=unchecked)

SearchButton

string

The text for the search button.

ResultsGroup

string

The text for the "Results (Double-click to jump to page)" group box.

CancelButton

string

The text for the cancel button.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions