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.
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