Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.16 KB

Outlook.multipage.forecolor.md

File metadata and controls

32 lines (18 loc) · 1.16 KB
title ms.assetid ms.date ms.localizationpriority
MultiPage.ForeColor Property (Outlook Forms Script)
69af0968-a42d-7ccd-dc7f-d09b00ab4672
06/08/2017
medium

MultiPage.ForeColor Property (Outlook Forms Script)

Returns or sets a Long that specifies the foreground color of an object. Read/write.

Syntax

expression.ForeColor

expression A variable that represents a MultiPage object.

Remarks

Use any integer that represents a valid color. You can also specify a color by using the Visual Basic RGB function with red, green, and blue color components. The value of each color component is an integer that ranges from zero to 255. For example, you can specify teal blue as the integer value 4966415 or as red, green, and blue color components 15, 200, 75, as shown in the following example.

RGB(15,200,75)

Use the ForeColor property for controls on forms to make them easy to read or to convey a special meaning. For example, if a text box reports the number of units in stock, you can change the color of the text when the value falls below the reorder level.

[!includeSupport and feedback]