back to gui 

wxFindReplaceDialog

generated from ../src/mod_gui/control/findrdlg.cpp

wxFindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possible 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.

Constants

Styles

Name Description
REPLACEDIALOG
NOUPDOWN
NOMACTHCASE
NOWHOLEWORD

Constructor

wxFindReplaceDialog

wxFindReplaceDialog(Parent, 
                    Data, 
                    Title, 
                    Style = 0)
 
Name Type Default Description
Parent wxWindow The parent of wxFindReplaceDialog. Can't be null.
Data wxFindReplaceData
Title String The title of the dialog
Style Integer 0
wxFindReplaceDialog()
 

Constructs a new wxFindReplaceDialog object

Properties

Name Type Description
data wxFindReplaceData Get/Set the data

Methods

create

create(Parent, 
       Data, 
       Title, 
       Style = 0)
 
Name Type Default Description
Parent wxWindow The parent of wxFindReplaceDialog. Can't be null.
Data wxFindReplaceData
Title String The title of the dialog
Style Integer 0

Creates a wxFindReplaceDialog.

Events

onFind The find button was pressed. The argument passed to the function is a wxFindDialogEvent
onFindNext The find next button was pressed. The argument passed to the function is a wxFindDialogEvent
onFindReplace The replace button was pressed. The argument passed to the function is a wxFindDialogEvent
onFindReplaceAll The replace all button was pressed. The argument passed to the function is a wxFindDialogEvent
onFindClose The dialog is being destroyed. The argument passed to the function is a wxFindDialogEvent


SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxDialog

Constructor

wxFindReplaceDialog

Properties

data

Methods

create

Events

onFind
onFindNext
onFindReplace
onFindReplaceAll
onFindClose


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.