DoAreaAction(Argument: Variant);
Argument - territory identifier.
The DoAreaAction method generates a mouse click event on the map territory. Event handling unit is set using the IPrxMap.AreaAction property.
The following example assumes that there is the Report object with the IPrxReport type.
Sub UserProc;
Var
Report: IPrxReport;
Sheet: IPrxSheet;
Tab: ITabSheet;
Map: IPrxMap;
Begin
Sheet := Report.ActiveSheet;
Tab := (Sheet As IPrxTable).TabSheet;
Map := Tab.Objects.Item(0).Extension As IPrxMap;
Map.DoAreaAction(26);
End Sub UserProc;
After executing the example an event is generated for the map territory that has the 26 identifier.
See also: