![]() |
This document is archived and information here might be outdated. Recommended version. |
Provides access to a means of displaying modeless dialogs implemented with VisualBasic.
The ModelessFrame object provides Visual Basic developers with a way to implement modeless windows in ArcGIS without requiring VBA to initialize. It is essentially a wrapper around ordinary VB forms. The ModelessFrame object requires minimal changes to existing VB code to take advantage of it. It will also manage the Z order of modeless forms so that they behave correctly with respect to application focus and ensures that the window minimizes and restores appropriately with the ArcGIS application.
You should only need to use IModelessFrame when you are developing with Visual Basic. Modeless forms implemented in other development environments�including C++, C#, and VB.NET�will work as expected in ArcGIS without needing to implement this interface.
Name | Description | |
---|---|---|
![]() |
Caption | The caption of the modeless frame. |
![]() |
Create | Creates the modeless frame around the specified VisualBasic form object. |
![]() |
Visible | Indicates if the modeless frame is visible. |
Classes | Description |
---|---|
ModelessFrame | Object that implements a ModelessFrame. |
When hosting VB forms within any application not written in Visual Basic itself, the Tab index of forms may not be honored correctly. To address this problem, the controls within a form should be created in their Tab index order. Use the 'ESRI Align Controls with Tab Index' VBAddin.
Tabbing will not work for controls that are nested within a container, for example controls that are nested within a frame of a tab strip control. Move these controls out of the containers and place them back onto the VB form to resolve.
IModelessFrame is not applicable in .Net. Use Form.Show() to bring up a modeless dialog instead.
IModelessFrame is not applicable in .Net. Use Form.Show() to bring up a modeless dialog instead.