---
name: "wxFindReplaceDialog"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxFindReplaceDialog"
---

# wxFindReplaceDialog(3erl)

Functions for wxFindReplaceDialog class

## NAME

wxFindReplaceDialog - Functions for wxFindReplaceDialog class

## DESCRIPTION

*wxFindReplaceDialog* 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 page\_samples\_dialogs sample for an example of using it.

This class is derived (and can use functions) from: *wxDialog* *wxTopLevelWindow* *wxWindow* *wxEvtHandler*

wxWidgets docs: wxFindReplaceDialog

## DATA TYPES

```
wxFindReplaceDialog() = wx:wx_object()
```

## EXPORTS

```
new() -> wxFindReplaceDialog()
```

```
new(Parent, Data, Title) -> wxFindReplaceDialog()
```

Types:

Parent = wxWindow:wxWindow()\
 Data = wxFindReplaceData:wxFindReplaceData()\
 Title = unicode:chardata()\

```
new(Parent, Data, Title, Options :: [Option]) ->
       wxFindReplaceDialog()
```

Types:

Parent = wxWindow:wxWindow()\
 Data = wxFindReplaceData:wxFindReplaceData()\
 Title = unicode:chardata()\
 Option = {style, integer()}\

After using default constructor *create/5* must be called.

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

```
destroy(This :: wxFindReplaceDialog()) -> ok
```

Destructor.

```
create(This, Parent, Data, Title) -> boolean()
```

Types:

This = wxFindReplaceDialog()\
 Parent = wxWindow:wxWindow()\
 Data = wxFindReplaceData:wxFindReplaceData()\
 Title = unicode:chardata()\

```
create(This, Parent, Data, Title, Options :: [Option]) ->
          boolean()
```

Types:

This = wxFindReplaceDialog()\
 Parent = wxWindow:wxWindow()\
 Data = wxFindReplaceData:wxFindReplaceData()\
 Title = unicode:chardata()\
 Option = {style, integer()}\

Creates the dialog; use *wxWindow:show/2* to show it on screen.

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

```
getData(This) -> wxFindReplaceData:wxFindReplaceData()
```

Types:

This = wxFindReplaceDialog()\

Get the *wxFindReplaceData* object used by this dialog.
