Print Page | Close Window

Event Border Color

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=23082
Printed Date: 23 November 2024 at 5:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Event Border Color
Posted By: stefp76
Subject: Event Border Color
Date Posted: 28 July 2016 at 3:46am
I am developing in VB6 and using Calendar v17.2

I have specified in the form load event of the form that has the calendar control

Dim pTheme2007 As CalendarThemeOffice2007
Set pTheme2007 = OrderSchedule.Theme

pTheme2007.MonthView.Day.SingleDayEvent.Normal.subject.Font.Bold = True
pTheme2007.DayView.Event.Normal.subject.Font.Size = 11
pTheme2007.DayView.Event.Normal.Location.Font.Size = 11
pTheme2007.WeekView.Event.Normal.subject.Font.Size = 11
pTheme2007.WeekView.Event.Normal.Location.Font.Size = 11
pTheme2007.MonthView.Day.SingleDayEvent.Normal.BorderColor = vbBlack

All of the theme settings are working correctly except the last one on the list

"pTheme2007.MonthView.Day.SingleDayEvent.Normal.BorderColor = vbBlack"

It's supposed to show a black border around each event but it only works for events that either don't have a label value specified or the label value = 0 - this is true for default label values and custom label values.

See screenshot below...

Is this normal behavior?  If not is there a workaround or a different method to achieve this?

PS. I am using a custom data provider (SQL) if it make a difference.

Thanks





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