<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSText/usesFontPanel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSText(py)usesFontPanel"
  },
  "title" : "usesFontPanel"
}
-->

# usesFontPanel

A Boolean that controls whether the receiver uses the Font panel and Font menu.

```
var usesFontPanel: Bool { get set }
```

## Discussion

If `flag` is <doc://com.apple.documentation/documentation/Swift/true>, the receiver responds to messages from the Font panel and from the Font menu and updates the Font panel with the selection font whenever it changes. If `flag` is <doc://com.apple.documentation/documentation/Swift/false> the receiver doesn’t do any of these actions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)