wxRuby Documentation Home

# Wx::FindReplaceDialog

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 dialogs sample for an example of using it.

## Derived from

Dialog

## Methods

- FindReplaceDialog.new
- FindReplaceDialog#create
- FindReplaceDialog#get_data

### FindReplaceDialog.new

FindReplaceDialog.new(%(arg-type)Window% parent, FindReplaceData data, String title, Integer style = 0)

After using default constructor Create
must be called.

The parent and data parameters must be non-`NULL`.

destructor()

Destructor.

### FindReplaceDialog#create

Boolean create(%(arg-type)Window% parent, FindReplaceData data, String title, Integer style = 0)

Creates the dialog; use Show to show it on screen.

The parent and data parameters must be non-`NULL`.
h3(#FindReplaceDialog_getdata). FindReplaceDialog#get_data

FindReplaceData get_data()

Get the FindReplaceData object used by this
dialog.

[This page automatically generated from the Textile source at 2023-06-09 00:45:31 +0000]