Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

ForeColorGrayed Property, SftMask Object

Defines the control's text color when disabled.

Syntax

Get

VB.NETClr = object.ForeColorGrayed As System.Drawing.Color
VBClr = object.ForeColorGrayed As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.ForeColorGrayed;
VC++OLE_COLOR Clr = object->ForeColorGrayed;
OLE_COLOR Clr = object->GetForeColorGrayed();
CHRESULT object->get_ForeColorGrayed(OLE_COLOR* Clr);

Put

VB.NETobject.ForeColorGrayed = Clr As System.Drawing.Color
VBobject.ForeColorGrayed = Clr As OLE_COLOR
C#.NETSystem.Drawing.Color object.ForeColorGrayed = Clr;
VC++OLE_COLOR object->ForeColorGrayed = Clr;
void object->PutForeColorGrayed(OLE_COLOR Clr);
CHRESULT object->put_ForeColorGrayed(OLE_COLOR Clr);

object

A SftMask object.

Clr

Defines the control's text color when disabled.

Comments

The ForeColorGrayed property defines the control's text color when disabled (see Enabled property).

The ForeColor property defines the foreground color when the control is enabled. The caption's foreground color is defined using the Caption.ForeColorGrayed property.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.