Microsoft SDK for Java

Control.shouldPersistForeColor

Retrieves a boolean value indicating whether the background color for the control has been explicitly set.

Syntax

public boolean shouldPersistForeColor()

Return Value

Returns true if the foreground color for the control has been explicitly set; returns false if the control is using a default foreground color (either the foreground color set for its parent or the default window text color).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.