Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMessageBox Class / Show Method / Show(NMessageBoxSettings) Method


In This Topic
    Show(NMessageBoxSettings) Method
    In This Topic
    Shows a message box with the specified settings and returns a promise which is resolved when then message box is closed.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Show( _
       ByVal settings As NMessageBoxSettings _
    ) As NPromise(Of ENWindowResult)
    'Usage
     
    
    Dim settings As NMessageBoxSettings
    Dim value As NPromise(Of ENWindowResult)
     
    value = NMessageBox.Show(settings)

    Parameters

    settings
    Remarks
    This method always shows the message box on the UI thread, i.e. if the currently executing code is not on the UI thread, this method automatically calls NApplication.BeginInvoke to show the message box on the UI thread.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also