Extending Rectangle Structure
Posted on 2006-06-06
I am not sure that even the title of this message is valid but I'll ask this newbie question anyway. I want to create a version of a Rectangle that contains an index so that when they are clicked on (detected via hittest), I can get the index for the selected rectangle. I would set the index as I draw them of course. I am confused as to whether Rectangle is a structure or a structure and a class. I have seen a reference in the help file that says the constructor creates a new instance of this class yet Rectangle does not show up in Intillsense. I have scoured the web and cannot figure this out though I know it has to be simple. Your help is appreciated as I learn.