Microsoft SDK for Java

Control.shouldPersistFont

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

Syntax

public boolean shouldPersistFont()

Return Value

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

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