共用方式為


status property

Sets or retrieves the value indicating whether the control is selected.

Syntax

HRESULT value = object.put_status( v);HRESULT value = object.get_status(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. Control is not selected.

VARIANT_TRUE (true)

Control is selected.

NULL (null)

Control is not initialized.

Remarks

Setting the IHTMLInputElement::status property of a textArea object updates the value of the property and causes the HTMLFrameSiteEvents::onpropertychange event to fire. However, this change has no visual effect on the textArea object.