RestoreDefaults

Class: TEgColumn

procedure RestoreDefaults; override;

Clears every one of this unit’s own per-column overrides, in addition to whatever the inherited TColumn.RestoreDefaults already resets. Empties AssignedValues, so all nineteen overridable properties again follow the grid live; also resets ImageIndex/ TitleImageIndex to -1, ImageAlignment/ TitleImageAlignment/ Title.Alignment to the same defaults Create sets on a brand-new column, and SubTitle to '' - afterwards this column behaves exactly as if it had just been created. SubTitleFont’s own styling (Color/Size/Bold) is left untouched - the same treatment Title.Font already gets, since RestoreDefaults only resets the “is there a sub-title at all” state, not cosmetic font sub-properties. Event properties are left untouched: none of the ten has a “default” to restore to, only assigned or nil.

See Also

(C) 2026 Easygate, Lda