---
title: "performFindPanelAction(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstextview/performfindpanelaction(_:)"
---

# performFindPanelAction(_:)

Performs a find panel action specified by the sender’s tag.

## Declaration

```swift
func performFindPanelAction(_ sender: Any?)
```

## Parameters

- `sender`: The control sending the message. This method sends the doc://com.apple.appkit/documentation/AppKit/NSControl/tag method to determine what operation to perform. The list of possible tags is provided in Constants.

## Discussion

Discussion This is the generic action method for the find menu and find panel, and can be overridden to implement a custom find panel.

## See Also

### Working with panels

- [usesFontPanel](appkit/nstextview/usesfontpanel.md)
- [usesFindPanel](appkit/nstextview/usesfindpanel.md)
- [orderFrontLinkPanel(_:)](appkit/nstextview/orderfrontlinkpanel(_:).md)
- [orderFrontListPanel(_:)](appkit/nstextview/orderfrontlistpanel(_:).md)
- [orderFrontSpacingPanel(_:)](appkit/nstextview/orderfrontspacingpanel(_:).md)
- [orderFrontTablePanel(_:)](appkit/nstextview/orderfronttablepanel(_:).md)
- [orderFrontSubstitutionsPanel(_:)](appkit/nstextview/orderfrontsubstitutionspanel(_:).md)
