Share via


FormDataObject.allowEdit Method

Definition

Overloads

allowEdit()

Determines whether the user can modify the contents of the control.

allowEdit(Boolean)

allowEdit()

Determines whether the user can modify the contents of the control.

public:
 virtual bool allowEdit();
public virtual bool allowEdit ();
abstract member allowEdit : unit -> bool
override this.allowEdit : unit -> bool
Public Overridable Function allowEdit () As Boolean

Returns

true if the control can be modified; otherwise, false.

Remarks

If this property is set on a container control, modifications are disabled or enabled for all controls in the container.

The following example shows how to retrieve and set the value of the allowEdit property.

// Return the value. 
info (strfmt("allowEdit: %1", this.allowEdit())); 
// Set the value. 
this.allowEdit(false);

Applies to

allowEdit(Boolean)

public:
 virtual bool allowEdit(bool _value);
public virtual bool allowEdit (bool _value);
abstract member allowEdit : bool -> bool
override this.allowEdit : bool -> bool
Public Overridable Function allowEdit (_value As Boolean) As Boolean

Parameters

_value
Boolean

The value to assign to the allowEdit property.

Returns

Applies to