SetAlternateInterface(), SetLibrary()

Summary

Sets the name of the alternate User Interface (UI) database.

Syntax

SetAlternateInterface(string ui_db_name)

Argument Contents
ui_db_name The full path and filename of the alternate UI database, or null to clear an alternate UI database

Notes

  • The alternate UI database is searched for macros and dialog boxes before the current UI database.

  • There can be only one alternate UI database at a time, though repeated calls to SetAlternateInterface() will create a stack of alternate UI databases. If you set one alternate UI database and then set another, call SetAlternateInterface(null) to restore the previous alternate UI database as the current one.

  • Can also be called as SetLibrary().

Example

SetAlternateInterface("geocode")
// Do some geocoding, then clear the Geocode UI from the stack
SetAlternateInterface(null)

Error Codes

Error Type Meaning
Error The UI database cannot be opened