Pressed (Get 方法)
获取控件的 ("按下" 属性) 状态。
bool Pressed() const返回值
控件状态。
Pressed (Set 方法)
设置控件的 ("按下" 属性) 状态。
bool Pressed(
const bool pressed // 新状态
)参数
pressed
[输入] 新控件状态。
返回值
true 如果成功, 否则 false。
获取控件的 ("按下" 属性) 状态。
bool Pressed() const控件状态。
设置控件的 ("按下" 属性) 状态。
bool Pressed(
const bool pressed // 新状态
)pressed
[输入] 新控件状态。
true 如果成功, 否则 false。