Member
2009-10-21, 05:36 PM
Quote:
Originally Posted by DamonC
I've also added a test to see if the selected item is a project by trapping for a parent task. I don't know if that's the correct way to test an item for being a project but it's all I could come up with for now.
|
To check whether anItem is a project use:
Code:
if (class of anItem is project) then
-- do something projecty with anItem
end if
__________________
Cheers,
Curt