---
title: "setMnemonicLocation:"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscell/setmnemoniclocation:"
---

# setMnemonicLocation:

Sets the character of the receiver’s title to be used as a mnemonic character.

## Declaration

```occ
- (void) setMnemonicLocation:(NSUInteger) location;
```

## Parameters

- `location`: The zero-based index into the cell’s title string specifying the location of the mnemonic character. The specified character is underlined when the title is drawn.

## Discussion

Discussion Mnemonics are not supported in macOS.

## See Also

### Deprecated Methods

- [setEntryType:](appkit/nscell/setentrytype:.md)
- [entryType](appkit/nscell/entrytype.md)
- [isEntryAcceptable:](appkit/nscell/isentryacceptable:.md)
- [setFloatingPointFormat:left:right:](appkit/nscell/setfloatingpointformat:left:right:.md)
- [setTitleWithMnemonic:](appkit/nscell/settitlewithmnemonic:.md)
- [mnemonic](appkit/nscell/mnemonic.md)
- [mnemonicLocation](appkit/nscell/mnemoniclocation.md)
