Skip to content

IsPressed Property

Description

Gets a value that indicates whether a MarkupButtonBase (Radio, CheckBox, Toggle, etc.) is currently activated.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property IsPressed() As Boolean

Return Type

True if the Button is activated; otherwise False. The default is False.

Remarks

IsPressed is the state of a button that indicates the left mouse button or SPACEBAR is pressed over the button. When IsPressed is true, the control captures the mouse. As a result, the control will raise mouse events such as the MouseEnterEvent. Note that using the ENTER key does not change IsPressed or capture the mouse, but it does raise the ClickEvent.

See Also


See Also
Markup ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.