Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / ReGISRestoreTextColors Property
In This Topic
    ReGISRestoreTextColors Property
    In This Topic
    Gets or sets whether Reflection restores text colors after ReGIS graphics have been drawn.
    Syntax
    expression.ReGISRestoreTextColors As Boolean
    where expression is a variable that represents a Screen Object
    Remarks
    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; and a ReGIS or sixel image is drawn on the screen.

    Text colors are restored when either the screen is cleared (with the sequence H, J, or 2J), or 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.

    See Also