[FMX] FNCPlanner GetWidth of item when two side by side

Hi,
How do i get the right size of a planner item, when they are drawn side by side.
(verticalmode)

Can you explain a bit more in detail what you want to achieve? Do you want the pixel size, the date? Do you want to apply a custom event of some sort?

Hi,
No i have an overlay (TLayout) over the Planner component, and i have there layouts per item.
In these layouts i place custom state icons for the Item.

Best would be if there would be an option, to have an container (TLayout) for every Item on the calendar. But i think that would give some implementation problems for multi platform....

Each item is drawn, so you can override the drawing with OnBeforeDrawItem & OnAfterDrawItem. You cannot add objects to the item unfortunately.

Okay, you have a suggestion to get "blinking/animated" icons for each item?
Maybe there's a better solution then the layouts i thought of ?

Blinking/animated icons would mean you have to trigger a Invalidate/Repaint instruction from a timer, which will then trigger the OnAfterDrawItem. Note that redrawing the planner each time will potentially affect performance.