 | CGUIIiBrowseDirEdit Method (CGXNETCore, IWin32Window, String, String, String) |
Browses for a specific directory, user editable.
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static int IiBrowseDirEdit(
CGXNETCore gxNetShared,
IWin32Window owner,
string title,
string default,
ref string dir_path
)
public static int IiBrowseDirEdit(
CGXNETCore gxNetShared,
IWin32Window owner,
string title,
string default,
ref string dir_path
)
Public Shared Function IiBrowseDirEdit (
gxNetShared As CGXNETCore,
owner As IWin32Window,
title As String,
default As String,
ByRef dir_path As String
) As Integer
Public Shared Function IiBrowseDirEdit (
gxNetShared As CGXNETCore,
owner As IWin32Window,
title As String,
default As String,
ByRef dir_path As String
) As Integer
public:
static int IiBrowseDirEdit(
CGXNETCore^ gxNetShared,
IWin32Window^ owner,
String^ title,
String^ default,
String^% dir_path
)
public:
static int IiBrowseDirEdit(
CGXNETCore^ gxNetShared,
IWin32Window^ owner,
String^ title,
String^ default,
String^% dir_path
)
static member IiBrowseDirEdit :
gxNetShared : CGXNETCore *
owner : IWin32Window *
title : string *
default : string *
dir_path : string byref -> int
static member IiBrowseDirEdit :
gxNetShared : CGXNETCore *
owner : IWin32Window *
title : string *
default : string *
dir_path : string byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - owner
- Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of. - title
- Type: SystemString
Title of the Form - default
- Type: SystemString
Default path (Can be "") - dir_path
- Type: SystemString
Result Path Buffer (default on input)
Return Value
Type:
Int32
0 - Ok
1 - Cancel
Remarks
Allows the user to edit the directory name in an edit window,
as well as browse for an existing directory, so it is possible
to specify a new directory name. It remains up to the caller to
test to see if the directory exists, and if not, to create it.
See Also