Print Page | Close Window

Change text Color with dark background for event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=19994
Printed Date: 04 December 2024 at 9:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Change text Color with dark background for event
Posted By: BCS123
Subject: Change text Color with dark background for event
Date Posted: 26 July 2012 at 11:03am
evaluating the controls and using vb6 (yes i know I am outdated but client requires this)





From my screen shots u can see that the text is almost unreadable. I would like to know how to change the text color to white if its a dark background (outlook automatically does this and it would be great if codejocks calendar can do the same). The theme I am using is Outlook2007Blue. These are the colors that I set the labels to


    CalendarControl.DataProvider.LabelList.AddLabel 11, &HFF00FF, "Fushia"
    CalendarControl.DataProvider.LabelList.AddLabel 12, &H800080, "PurpleMagenta"
    CalendarControl.DataProvider.LabelList.AddLabel 13, &H8080&, "OliveGreen"
    CalendarControl.DataProvider.LabelList.AddLabel 14, &HFFFF00, "Aqua"
    CalendarControl.DataProvider.LabelList.AddLabel 15, &HFFFF&, "BrightYellow"
    CalendarControl.DataProvider.LabelList.AddLabel 16, &HC00000, "DarkBlue"

thanks in advance for any help uploads/4533/calendarMonth.zip -



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net