View Single Post

  #2 (permalink)  
Old 11-02-2007
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: How to detect Shape Name on SelectionChange event

Hi,

theObject as Shape;

will null theObject if it is not a Shape. This is same syntax in almost any language I know.
Reply With Quote