wx.FileDialog Class Reference

Inheritance diagram for wx.FileDialog:

wx.Dialog wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

 FileDialog (Window parent, wxString message, wxString defaultDir, wxString defaultFile, wxString wildcard, wx.WindowStyles style, int posX, int posY)
 FileDialog (Window parent, string message, string defaultDir, string defaultFile, string wildcard, wx.WindowStyles style, Point pos)
 FileDialog (Window parent, string message, string defaultDir, string defaultFile, string wildcard, wx.WindowStyles style)
 FileDialog (Window parent, string message, string defaultDir, string defaultFile, string wildcard)
 FileDialog (Window parent, string message, string defaultDir, string defaultFile)
 FileDialog (Window parent, string message, string defaultDir)
 FileDialog (Window parent, string message)
 FileDialog (Window parent)
 FileDialog (IntPtr wxObject)
override ShowModalResult ShowModal ()

Protected Member Functions

override void CallDTor ()

Properties

string Directory [get, set]
string Filename [get, set]
string[] Filenames [get]
int FilterIndex [get, set]
string Message [get, set]
string Path [get, set]
string[] Paths [get]
wx.WindowStyles style [get, set]
string Wildcard [get, set]


Constructor & Destructor Documentation

wx.FileDialog.FileDialog ( IntPtr  wxObject  ) 

wx.FileDialog.FileDialog ( Window  parent  ) 

Use this CTor with dialog style. Specific style flags start with prefix FD_. Will ask you to _("Choose a file").

Parameters:
parent The parent window

wx.FileDialog.FileDialog ( Window  parent,
string  message 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.

Parameters:
message Message string
parent The parent window

wx.FileDialog.FileDialog ( Window  parent,
string  message,
string  defaultDir 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.

Parameters:
message Message string
defaultDir Displays files in this path first
parent The parent window

wx.FileDialog.FileDialog ( Window  parent,
string  message,
string  defaultDir,
string  defaultFile 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.

Parameters:
message Message string
defaultDir Displays files in this path first
defaultFile The default filename
parent The parent window

wx.FileDialog.FileDialog ( Window  parent,
string  message,
string  defaultDir,
string  defaultFile,
string  wildcard 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.

Parameters:
message Message string
defaultDir Displays files in this path first
defaultFile The default filename
wildcard Determines which files will be displayed. Example: "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
parent The parent window

wx.FileDialog.FileDialog ( Window  parent,
string  message,
string  defaultDir,
string  defaultFile,
string  wildcard,
wx.WindowStyles  style 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.

Parameters:
message Message string
defaultDir Displays files in this path first
defaultFile The default filename
wildcard Determines which files will be displayed. Example: "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
flags The window styles
parent The parent window

wx.FileDialog.FileDialog ( Window  parent,
string  message,
string  defaultDir,
string  defaultFile,
string  wildcard,
wx.WindowStyles  style,
Point  pos 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.

Parameters:
message Message string
defaultDir Displays files in this path first
defaultFile The default filename
wildcard Determines which files will be displayed. Example: "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
flags The window styles
parent The parent window
pos The position of this dialog

wx.FileDialog.FileDialog ( Window  parent,
wxString  message,
wxString  defaultDir,
wxString  defaultFile,
wxString  wildcard,
wx.WindowStyles  style,
int  posX,
int  posY 
)

Use this CTor with dialog style. Specific style flags start with prefix FD_.


Member Function Documentation

override void wx.FileDialog.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.Dialog.

override ShowModalResult wx.FileDialog.ShowModal (  )  [virtual]

This will show the dialog, wait for an input and return ShowModalResult.OK on successful userinput. On cancelled input, the result will be ShowModalResult.CANCEL. Read Filename or Filenames for the results.

Reimplemented from wx.Dialog.


Property Documentation

string wx.FileDialog.Directory [get, set]

The directory where the files have been selected.

string wx.FileDialog.Filename [get, set]

Returns the file that has been selected without directory.

string [] wx.FileDialog.Filenames [get]

Returns an array of the selected filenames (without directory).

int wx.FileDialog.FilterIndex [get, set]

string wx.FileDialog.Message [get, set]

string wx.FileDialog.Path [get, set]

Returns the path that has been selected - directory and filename.

string [] wx.FileDialog.Paths [get]

Returns the paths that have been selected - directory and filename.

wx.WindowStyles wx.FileDialog.style [get, set]

string wx.FileDialog.Wildcard [get, set]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads