<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSForm/setBezeled(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSForm(im)setBezeled:"
  },
  "title" : "setBezeled(_:)"
}
-->

# setBezeled(_:)

Sets whether the receiver’s entries should display a bezel around their editable text.

```
func setBezeled(_ flag: Bool)
```

## Parameters

`flag`

<doc://com.apple.documentation/documentation/Swift/true> to display a bezel around all entries; otherwise, <doc://com.apple.documentation/documentation/Swift/false> to show no bezel around all entries.

## See Also

[`var isBezeled: Bool`](/documentation/AppKit/NSCell/isBezeled)

A Boolean value indicating whether the cell has a bezeled border.



---

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)