Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

How to open a fully functioning attribute window with ArcObjects from ArcMap?

$
0
0
Hi Everbody:

I try open an attribute window for a feature layer with ArcObjects

Code:

targetWindow = new TableWindowClass();
targetWindow.Layer = targetLayer;
targetWindow.Application = app;
if (!targetWindow.IsVisible)
{
  targetWindow.Show(true);
}
targetWindow.TableControl.RemoveAndReloadCache();
targetWindow.Refresh();

However the attribute window open this way does not allow user to display the selected features only, nor displaying how many features are selected. user cannot select features from this attribute window. Please see the attached image for details.

How can I open a fully functional attribute window from code?

Thank you.
Attached Thumbnails
Click image for larger version

Name:	attributeWin.png‎
Views:	N/A
Size:	22.9 KB
ID:	27305  

Viewing all articles
Browse latest Browse all 1374

Trending Articles