Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Override appointment paint event (Read 1786 times)
Vilhelms
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Jun 19th, 2008
Override appointment paint event
Jun 19th, 2008 at 8:47pm
Print Post  
Is there an easy way to override the default appointment paint event without having to implement a custom IItemViewer interface? I just want the standard appointment as-is but with a header icon - if I implement IItemViewer I then have to write all the display code from scratch which I do not want.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Override appointment paint event
Reply #1 - Jun 20th, 2008 at 6:27am
Print Post  
You should set the Calendar.CustomDraw property to CalendarItem or ScheduleItem, depending on whether you want to paint an item in Timetable view or in another view. Then you need to handle the Calendar.Draw event and perform any additional item drawing within the event handler.

Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint