Author Topic: Font popup menu in TMemo  (Read 346 times)


  • Jr. Member
  • **
  • Posts: 61
Font popup menu in TMemo
« on: December 09, 2019, 06:56:05 pm »

I'm using Lazarus x86_64 2.0.6 with Cocoa. I guess if there is the way to modify the TMemo component, or better an instance of it, so that its popup menu doesn't show the font menu. This is not useful, since each formatting will be lost.

I guess the way should be to set to false the flag isRichText described in in the NSTextView implementation. Any idea on how to do this?



  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2544
Re: Font popup menu in TMemo
« Reply #1 on: December 09, 2019, 07:26:06 pm »
1) you might want to assign a custom popup menu to TMemo
2) TMemo is setting richText to false
Patron Cocoa Widgetset development


TinyPortal © 2005-2018