ArcFM Desktop Overview > ArcFM Solution Basics > Application Runtime Environment > Application Status Bar |
The MMArcGISRuntimeEnvironment (RTE) can be used to display status bar messages. It is not necessary to specify expressly which application because the RTE is aware of the environment in which it is running and will take the appropriate steps to display the message in the correct environment. The following code sample demonstrates how you may add and clear text strings to the Status Bar. |
|
C# Snippet |
Copy Code
|
---|---|
private DisplayStatusBarMessage(string statusBarMessage) { IMMArcGISRuntimeEnvironment RTE = new ArcGISRuntimeEnvironment(); if (null == RTE) return; RTE.SetStatusBarMessage(statusBarMessage); } private ClearStatusBarMessage(string statusBarMessage) { IMMArcGISRuntimeEnvironment RTE = new ArcGISRuntimeEnvironment(); if (null == RTE) return; RTE.ClearStatusBarMessage; } |