10372 : When collision detection is enabled is it possible to ensure that ALL time items are of standard height?

Question

When collision detection is enabled is it possible to ensure that ALL time items are of standard height. I want to prevent time items which don’t collide from expanding in height.

Do I need to use OnTimeItem_UserDraw for this? Are there some examples of the use of this method?

 

Answer

Currently non colliding time items will take on the height of the row minus the TopInset and BottomInset from the timeitemlayout. If you want to override the height of a time item you can do so by implementing the user draw. In the article in the link below the user draw is used to draw a progress bar inside a time item, but you can just as well limit the rectangle and draw a thinner time item. http://plexityhide.dyndns.org/InstantKB13/Article.aspx?id=10210

Leave a Reply