Select to view content in your preferred language

Focus lost from custom control (listview) inside the dock pane on selecting table rows

382
1
04-07-2023 08:53 AM
newbiedotnetguy
New Contributor III

 

Hi,

I have created a custom control inside a ArcGIS dock pane. In the custom control I have a list view which displays some data. On selecting any list view item I have to select the ArcGIS table whose data is actually present in the list view. But on selecting the table data, focus from the list view item is getting lost. 

Below is code I am using to select the table data which is making the list view item lost the focus:

myTable.Select(new QueryFilter { SubFields = "*", WhereClause = $"OBJECTID IN ({ids})" });

Any help?

@Wolf @GKmieliauskas @UmaHarano 

Tags (1)
0 Kudos
1 Reply
Wolf
by Esri Regular Contributor
Esri Regular Contributor

I can't duplicate your problem with a Dockpane containing a listbox.  The focus on the listbox is maintained on my sample.  I attached the sample for your reference.  Without seeing some sample code showing your issue it's usually not possible to duplicate a problem.

 

0 Kudos