SetColAttributes

Declaration: TDataTable.SetColAttributes (Attrib: integer; Mask: longword);

The method SetColAttributes sets all column attributes to the value of Attrib. It allows to mask out bits which have to stay unchanged. All bits in the Mask parameter which are set to zero will be left unchanged. The following figure shows the situation for the examplary call SetColAttributes ($0050AA68, $00F03E03), assuming that the current attribute value is $AC6468C2: