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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TComboBoxEx & TCheckCombo...
by
Paolo
[
Today
at 07:10:08 pm]
Application.QueueAsyncCal...
by
hedgehog
[
Today
at 07:04:11 pm]
International Pascal Cong...
by
Mike.Cornflake
[
Today
at 06:45:37 pm]
SpreadSheet Add Chart Lin...
by
eldonfsr
[
Today
at 06:19:33 pm]
How do 'with' statements ...
by
Thaddy
[
Today
at 05:48:50 pm]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 05:35:18 pm]
How to view the TODO list...
by
dsiders
[
Today
at 04:32:18 pm]
How to access inherited m...
by
Thaddy
[
Today
at 04:12:38 pm]
Anubis activated
by
LemonParty
[
Today
at 03:46:01 pm]
RunFormula: math expressi...
by
LeP
[
Today
at 03:39:53 pm]
Setting canvas offset wit...
by
jamie
[
Today
at 03:14:04 pm]
Limiting Search in TSelec...
by
jamie
[
Today
at 03:09:21 pm]
using make with a differe...
by
Thausand
[
Today
at 02:41:39 pm]
FreeBSD 13/14: RTL dirent...
by
Fred vS
[
Today
at 02:33:11 pm]
Scripts to generate ofici...
by
Martin_fr
[
Today
at 02:02:56 pm]
Problems with form.AutoSc...
by
OH1KH
[
Today
at 12:07:44 pm]
AVRPascal – free code edi...
by
ackarwow
[
Today
at 09:23:14 am]
Can /my/ AI help me with ...
by
valdir.marcos
[
Today
at 08:34:18 am]
Laz program on ChromeOS?
by
Thaddy
[
Today
at 07:58:21 am]
Show Case: WritingTool
by
foldl2026
[
Today
at 07:54:04 am]
Gtk3 widgetset - call for...
by
dbannon
[
Today
at 03:23:51 am]
Is it timing of a dataset...
by
egsuh
[
Today
at 02:46:11 am]
FPC Git main: bug, which ...
by
AlexTP
[May 08, 2026, 07:32:53 pm]
Jerky animation (windows)
by
hedgehog
[May 08, 2026, 06:45:34 pm]
Various Variant Arrays
by
egsuh
[May 08, 2026, 06:16:24 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Font popup menu in TMemo (Read 1537 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