Skip to content

Get_current_colors Command

Obsolete

This command is obsolete and only applies to character-mode DataFlex. Object colors are accessed via the Color and TextColor properties or other properties depending on the class you are using. Consult the documentation of the class in question.

Purpose

To retrieve the current foreground and background colors.

Syntax

get_Current_Colors to
    foreground
    background

Argument Explanation

  • foreground: A variable to contain the number of the foreground color.
  • background: A variable to contain the number of the background color.