LockCustProp Cell (Protection Section) [Visio 2003 SDK Documentation]

Determines whether the user can add, delete, or modify custom properties in the user interface (UI) using the Define Custom Properties dialog box or the shortcut menu for the Custom Properties window.

Value Description

TRUE

The Define button does not appear in the Custom Properties dialog box, and the Define Properties command on the shortcut menu in the Custom Properties dialog box is disabled.

FALSE

The Define button appears in the Custom Properties dialog box, and the Define Properties command on the shortcut menu in the Custom Properties window is enabled (the default).

Remarks

A value of TRUE does not prevent a user from changing the value of a custom property, or changing the Custom Properties section in the ShapeSheet window.

To reference the LockCustProp cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

LockCustProp

To reference the LockCustProp cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionObject

Row index:

visRowLock

Cell index:

visLockCustProp