Partilhar via


FormTreeControl.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:
 override bool allowEdit();
public override bool allowEdit ();
override this.allowEdit : unit -> bool
Public Overrides Function allowEdit () As Boolean

Returns

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

Remarks

When 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 return 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:
 override bool allowEdit(bool _value);
public override bool allowEdit (bool _value);
override this.allowEdit : bool -> bool
Public Overrides Function allowEdit (_value As Boolean) As Boolean

Parameters

_value
Boolean

The value to assign to the allowEdit property.

Returns

Applies to