IDefTableArea.ShowAccessCells

Syntax

ShowAccessCells: Boolean;

Description

The ShowAccessCells property determines whether cells will display access permission icons.

Comments

The property is set to True by default, and a user data access permissions icon will be displayed in cells:

If the ShowAccessCells property is set to False, the access permissions icon will not be displayed.

Example

Executing the example requires that the repository contains a data entry form, for which the specified macro is set as an executable method for a custom button. A table area is created in the data entry form.

Add links to the Metabase, Report system assemblies. Add links to the assemblies required for working with data entry forms.

Public Sub HideNameAndTitles(Report: IPrxReport);
Var
    Mb: IMetabase;
    DEForm: IDataEntryForm;
    TArea: IDefTableArea;
Begin
    Mb := MetabaseClass.Active;
    // Current data entry form instance
    DEForm := New DataEntryForm.CreateByReport(Report);
    // Get table area
    TArea := DEForm.InputAreas.Item(0As IDefTableArea;
    TArea.ShowAccessCells := False;
    TArea.ShowEvalCells := False;
End Sub HideNameAndTitles;

When the macro is executed, displaying of access permission icons and calculated cells will be disabled for a table area.

See also:

IDefTableArea