Altova MapForce 2025 Enterprise Edition

MapForceControl.OnOpenedOrFocused

Home Prev Top Next

Event: OnOpenedOrFocused (i_strFilePath as String, i_bOpenWithThisControl as bool)

 

Dispatch Id: 1000

 

Description:

When integrating at application level, this event informs clients that a document has been opened, or made active by MapForce.

 

When integrating at document level, this event instructs the client to open the file i_strFilePath in a document window. If the file is already open, the corresponding document window should be made the active window.

 

if i_bOpenWithThisControl is true, the document must be opened with MapForceControl, since internal access is required. Otherwise, the file can be opened with different editors.

 

© 2018-2024 Altova GmbH