# MacOSlib TextArea Example question

**URL:** <https://ifnotnil.com/t/macoslib-textarea-example-question/1934>\
**Category:** Other\
**Created:** [25 July 2021 08:49 UTC](https://ifnotnil.com/t/macoslib-textarea-example-question/1934 "2021-07-25T08:49:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkusWinter](https://ifnotnil.com/user_avatar/ifnotnil.com/markuswinter/32/32_2.png) [@MarkusWinter](https://ifnotnil.com/u/MarkusWinter)\
**Post date:** [25 July 2021 08:49 UTC](https://ifnotnil.com/t/macoslib-textarea-example-question/1934/1 "2021-07-25T08:49:33Z")

</div>

I copied the MacOSlib and the “additional Modules” into my project, and copied all the code from the TextArea Example to my TextArea - however the example can respond to CMD-F aka Find and shows the find bar, but my project can’t … and I can’t find how that is done! I was expecting some MenuHandler somewhere but where?

Anyone can point me in the right direction?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [25 July 2021 14:10 UTC](https://ifnotnil.com/t/macoslib-textarea-example-question/1934/2 "2021-07-25T14:10:47Z")

</div>

Its quite possibly related to this  
[http://feedback.xojo.com/case/63615](http://feedback.xojo.com/case/63615)

~~I dont have a 64 bit clean version of macOSLib so cant test to be sure~~  
Just cloned the repo  
Will peek

EDIT : no the textarea example window is not set up with a special ProcID

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [25 July 2021 14:47 UTC](https://ifnotnil.com/t/macoslib-textarea-example-question/1934/3 "2021-07-25T14:47:32Z")

</div>

And you have the open event of the text area set up the same ?

```auto
Me.UsesFindPanel = True
me.UsesFindBar = true
```

this make the text area use the OS provided find capability

---

<div class="post-metadata">

**Author:** ![MarkusWinter](https://ifnotnil.com/user_avatar/ifnotnil.com/markuswinter/32/32_2.png) [@MarkusWinter](https://ifnotnil.com/u/MarkusWinter)\
**Post date:** [25 July 2021 19:30 UTC](https://ifnotnil.com/t/macoslib-textarea-example-question/1934/4 "2021-07-25T19:30:04Z")

</div>

Got it - all I needed was some sleep.

In the menubar you need to set the Find menu to CocoaMenuItemFind

Thanks for the help!
