Class: TEgDBGridEx
procedure CenterAllTitles;
Sets Title.Alignment to taCenter on every
column.
Since v274, a freshly created column’s Title.Alignment
already defaults to taCenter (previously
taLeftJustify), so this method is mainly useful for
re-centering titles that were explicitly set to something else, or for
columns added before v274 without a subsequent
RestoreDefaults call.