OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / ClientFunctions Class / ShowDialog Method
The form to display.



In This Topic
    ShowDialog Method
    In This Topic
    Displays a modal form as a dialog over the main window of OnTime Management Suite or OnTime Dispatch.
    Syntax
    'Declaration
     
    
    Public Function ShowDialog( _
       ByVal form As Form _
    ) As DialogResult
    'Usage
     
    
    Dim instance As ClientFunctions
    Dim form As Form
    Dim value As DialogResult
     
    value = instance.ShowDialog(form)
    public DialogResult ShowDialog( 
       Form form
    )
    public:
    DialogResult ShowDialog( 
       Form^ form
    ) 

    Parameters

    form
    The form to display.

    Return Value

    The DialogResult returned when the form is closed.
    Remarks
    The main OnTime window is set as the owner of the form before being displayed.
    Requirements

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

    See Also