Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
[solved] tvplanit: How can I make my events look colored?
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
PascalRAL the fastest, mo...
by
Mobius1
[
Today
at 10:27:40 am]
TDateTimePicker - Make th...
by
AlexanderT
[
Today
at 09:57:05 am]
TCollection wiki entry
by
Thaddy
[
Today
at 05:44:53 am]
I have made some progress...
by
onionmixer
[
Today
at 04:17:27 am]
equivalent to C/C++ "offs...
by
creaothceann
[
Today
at 12:50:49 am]
UI app to work with SQLit...
by
LeP
[
Today
at 12:50:04 am]
Elite Arcade
by
Guva
[July 11, 2026, 11:25:29 pm]
Freepascal
by
marcelomaurinmartins@gmai
[July 11, 2026, 11:24:44 pm]
International Pascal Cong...
by
vincococka
[July 11, 2026, 11:18:49 pm]
Printing on HP Smart Tank
by
JerryHudson
[July 11, 2026, 10:22:12 pm]
Help needed on how to do ...
by
cdbc
[July 11, 2026, 08:38:38 pm]
Why is my program freezin...
by
paweld
[July 11, 2026, 07:19:46 pm]
is there PDS reader/expor...
by
jamie
[July 11, 2026, 07:01:12 pm]
Fpcupdeluxe
by
cdbc
[July 11, 2026, 06:40:29 pm]
weird error message
by
jamie
[July 11, 2026, 06:37:01 pm]
Como compilar uma lib par...
by
marcelomaurinmartins@gmai
[July 11, 2026, 06:24:51 pm]
Desenvolvimento visual pa...
by
marcelomaurinmartins@gmai
[July 11, 2026, 06:19:16 pm]
OpenDocument('Filename') ...
by
J-G
[July 11, 2026, 06:13:03 pm]
TTL Record Count, i.e. a ...
by
1HuntnMan
[July 11, 2026, 06:05:29 pm]
Using callback
by
LemonParty
[July 11, 2026, 05:43:15 pm]
Source Editor Collapsed P...
by
J-G
[July 11, 2026, 11:17:14 am]
Habari STOMP Clients for ...
by
mjustin
[July 11, 2026, 11:15:54 am]
Questions on slight diffe...
by
egsuh
[July 11, 2026, 09:45:30 am]
Have anybody used Horse f...
by
egsuh
[July 11, 2026, 08:31:21 am]
Problems with creating a ...
by
jamie
[July 11, 2026, 12:10:44 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] tvplanit: How can I make my events look colored? (Read 925 times)
Nicole
Hero Member
Posts: 1324
[solved] tvplanit: How can I make my events look colored?
«
on:
July 26, 2022, 06:50:04 pm »
I want to see the colors of my cathegories in my view, but all stay gray.
This is what I tried (it lets my drop down list look nicely, but does not color the events in the calendar:
Code: Pascal
[Select]
[+]
[-]
with
TvPlanItFrame
.
VpIniDatastore_Quelle
.
CategoryColorMap
do
begin
Category0
.
Description
:
=
'Finanz'
;
Category1
.
Description
:
=
'privat'
;
Category2
.
Description
:
=
'Haushalt'
;
Category3
.
Description
:
=
'Jahrestage'
;
Category4
.
Description
:
=
'RJO'
;
Category5
.
Description
:
=
'div intraday'
;
Category6
.
Description
:
=
'Feiertage USA'
;
Category7
.
Description
:
=
'Feiertage Deutschland'
;
Category8
.
Description
:
=
'Feiertage Österreich'
;
Category9
.
Description
:
=
'Sonstiges'
;
Category0
.
Color
:
=
Farbe_Typ1
;
Category1
.
Color
:
=
Farbe_Typ2
;
Category2
.
Color
:
=
Farbe_Typ3
;
Category3
.
Color
:
=
Farbe_Typ4
;
Category4
.
Color
:
=
Farbe_Typ5
;
Category5
.
Color
:
=
Farbe_Typ6
;
Category6
.
Color
:
=
Farbe_Typ7
;
Category8
.
Color
:
=
Farbe_Typ9
;
// Farbe 9 lasse ich auf default
end
;
«
Last Edit: July 27, 2022, 07:50:27 am by Nicole
»
Logged
wp
Hero Member
Posts: 13625
Re: tvplanit: How can I make my events look colored?
«
Reply #1 on:
July 26, 2022, 07:36:31 pm »
Category.Color is the color of the "gutter" (thick left border in the day view). What you probably need, is the
Category.BackgroundColor
.
Logged
Nicole
Hero Member
Posts: 1324
Re: tvplanit: How can I make my events look colored?
«
Reply #2 on:
July 27, 2022, 07:50:09 am »
exactly!
Thank you!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
[solved] tvplanit: How can I make my events look colored?
TinyPortal
© 2005-2018