| CGUIIiCustomFileForm Method (IWin32Window, String, String, String, String, Int32, Int32) |
General file Open/Save Form for Multiple/Single file selections and custom filter capability
Available since Oasis montaj version: 9.3.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
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.
Syntax public static int IiCustomFileForm(
IWin32Window owner,
string str1,
string str2,
string str3,
ref string str4,
int i5,
int i6
)
Public Shared Function IiCustomFileForm (
owner As IWin32Window,
str1 As String,
str2 As String,
str3 As String,
ByRef str4 As String,
i5 As Integer,
i6 As Integer
) As Integer
public:
static int IiCustomFileForm(
IWin32Window^ owner,
String^ str1,
String^ str2,
String^ str3,
String^% str4,
int i5,
int i6
)
static member IiCustomFileForm :
owner : IWin32Window *
str1 : string *
str2 : string *
str3 : string *
str4 : string byref *
i5 : int *
i6 : int -> int
Parameters
- owner
- Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of. - str1
- Type: SystemString
Title of the Form - str2
- Type: SystemString
Custom filter. - str3
- Type: SystemString
Default value - str4
- Type: SystemString
Where the file name(s) is returned - i5
- Type: SystemInt32
See FILE_FORMConstant - i6
- Type: SystemInt32
Allow Multiple file selections = TRUE Single file selections = FALSE
Return Value
Type:
Int32
0 - Ok
1 - Cancel
See Also