Visual Basic: conditional on an item's parent
Hiyas!
Am currently using a mini VB script to color some items' backgrounds based on field values. The problem is that when I move them to become children, the field value I am basing this on is erased, so I would have to check whether the item's parent has that field value set (the items in question will only ever be demoted to second level so I'd only have to go up one level with the parent check).
How can I do that, please?
Here is the code I'm currently using:
Function CalendarColor(ItemColor, ItemIsRecurring, ItemInCalendar, A_Action)