Skip to content

ViewOnly Property

Description

Enables or disables a "ReadOnly" like mode.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property ViewOnly() As Boolean

Return Type

True if enabled, False otherwise.

Remarks

ViewOnly mode is like ReadOnly mode but with a normal (not grey) background, and the user is not allowed to select or copy text. This mode is good for protected documents.

You can still allow group boxes to be expanded/collapsed by using the AllowExpandCollapseInViewOnly property.

See Also


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