Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Programming
»
Networking and Web Programming
»
Google Calendar API
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
FAQ
Wiki
Bugtracker
Packages
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: Google Calendar API (Read 878 times)
Ghostwalker
Newbie
Posts: 1
Google Calendar API
«
on:
June 02, 2017, 01:53:53 pm »
Hi everyone
I try to get the Calendar-Information from Google using the GoogleCalendar-API shipped with lazarus.
I got the demo to run, this works fine. But know i've tried to get the colors for the events.
Code: Pascal
[Select]
function
GetEventColor
(
ColorId
:
string
)
:
string
;
var
colors
:
TColors
;
begin
result
:
=
''
;
colors
:
=
fCalendarAPI
.
ColorsResource
.
get
;
So far so good.
How i can know get a TColorDefinition from the Class ? There are only two properties (calendar and event),
of Type TColorsTypecalendar/TColorsTypeevent. What i'm missing is a way to the TColorDefinition, so i can get background and foreground.
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Programming
»
Networking and Web Programming
»
Google Calendar API
Recent
Following code crashes ap...
by
jamie
[
Today
at 02:43:49 am]
StringGrid scrolling
by
PatBayford
[
Today
at 02:35:27 am]
Console 24 line limit.
by
DarkDiosito
[
Today
at 02:13:56 am]
Linux TUN
by
benohb
[
Today
at 02:04:57 am]
is it possible to stream ...
by
taazz
[
Today
at 12:47:05 am]
Lack of SSL on wiki?
by
Zoran
[
Today
at 12:13:33 am]
macOS 32-bit app warning
by
Phil
[
Today
at 12:08:16 am]
Alt-G does not work any m...
by
zamtmn
[April 23, 2018, 10:55:05 pm]
Material Design
by
lainz
[April 23, 2018, 10:10:01 pm]
Fortes Report (CE) - Expo...
by
JanRoza
[April 23, 2018, 09:53:53 pm]