View Single Post
  #2 (permalink)  
Old October 11th, 2008, 07:19 AM
Dan6 Dan6 is offline
Authorized User
 
Join Date: Feb 2007
Location: , , United Kingdom.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Razzy,

I see that you posted this a while ago now, so you've probably already figured out what's wrong. But just in case...

This looks suspiciously like a copy and paste error. In the lines of code which handle the element type section of the context menu the tests you're performing are against the 'Color' variable e.g. 'LINE == Color'. I think you need to change these tests to act on the 'ElementType' variable e.g. 'RECTANGLE == ElementType ...".

I think this should solve your problem. I hope that helps.

Dan