Back to product page

ForeColor property


Returns or sets the foreground color used to display text and graphics in an object.

Type

Long

Syntax

  • Basic
object.ForeColor [= value]
The ForeColor(object) syntax has these parts:
objectAn expression evaluating to an object of type wodTelnetDLX

Remarks

This property is only available in OCX (GUI) version of the component.

Visual Basic uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme. The settings for color are:
SettingDescription
Normal RGB colorsColors specified by using the Color palette or by using the RGB or QBColor functions in code.
System default colorsColors specified by system color constants listed in the Visual Basic (VB) object library in the Object Browser.
The Windows operating environment substitutes the user's choices as specified in the Control Panel settings.

Platforms

Windows