OPC Studio User's Guide and Reference
RunDialog Method (BrowseDialog)



OpcLabs.BaseLibForms Assembly > OpcLabs.BaseLib.Forms.Browsing.Generalized Namespace > BrowseDialog Class : RunDialog Method
A value that represents the window handle of the owner window for the common dialog box.
Specifies a common dialog box.
Syntax
'Declaration
 
Protected Overrides Function RunDialog( _
   ByVal hwndOwner As IntPtr _
) As Boolean
'Usage
 
Dim instance As BrowseDialog
Dim hwndOwner As IntPtr
Dim value As Boolean
 
value = instance.RunDialog(hwndOwner)
protected override bool RunDialog( 
   IntPtr hwndOwner
)
protected:
bool RunDialog( 
   IntPtr hwndOwner
) override 

Parameters

hwndOwner
A value that represents the window handle of the owner window for the common dialog box.

Return Value

true if the dialog box was successfully run; otherwise, false.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also