Programming with Reflection
FileTypeSticky property
Syntax |
|
Works with |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) whether the file type shown when you display the Open Settings dialog box is updated to match the file type you opened most recently.
When this property is True, opening a new file type changes the value of the FileOpenType property, and files of the new type are listed the next time you display the Open Settings dialog box.
When this property is False, the Open Settings dialog box consistently displays the same file type, determined by the value of the FileOpenType property. Opening a new file type has no effect on the FileOpenType property or the file list you see the next time you open the dialog box.
The default value is True.
FileOpenType is not affected when you open settings files programmatically (for example using OpenSettingsExtended), regardless of the current value of FileTypeSticky.