IFindDialog



Describes minimum required functionality of text find dialog.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IFindDialog :public virtual IComponent
{
public:
    void(*OnSearch)(IFormFind *sender); // Callback functions used to inform parent which called the dialog about user intention to search 

    virtual String getText() = 0; // Return search text 
    virtual bool isMatchWholeWords() = 0; // Return whether "match whole words" checkbox is checked 
    virtual bool isMatchCase() = 0; // Return whether "match case" checkbox is checked 
    virtual IFormFind::SEARCH_DIRECTION getSearchDirection() = 0; // Return search direction 
    // Since 9.0.0 
    virtual bool isUseDialogBox() = 0; // Return whether dialog box or regular form should be used 

    virtual bool setText(const String &value) = 0; // Set search text 
    virtual bool setMatchWholeWords(const bool value) = 0; // Set whether "match whole words" checkbox is checked 
    virtual bool setMatchCase(const bool value) = 0; // Set whether "match case" checkbox is checked 
    virtual bool setSearchDirection(const IFormFind::SEARCH_DIRECTION value) = 0; // Set search direction 
    // Since 9.0.0 
    virtual bool setUseDialogBox(const bool value) = 0; // Set whether dialog box or regular form should be used 

    virtual bool Execute() = 0; // Show dialog 
};
Namespace: nitisa::standard
Include: Standard/Components/IFindDialog.h