Example:
Above dialog was created with this line of code:
result = dialog.findDialog(self)
Argument |
Data type/Notes |
self |
the window (background) that is the parent for the dialog |
OPTIONAL searchText |
String defining the text for which to search |
OPTIONAL wholeWordsOnly |
Boolean value indicating whether to confine the search to strings that contain the search text as a whole word rather than a substring. 1 = search for whole words only; 0 = find all occurrences of the search text |
OPTIONAL caseSensitive |
Boolean value indicating whether to confine the search to strings that contain the search text exactly as provided including upper and lower case letter sensitivity.. 1 = search for exact capitalization match; 0 = find all occurrences of the search text |
Name of value |
Description |
accepted |
1 = user clicked OK 0 = user clicked Cancel |
searchText |
String containing the text entered by the user
for which the search is to be conducted |
wholeWordsOnly |
1 = user checked "Whole Words Only" checkbox 0 = user did not check the checkbox |
caseSensitive |
1 = user checked "Case Sensitive" checkbox 0 = user did not check the checkbox |