Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TGCalendar color

 Post Reply Post Reply
Author
Schaer Daniel View Drop Down
New Member
New Member
Avatar

Joined: 26 Apr 2018
Posts: 5
Post Options Post Options   Quote Schaer Daniel Quote  Post ReplyReply Direct Link To This Post Topic: TGCalendar color
    Posted: 08 May 2018 at 8:23pm
Hi;

I can't figure out how to set the color for a calendar when I create it. I tried to use (for example):

var
  GCal: TGCalendar;
begin
  GCal := GCalen.Calendars.Add;
  GCal.Summary := FName;
  GCal.Color := ccBoldRed;
  GCal.BackgroundColor := clRed;
  GCal.ForegroundColor := clRed;
  ... etc etc

But every time Google sets a different color. I trie to use each property one by one, an also all together.

How can I set a fixed color for the whole calendar?

Thank you !!
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2212
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2018 at 9:45am
Hi,

At this time Google Calendar color settings can only be retrieved but not set via TAdvGCalendar.
However, this is a good suggestion and we'll investigate if this functionality can be added in a future version of TMS VCL Cloud Pack.
Back to Top
Schaer Daniel View Drop Down
New Member
New Member
Avatar

Joined: 26 Apr 2018
Posts: 5
Post Options Post Options   Quote Schaer Daniel Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2018 at 1:48pm
Thank you!; problem is ... every time I re-create the calendar, Google is setting a different color. So users can't use color as a reference.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down