![]() |
Crash on populate |
Post Reply ![]() |
Author | |
mhe240 ![]() Newbie ![]() Joined: 15 June 2010 Location: United States Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 15 June 2010 at 6:52pm |
Crash on populate
When I set a event to all day event I'm getting a crash. I'm using a custom data provider. |
|
![]() |
|
SuperMario ![]() Senior Member ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
What is the error you get?
|
|
![]() |
|
mhe240 ![]() Newbie ![]() Joined: 15 June 2010 Location: United States Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Run-time error '2147417848 (80010108)':
Method 'Populate' of object '_DCalendar Control' failed This was a error that was raised. The Method 'Populate' can sometimes change to a Method 'Redraw'(not sure exact spelling) instead. Currently, the program crashes without a error message when cal.Populate is called. Setting the AllDayEvent flag to false and the event loads in the calendar, but when any event has AllDayEvent set to true, it crashes on populate. |
|
![]() |
|
mhe240 ![]() Newbie ![]() Joined: 15 June 2010 Location: United States Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
' lTheme.DayView.Day.Group.MultiDayEvent.HeightFormula.Constant = 0
' lTheme.DayView.Day.Group.MultiDayEvent.HeightFormula.Multiplier = 0 ' lTheme.DayView.Day.Group.MultiDayEvent.HeightFormula.Divisor = 1 ' lTheme.DayView.Day.Group.SingleDayEvent.HeightFormula.Constant = 0 ' lTheme.DayView.Day.Group.SingleDayEvent.HeightFormula.Multiplier = 0 ' lTheme.DayView.Day.Group.SingleDayEvent.HeightFormula.Divisor = 1 I have solved the problem, it had to do with these settings in the theme object being used by the calendar. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |