AnsweredAssumed Answered

call ComboBox method from MapTool

Question asked by Jack.Kelley@bigpond.com on Aug 20, 2020
Latest reply on Aug 22, 2020 by Jack.Kelley@bigpond.com

In the SDK's Examples\MapExploration\GetMapCoordinates.cs, the map coordinates become available in HandleMouseDownAsync(...).

 

Afterwards, still in HandleMouseDownAsync(...), I need to invoke a method defined in a ComboBox, something like:

public void SearchXY (double x, double y) 
{ this.queryRows = this.database.Query(x, y); UpdateCombo(); }

How can I obtain a reference to this ComboBox?

Or is an event needed?

Outcomes