Windows Media Player SDK banner art
PreviousNext

BUTTONELEMENT.sticky

The sticky attribute specifies or retrieves a value indicating whether the BUTTONELEMENT is a toggle, that is, whether it is a two-state or single-state button.

Syntax

elementID.sticky

Possible Values

This attribute is a read/write Boolean.

Value Description
true BUTTONELEMENT is sticky.
false Default. BUTTONELEMENT is not sticky.

Remarks

If the sticky attribute is set to true, the button element will change to the down state when clicked and will remain in that state until clicked again. When the button element is in the down state, the down attribute will be true and the appropriate portion of the button group downImage will be displayed.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.