Partager via


LISTBOX.readOnly

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The readOnly attribute specifies or retrieves a value indicating whether text is read only or can be selected by the user. Can only be set at design time.

        elementID.readOnly

Possible Values

This attribute is a read/write Boolean.

Value Description
true Text is read only.
false Default. Text can be selected by the user.

Requirements

Requirement Value
Version
Windows Media Player for Windows XP or later

See also

LISTBOX Element