Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

readOnly property

Sets or retrieves the value indicated whether the content of the object is read-only.

Syntax

HRESULT value = object.put_readOnly( v);HRESULT value = object.get_readOnly(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. Property is not set on the object.

VARIANT_TRUE (true)

Object is set to read-only.

Remarks

If the value of the IHTMLInputTextElement::readOnly property is set to true, the user cannot enter or edit text in the control. When set to true, the property still allows the object to receive the focus, whereas the IHTMLInputTextElement::disabled property does not.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.