Share via


FormFunctionButtonControl.foregroundColor Method

Definition

Overloads

foregroundColor()

Gets or sets the text color for the control to use.

foregroundColor(Int32)

foregroundColor()

Gets or sets the text color for the control to use.

public:
 virtual int foregroundColor();
public virtual int foregroundColor ();
abstract member foregroundColor : unit -> int
override this.foregroundColor : unit -> int
Public Overridable Function foregroundColor () As Integer

Returns

An integer that contains a packed RGB color.

Remarks

The integer that is returned contains a packed RGB color as follows:

  • The low-order byte contains a value for the relative intensity of red.
  • The second byte contains a value for green.
  • The third byte contains a value for blue.
  • The high-order byte must be zero.
  • The maximum value for a single byte is 255.

Applies to

foregroundColor(Int32)

public:
 virtual int foregroundColor(int _value);
public virtual int foregroundColor (int _value);
abstract member foregroundColor : int -> int
override this.foregroundColor : int -> int
Public Overridable Function foregroundColor (_value As Integer) As Integer

Parameters

_value
Int32

Returns

Applies to