On Jun 18, 2007, at 2:44 PM, Paul McNett wrote:
>> Modified the Visible property's get/set methods to handle cases
>> where objects do not have the IsShown() and Show() methods.
>> Attempting to read/write to Visible for these objects will no
>> longer throw an error; instead, an appropriate message is written
>> to the errorLog object.
>
> You don't think throwing an exception is correct?
No, because they are "published" properties of those classes, and it
does sound reasonable to expect Visible to possibly work for menus.
Now you don't get a messy traceback, your app won't abend, but you do
get an error message.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]