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
Install new .deb over exi...
by
dbannon
[
Today
at 01:45:27 pm]
FastCGI vs. CGI
by
egsuh
[
Today
at 12:45:05 pm]
Is this safe, changing fr...
by
Thaddy
[
Today
at 10:29:55 am]
Many recent books on Laza...
by
Thaddy
[
Today
at 08:47:32 am]
Difference between @ and ...
by
DavidTh30
[
Today
at 07:58:00 am]
try/except error
by
Thaddy
[
Today
at 07:23:48 am]
How to connect to MariaDb...
by
Thaddy
[
Today
at 07:18:13 am]
docking IDE
by
kapibara
[
Today
at 04:20:33 am]
Isn’t this funny?
by
Joanna
[
Today
at 12:04:29 am]
Error when opening a proj...
by
Tomu
[July 15, 2026, 09:36:13 pm]
Slow app start on M5 MacB...
by
Thaddy
[July 15, 2026, 03:36:57 pm]
Solpage
by
munair
[July 15, 2026, 01:47:30 pm]
Need help with fphttpserv...
by
Thaddy
[July 15, 2026, 12:58:30 pm]
Freepascal
by
Thaddy
[July 15, 2026, 12:39:23 pm]
Lazarus interface to Rexx...
by
Thaddy
[July 15, 2026, 12:38:10 pm]
Parsing error?
by
Thaddy
[July 15, 2026, 12:02:02 pm]
is there PDS reader/expor...
by
cdbc
[July 15, 2026, 10:55:30 am]
Peculiarities in the EXE ...
by
marcov
[July 15, 2026, 09:57:51 am]
Conscious Artificial Inte...
by
schuler
[July 14, 2026, 11:40:27 pm]
Lazarus Bugfix Release 4....
by
Martin_fr
[July 14, 2026, 10:55:23 pm]
equivalent to C/C++ "offs...
by
Thaddy
[July 14, 2026, 07:37:23 pm]
LazSWatch - a serial port...
by
CM630
[July 14, 2026, 06:11:52 pm]
MarcoV, please contact. ...
by
jbthiel
[July 14, 2026, 05:35:26 pm]
lazbuild vs IDE: PPU chec...
by
Martin_fr
[July 14, 2026, 05:30:50 pm]
OpenDocument('Filename') ...
by
cdbc
[July 14, 2026, 12:45:35 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] tvplanit: How can I make my events look colored? (Read 927 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