Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Darwin Cocoa: Tabs don't show pictures
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
Status of FPC 3.4.0 or FP...
by
Martin_fr
[
Today
at 02:12:21 pm]
Help needed compiling
by
CM630
[
Today
at 02:12:16 pm]
ThorVG - test (lightweigh...
by
Zvoni
[
Today
at 01:29:05 pm]
Debian removes FPC/Lazaru...
by
kupferstecher
[
Today
at 11:46:26 am]
Problems in drawing an ar...
by
simsee
[
Today
at 11:34:26 am]
Select rectangle of the i...
by
backprop
[
Today
at 11:20:42 am]
[ANN] fpGUI Toolkit v2.0....
by
Roland57
[
Today
at 11:14:36 am]
The Future of FPC
by
n7800
[
Today
at 11:10:42 am]
Form designer on MAC: Des...
by
tk
[
Today
at 11:07:28 am]
Reverting to Old AnchorDo...
by
CM630
[
Today
at 10:27:21 am]
makefiles
by
Key-Real
[
Today
at 10:04:55 am]
fpGUI Toolkit v2.0.1 has ...
by
PierceNg
[
Today
at 09:13:32 am]
[SOLVED] Sort DBGrid
by
Zvoni
[
Today
at 08:28:39 am]
DCPcrypt v2.0.6 — Cryptog...
by
Okoba
[
Today
at 07:47:36 am]
Old problem returns...
by
Lutz Mändle
[
Today
at 06:56:53 am]
Fixing Lazarus 4.4 IDE la...
by
dbannon
[
Today
at 05:52:05 am]
Strange Error in My Code ...
by
TYDQ
[
Today
at 01:17:35 am]
Fpcupdeluxe
by
creaothceann
[
Today
at 12:09:07 am]
; after then
by
440bx
[February 11, 2026, 10:29:20 pm]
Lazarus for Windows on aa...
by
Wallaby
[February 11, 2026, 10:21:41 pm]
Fast Canvas Library V1.05...
by
backprop
[February 11, 2026, 08:15:33 pm]
TRichMemo EM_FORMATRANGE ...
by
rvk
[February 11, 2026, 07:54:30 pm]
[SOLVED] Lazarus recompil...
by
Hartmut
[February 11, 2026, 06:00:38 pm]
Defining TDBDropDownCombo...
by
1HuntnMan
[February 11, 2026, 04:12:04 pm]
Rolling releases Lazarus[...
by
ALLIGATOR
[February 11, 2026, 03:28:46 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Darwin Cocoa: Tabs don't show pictures (Read 3899 times)
zoltanleo
Hero Member
Posts: 509
Darwin Cocoa: Tabs don't show pictures
«
on:
September 06, 2021, 11:34:40 pm »
Hi folks!
I am trying to display pictures on pagecontrol components tabs. I don't succeed it for Darwin, in other OS the pictures are displayed correctly.
It's a bug?
Logged
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW
Sorry for my bad English, I'm using translator
trev
Global Moderator
Hero Member
Posts: 2032
Former Delphi 1-7, 10.2 user
Re: Darwin Cocoa: Tabs don't show pictures
«
Reply #1 on:
September 07, 2021, 03:19:28 am »
If you look at the Apple Cocoa documentation for
NSTabView
you will note that there is no facility for including an image in a tab.
Logged
skalogryz
Global Moderator
Hero Member
Posts: 2770
Re: Darwin Cocoa: Tabs don't show pictures
«
Reply #2 on:
September 07, 2021, 08:50:27 am »
trev
is right
not quite right.
NSTabViewItem
is responsible for the page control tabs. There's a property added for an image... however, it's only available for macOS 10.10 (and was never implemented originally)
It's also need to note, that
masOS design guildelines
doesn't even mention the possibility of having an image on the tabview.
Instead the use of "label" is encouraged.
«
Last Edit: September 07, 2021, 09:03:00 am by skalogryz
»
Logged
zoltanleo
Hero Member
Posts: 509
Re: Darwin Cocoa: Tabs don't show pictures
«
Reply #3 on:
September 07, 2021, 09:39:43 am »
@trev
@skalogryz
Thank you for your answers and patience. Makos is a completely new system for me. Therefore, I will always be grateful for additional information.
Logged
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa x86_64 (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW
Sorry for my bad English, I'm using translator
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
Cocoa
»
Darwin Cocoa: Tabs don't show pictures
TinyPortal
© 2005-2018