AnsweredAssumed Answered

"Display the attribute dialog before storing new features" bypasses FeatureInspector

Question asked by geonetadmin on Jul 2, 2010
Latest reply on Oct 20, 2010 by geonetadmin
Original User: r_pankevicius

Hi,

If the user set in Editing Options (accessed from standard Editor toolbar) in Attributes tab that he/she wants to "Display the attribute dialog before storing new features" ArcMap displays standard ArcMap attribute window in a modal dialog.

If target feature class has a class extension registered and implemented IObjectInspector control the expected bahaviour is a customized attributes dialog, not a standard one. It's inconsistent as user sees customized attributes page for existing features but a standard one for new features.

See attached picture: 2 different attributes windows are shown at the same time: point with OBJECTID=2 is shown using Attributes toolbar button (modeless customized dialog).  point with OBJECTID=3 is popped up after user just created a new point using Sketch tool.

I reproduced this by using Tabbed feature inspector C# sample: http://edndoc.esri.com/arcobjects/9.2/NET/FBB894AD-16DF-4FAD-82F6-F0CA13B5BE7D.htm

Data file with point feature class with correct class extension is attached (TfiSample.gdb.zip) so you can delete AddEXTCLSID command from solution.

Anyone knows how to solve this problem?

Platform: ArcMap 9.3, WinXP. (But works same odd way on ArcGIS 10 too.)

Outcomes