 | CGUIIiDatFileFormEx Method (IWin32Window, String, String, String, Int32, Int32, Int32, Int32, Int32) |
Grid and Image file Open/Save Form for Multiple/Single file selections and optional filter list sorting.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int IiDatFileFormEx(
IWin32Window owner,
string title,
string default,
ref string psz_file_path,
int file_size,
int type,
int validation_type,
int multi,
int sort
)
public static int IiDatFileFormEx(
IWin32Window owner,
string title,
string default,
ref string psz_file_path,
int file_size,
int type,
int validation_type,
int multi,
int sort
)
Public Shared Function IiDatFileFormEx (
owner As IWin32Window,
title As String,
default As String,
ByRef psz_file_path As String,
file_size As Integer,
type As Integer,
validation_type As Integer,
multi As Integer,
sort As Integer
) As Integer
Public Shared Function IiDatFileFormEx (
owner As IWin32Window,
title As String,
default As String,
ByRef psz_file_path As String,
file_size As Integer,
type As Integer,
validation_type As Integer,
multi As Integer,
sort As Integer
) As Integer
public:
static int IiDatFileFormEx(
IWin32Window^ owner,
String^ title,
String^ default,
String^% psz_file_path,
int file_size,
int type,
int validation_type,
int multi,
int sort
)
public:
static int IiDatFileFormEx(
IWin32Window^ owner,
String^ title,
String^ default,
String^% psz_file_path,
int file_size,
int type,
int validation_type,
int multi,
int sort
)
static member IiDatFileFormEx :
owner : IWin32Window *
title : string *
default : string *
psz_file_path : string byref *
file_size : int *
type : int *
validation_type : int *
multi : int *
sort : int -> int
static member IiDatFileFormEx :
owner : IWin32Window *
title : string *
default : string *
psz_file_path : string byref *
file_size : int *
type : int *
validation_type : int *
multi : int *
sort : int -> int
Parameters
- 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 value - psz_file_path
- Type: SystemString
Where the file name(s) is returned - file_size
- Type: SystemInt32
Size of the File Name Buffer - type
- Type: SystemInt32
<define>DAT_TYPE</define> - validation_type
- Type: SystemInt32
<define>FILE_FORM</define> - multi
- Type: SystemInt32
Allow Multiple file selections = TRUE Single file selections = FALSE - sort
- Type: SystemInt32
Sort file filter list = TRUE Maintain default filter list sorting = FALSE
Return Value
Type:
Int32
0 - Ok
1 - Cancel
Remarks
Remember to make the string size big enough for multiple file
selections. In the case of multiple selections the names will be separated
by a semicolon and only the first file will contain the full path.
When using the multiple flag on any of these functions please be aware that
the string returned will be in the format:
drive:\path1\path2\name.grid|name2.grid|name3.grid(QUALIFIERS)
All grids are required to be of the same type.
See Also