Bu Boolean özellikler, korumalı bir klasik XLS çalışma sayfası için BIFF8 SheetProtect kaydına kaydedilen eylem başına izinleri denetler. Çalışma kitabını kaydetmeden önce ayarlayın; Protect to enable worksheet
protection
Sözdizimi
property AllowEditObjects: Boolean;
property AllowEditScenarios: Boolean;
property AllowFormatCells: Boolean;
property AllowFormatColumns: Boolean;
property AllowFormatRows: Boolean;
property AllowInsertColumns: Boolean;
property AllowInsertRows: Boolean;
property AllowInsertHyperlinks: Boolean;
property AllowDeleteColumns: Boolean;
property AllowDeleteRows: Boolean;
property AllowSelectLockedCells: Boolean;
property AllowSort: Boolean;
property AllowAutoFilter: Boolean;
property AllowPivotTables: Boolean;
property AllowSelectUnlockedCells: Boolean;
Default values
AllowSelectLockedCells ve
AllowSelectUnlockedCells varsayılan olarak True olur.
Diğer izin özellikleri varsayılan olarak False olur.
Örnek
Sheet.AllowDeleteRows := True;
Sheet.AllowInsertRows := True;
Sheet.AllowAutoFilter := True;
Sheet.Protect('mypass123');
Ayrıca bkz.