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. True = search for whole words only; False = 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.. True = search for exact capitalization match; False = find all occurrences of the search text |
Name of value |
Description |
accepted |
True = user clicked OK False = user clicked Cancel |
searchText |
String containing the text entered by the user
for which the search is to be conducted |
wholeWordsOnly |
True = user checked "Whole Words Only" checkbox False = user did not check the checkbox |
caseSensitive |
True = user checked "Case Sensitive" checkbox False = user did not check the checkbox |