Hi, so I'm improving a Markdown editor for Mac using Lazarus 4.5 and Cocoa framework. I've a TMemo component on a form, called dbText, and I set all its properties in this way:
TCocoaTextView(NSScrollView(dbText.Handle).documentView).
setRichText(True);
TCocoaTextView(NSScrollView(dbText.Handle).documentView).textContainer.
setLineFragmentPadding(50);
...and so on. Now I want to activate the find panel or the find bar of the dbText component, but if I call
TCocoaTextView(NSScrollView(dbText.Handle).documentView).
setUsesFindPanel(True);
or
TCocoaTextView(NSScrollView(dbText.Handle).documentView).
performFindPanelAction(nil);
nothing happens. Any idea on how to make it work? Thanks!