fileselector class : Reset() method
Description
Returns the parameter to the default value.
Syntax
instance.Reset()
Arguments
None.
Return value
None.
Sample code
1: | fileselector fsel = new fileselector(); |
2: | fsel.Filter = "Cook files|*.cook|Text files|*.txt"; |
3: | fsel.FilterIndex = 2; // Text files are selected. |
4: | fsel.Title = "Hello World!"; |
5: | fsel.Reset(); |
Notes
The default values of the parameters are as follows.
Filter: Empty string
FilterIndex: 1
Title: Empty string
Links for reference
None.