.. include:: headings.inc .. _FindReplaceDialog: ========================================================================================================================================== |phoenix_title| **FindReplaceDialog** ========================================================================================================================================== :ref:`FindReplaceDialog` is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else). The actual searching is supposed to be done in the owner window which is the parent of this dialog. Note that it means that unlike for the other standard dialogs this one **must** have a parent window. Also note that there is no way to use this dialog in a modal way; it is always, by design and implementation, modeless. Please see the sample for an example of using it. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **FindReplaceDialog** .. raw:: html

Inheritance diagram of FindReplaceDialog

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~FindReplaceDialog.__init__` :meth:`~FindReplaceDialog.Create` Creates the dialog; use :meth:`Window.Show` to show it on screen. :meth:`~FindReplaceDialog.GetData` Get the :ref:`FindReplaceData` object used by this dialog. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~FindReplaceDialog.Data` See :meth:`~FindReplaceDialog.GetData` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: FindReplaceDialog(Dialog) FindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else). **Possible constructors**:: FindReplaceDialog() FindReplaceDialog(parent, data, title='', style=0) .. method:: __init__(self, *args, **kw) |overload| **Overloaded Implementations**: **~~~** **__init__** `(self)` **~~~** **__init__** `(self, parent, data, title='', style=0)` After using default constructor :meth:`Create` must be called. The `parent` and `data` parameters must be not ``None``. :param `parent`: :type `parent`: Window :param `data`: :type `data`: FindReplaceData :param `title`: :type `title`: string :param `style`: :type `style`: int **~~~** .. method:: Create(self, parent, data, title='', style=0) Creates the dialog; use :meth:`Window.Show` to show it on screen. The `parent` and `data` parameters must be not ``None``. :param `parent`: :type `parent`: Window :param `data`: :type `data`: FindReplaceData :param `title`: :type `title`: string :param `style`: :type `style`: int :rtype: `bool` .. method:: GetData(self) Get the :ref:`FindReplaceData` object used by this dialog. :rtype: :ref:`FindReplaceData` .. attribute:: Data See :meth:`~FindReplaceDialog.GetData`