Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic IItemViewer.Draw (Read 1583 times)
Henk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 16th, 2009
IItemViewer.Draw
Jul 13th, 2009 at 12:54pm
Print Post  
Hi,

when I register a custom item viewer for a custom item class and leave the implementation of Draw() empty, I'd expect that I have an "invisible" item in my calendar. It's not the case: an empty item with a header border and some kind of shadow is rendered, which seems at least to me like a bug. Is it the intended behavior or am I missing something?

A complete custom drawing through delegates works for me though, but the way like this I lose the benefit of using individual custom item drawers for my various item classes.

advTHANKSance,
Henk
  
Back to top
 
IP Logged
 
Henk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Jun 16th, 2009
Re: IItemViewer.Draw
Reply #1 - Jul 13th, 2009 at 1:18pm
Print Post  
forgotten to mention, all these apply to the resource view!

Henk
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: IItemViewer.Draw
Reply #2 - Jul 13th, 2009 at 1:29pm
Print Post  
The shadow of an item and its bands (the rectangles used for modification in Timetable and Resource views) are not subject to drawing of the item's viewer.

However, you can still completely toggle visibility (on a per-item basis) by settings the item's Visible property to false.

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