On May 3, 2010, at 3:05 PM, Paul McNett ☆ wrote:

>>      It should probably be a try/except anyway. It's unpythonic to test for 
>> common conditions; it's better to catch the exception.
> 
> I think checking for Modal first makes sense in this context since dDialog 
> allows 
> Modal or nonModal use, but we call EndModal() regardless (from runCancel et. 
> al). So 
> the check is correct (because it isn't checking for an exceptional case).

        Really? What percentage of dialogs will not be modal?



-- Ed Leafe




_______________________________________________
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/[email protected]

Reply via email to