I note you can set the column alignments in a data grid in one line of code for all columns.
set the dgProp["column alignments"] of me to tColAlignments Is there a similar method for setting the Header Alignments in one line as say set the dgProp[“header alignments"] of me to tHeaderAlignments or is the only way to set each column header individually as repeat with n = 1 to tNumOfColumns set dgHeaderAlignment [line n of tNewColNames] of me to item n of tHeaderAlignments end repeat All the best Terry _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode