Locations.GotoLocation
- Updated2025-07-21
- 1 minute(s) read
Locations.GotoLocation
Syntax
Locations.GotoLocation( options = 0)
Purpose
This method sends this Locations collection to the user interface in a synchronous UIMsg_GotoLocation user interface message. If the user interface supports GotoLocation, the user interface displays this location by updating which controls are visible and active and by updating the selected state of controls.
Remarks
After you call this method, you can use the Locations.LocationFound property to see if the user interface successfully went to the location. If the Locations.LocationFound property is False , you can use the Locations.LocationNotFoundMessage property to obtain a description of why the user interface could not go to the location.
Parameters
options As Long
[In] Specifies any combination of GotoLocationOptions .
This parameter has a default value of 0 .