OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Handling a Find Next command

The find and replace common dialog boxes have a Find Next button that users can use while the dialog boxes are visible.

Most applications also support a Find Next command from the Search menu, so users can find the next occurrence in one step instead of having to open the find dialog box and click the Find Next button. TFindDialog and TReplaceDialog make it easy for you to offer the same functionality.

Setting the FR_FINDNEXT flag has the same effect as clicking the Find Next button. For example,

void TDatabaseWindow::CmEditFindNext()
{
SearchDialog->UpdateData();
SearchData.Flags |= FR_FINDNEXT;
DoSearch();
}

See Also