This is Text alignment, not icon alignment...
>Here is the content of help file for alignment:
>
>Alignment Property (ColumnHeader Object)
>
>
>Returns or sets the alignment of text in a ColumnHeader object.
>
>Syntax
>
>object.Alignment [= integer]
>
>The Alignment Property syntax has these parts:
>
>Part Description
>object An object expression that evaluates to a ColumnHeader object.
>integer An integer that determines the alignment, as described in Settings.
>
>
>Settings
>
>The settings for integer are:
>
>Constant Value Description
>lvwColumnLeft 0 (Default) Left. Text is aligned left.
>lvwColumnRight 1 Right. Text is aligned right.
>lvwColumnCenter 2 Center. Text is centered.
>
>
>object.Add(index, key, text, width, alignment, icon)
>
If it's not broken, fix it until it is.
My Blog