On 10/18/10 6:21 AM, Jacek Kałucki wrote: > Użytkownik Paul McNett napisał: >>> Hi. >>> >>> Unfortunately, wx.Control base class has Alignment property in wx.ALIGN* >>> format, which is an integer value, what conflicts with Dabo string based >>> Alignment. >>> All Dabo controls that derive from wx.Control, they has Alignment property, >>> like dButton, dComboBox, etc., are affected with this issue. >>> I don't know, maybe all Dabo controls should inherit from AlignmentMixin >>> class? >>> >> Dabo's Alignment property trumps wx's, so it shouldn't be an issue. >> > > Yes, it does but in dCheckBox, dTextBox, dLabel, dHyperLink, that is all. > But other controls still have wx based Alignment property.
Oh, I was surprised that Alignment isn't defined in dPemMixin. Okay, I understand now. The original problem is that the extended quick report code assumed Alignment would be in whatever object it encountered, when that is simply not true. In wx, a ton of properties exist for every object even though some or most of them don't apply. In Dabo, we try to limit that but in places like this we get bitten. Paul _______________________________________________ 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]
