Click or drag to resize

CGUIIiBrowseDirEdit Method (CGXNETCore, 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
Syntax
public static int IiBrowseDirEdit(
	CGXNETCore gxNetShared,
	string title,
	string default,
	ref string dir_path
)

public static int IiBrowseDirEdit(
	CGXNETCore gxNetShared,
	string title,
	string default,
	ref string dir_path
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
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