Admin Production rocket
Current Publication

ReGISRestoreTextColors Property

Reflection Desktop .NET API Guide V17.1
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
ReGISRestoreTextColors Property
In This Topic
Gets or sets a value indicating whether Reflection restores text colors after ReGIS graphics have been drawn. When this property is set to True, colors are temporarily saved by Reflection when all three of the following events occur: · Reflection is placed into ReGIS mode by a graphics application. · The application changes your colors. · A ReGIS or sixel image is drawn on the screen. Text colors are then restored when either of the following occurs: · The entire screen is cleared (with the sequence H, J, or 2J). · The application exits ReGIS mode and the entire image scrolls off the screen (for example, as the result of a series of characters). This behavior differs from an actual terminal, where your original colors are never restored when changed by a graphics application. If colors were changed in ReGIS but no graphics were drawn, the original colors are not restored. This preserves the intent of some text applications that use ReGIS to change screen colors.
Syntax

                     
                     
'Declaration
 

                     
                     
Property ReGISRestoreTextColors As Boolean

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IScreen
Dim value As Boolean
 
instance.ReGISRestoreTextColors = value
 
value = instance.ReGISRestoreTextColors

                  

                     
                     
bool ReGISRestoreTextColors {get; set;}

                  
See Also