The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



SetColAttributes


Unit: SDL_datatable
Class: TDataTable
Declaration: [1] procedure SetColAttributes (Attrib: byte);
[2] procedure SetColAttributes (Attrib: byte; Mask: longword);

The method SetColAttributes sets all column attributes to the value of Attrib. Version [2] of this procedure 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:



Last Update: 2016-Aug-28