On Oct 16, 2010, at 6:16 PM, Fraser Burns wrote:

> When using the ClassDesigner to create a grid I get the following warning.
> 
> /usr/local/lib/python2.5/site-packages/dabo/ui/uiwx/dGrid.py:4573: 
> DeprecationWarning: ShowColumnLabels is deprecated. Use ShowHeaders instead
>  warnings.warn(_("ShowColumnLabels is deprecated. Use ShowHeaders 
> instead"), DeprecationWarning)
> 
> I have tried it as creating a grid on the panel and also as creating 
> from data environment in the form of a grid.
> First time it crashes out.
> Second time it lets me through.
> Is this just a patch of code that you haven't had a chance to carry the 
> update to?

        Deprecation warnings are just that: warnings. They indicate that at the 
next major release that a behavior will change that can break some existing 
code. Until then, the two are aliases for the same property.

        Since there are a lot of existing .cdxml files out there, I wanted to 
continue to support the ShowColumnLabels property, so it has to be accessed in 
the application, which causes that warning. 

        Probably some time after 1.0 we will drop support for the dual names, 
and some cdxml files may have to be manually edited to change the old name to 
the new.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to