Locations
- Updated2025-04-09
- 1 minute(s) read
Locations
Locations is a collection of Location objects. Use Locations to instruct the user interface to update the selection. Follow these steps to set the selection in a user interface:
- Call the Engine.NewLocations method to create a Locations object.
- Call the Locations.AddFileLocation , Locations.AddExecutionLocation , or Locations.AddTypeLocation method on a Locations object to specify data for the user interface to select.
- Call the Locations.GotoLocation method on the Locations object to send the Locations object to the user interface.
- The user interface receives the Locations object through the UIMessage.ActiveXData property of a UIMsg_GotoLocation UIMessage.
- If the user interface supports the Goto location action, it updates the selection to correspond to the Locations object.