diana31

CustomCommandsZoomToLayer() is not Enabled, Help

Discussion created by diana31 on Mar 30, 2011
Latest reply on Mar 30, 2011 by diana31
Hi everybody! I have a doubt and I know you can help me. I am doing an application whit ArcGis Engine using Java and I did a menu with ToolbarMenu() in which I inserted: ControlsZoomToSelectedCommand(). When I run my application I select the features and try to use this command but this is not enabled. Can somebody tell me what I am doing wrong please???

menu.addItem(new ControlsZoomToSelectedCommand(), 0, 0, false, esriCommandStyles.esriCommandStyleIconAndText);


Thank you very much.

Outcomes