On Jun 2, 2006, at 12:11 PM, Paul McNett wrote:

IIRC (and if not, my feeling for what should happen is) these simply become the defaults. So if the properties haven't been set at the column level, the column gets the font properties at the grid level by default.

It doesn't work that way. Run the dGrid sample, and bring up the command window:

g = self._dGrid_test
g.FontFace = "Courier New" # or something obviously different
g.FontSize = 48
# Add a new column
g.ColumnCount = 5
g.setValue(0, 4, "Hey")

        Note that the new column is the same as the rest.

We can either set it up that columns that don't have a specific value assigned default to the grid's value for those props. Then it can either be passive or active: changing the value of a property at the grid level changes that property in all columns (active), or only in those columns for which values were not explicitly given (passive).

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to