Microsoft SDK for Java

DateTimePicker.getAllowUserString

Retrieves a boolean value indicating whether the user can edit the value in the control by pressing F2.

Syntax

public final boolean getAllowUserString()

Return Value

Returns true if the user can edit the value in the control by pressing F2; otherwise, returns false.

Remarks

If this property is set to true, the userString event must be handled to correctly convert the user text into a time.

See Also   setAllowUserString

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