Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Font popup menu in TMemo
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Lazarus 4.0 and INT3 gets...
by
What I can do
[
Today
at 06:21:54 am]
Serial port
by
Lauriet
[
Today
at 04:23:55 am]
Break program and debug
by
What I can do
[
Today
at 04:16:00 am]
Feature request/suggestio...
by
440bx
[
Today
at 02:27:30 am]
Automatically compiling d...
by
440bx
[
Today
at 02:24:03 am]
[SOLVED] How to define a ...
by
440bx
[
Today
at 02:14:21 am]
How to close a window whi...
by
n7800
[
Today
at 01:49:44 am]
Feature announcement: Fun...
by
munair
[
Today
at 01:26:22 am]
Feature Request/Suggestio...
by
440bx
[
Today
at 01:06:03 am]
A little bug in fpsimages...
by
Roni Wolf
[May 21, 2025, 11:51:57 pm]
64 bits and PascalScript
by
jamie
[May 21, 2025, 11:27:42 pm]
LAMW arduino serial comm ...
by
jmpessoa
[May 21, 2025, 11:21:46 pm]
Lazarus Release 4.0
by
dsiders
[May 21, 2025, 10:43:31 pm]
Anything more complicated...
by
440bx
[May 21, 2025, 10:21:48 pm]
How can I make an externa...
by
Sander
[May 21, 2025, 09:51:14 pm]
Database Locked Exception
by
cdbc
[May 21, 2025, 08:24:46 pm]
Learn how to (un)dock a T...
by
Hansvb
[May 21, 2025, 08:16:05 pm]
Certifying windows execut...
by
ASBzone
[May 21, 2025, 08:08:19 pm]
fpc 3.2.2 + win32api Call...
by
paule32
[May 21, 2025, 08:01:05 pm]
[SOLVED]Help: Need Advice...
by
TBMan
[May 21, 2025, 07:26:38 pm]
IDE crashes and takes so ...
by
Martin_fr
[May 21, 2025, 06:26:16 pm]
full featured Android Nat...
by
Handoko
[May 21, 2025, 06:21:06 pm]
Error trying to initializ...
by
silvercoder70
[May 21, 2025, 02:30:07 pm]
Unable to access the wiki
by
Aruna
[May 21, 2025, 01:36:51 pm]
Unexpected highlighted li...
by
Thaddy
[May 21, 2025, 11:30:15 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Font popup menu in TMemo (Read 1377 times)
maxnd
Jr. Member
Posts: 71
Font popup menu in TMemo
«
on:
December 09, 2019, 06:56:05 pm »
Hi,
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
https://developer.apple.com/documentation/appkit/nstextview/1449538-isrichtext
in the NSTextView implementation. Any idea on how to do this?
Thanks!
Logged
skalogryz
Global Moderator
Hero Member
Posts: 2770
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
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Font popup menu in TMemo
TinyPortal
© 2005-2018