You are here: > ESRI Forums > arcgis desktop discussion forums > Thread Replies

ArcGIS Desktop Discussion Forums

ArcGIS Desktop - ArcObjects General forum

help for layers events of TOC in arcmap   xin kunlun Dec 19, 2003
Re: help for layers events of TOC in arcmap   Arvindh ChandraMohan Dec 25, 2003
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject help for layers events of TOC in arcmap 
Author xin kunlun 
Date Dec 19, 2003 
Message hi,everyone!

I want to implement a dockable window in which a flexgrid is filled with data of the selected layer in the TOC Layerview .
And I want the content of this window should be refreshed when the selected layer is changed, however ,I do not know which event is fired when selected layer focus in the treeview changes.
Could anyone give me some help? Thank you very much!

 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: help for layers events of TOC in arcmap 
Author Arvindh ChandraMohan 
Date Dec 25, 2003 
Message did you try using the 'ICommand_Enabled' property for checking the current select layer..have a global variable to hold the selected layer...if changed, then do the required stuff...precisely, what i suggest is using the ICommand_Enabled as the event you are looking for... 
  Avi