Programming with Reflection

image\rwnprg32.gif RestoreDefaults method

 

Syntax object.RestoreDefaults SettingType

 

Description

Restores a group of Reflection settings to their default values. For example, to restore the default colors:

Session.RestoreDefaults rcColors

Arguments

SettingType Argument Type: Enumeration
Required
Specifies what kind of settings to restore. The possible values are:

 rcSettings

 Restores all Reflection settings to default values and removes all macros. Note: This value is not available if you are using RestoreDefaults in a Reflection macro. It is available if you use this method on Reflection's command line, in a Reflection Basic script, or if you are using Automation to control Reflection from another application.

 rcColors

 Restores the default colors.

 rcConnection

 Restores the default connection settings. If Reflection is connected to a host, Reflection will first disconnect from the host, and then restore the default connection settings.

 rcHotspots

 Restores the default hotspot configuration.

 rcKeymap

 Restores the default keyboard and mouse map, and removes all scan code definitions.

 rcMenuMap

 Restores just the menu settings in the file, and ignores all other settings.

 rcProfile

 Enables any features that have been disabled using the SetCommandGroupProfile method.

 rcToolbar

 Restores the default toolbar configuration.

 

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command