On Sun, Jul 12, 2009 at 7:41 PM, Ed Leafe<[email protected]> wrote:
> On Jul 12, 2009, at 11:51 AM, Miguel Lopes wrote:
>
>> But confirmChanges() is still not working properly. If I answer:
>>     * "Yes" returns True
>>     * "Cancel" returns None
>>     * "No" returns True. Should it not return False?
>
>        No, this is correct. The dialog asks if you want to save your changes
> before moving on. 'Yes' and 'No' do just that. 'Cancel' stops the
> process without moving on. The True that is returned from
> confirmChanges() means that the user's choice was carried out: either
> a save() (for yes) or a cancel() (for no).
>
>
> -- Ed Leafe

Makes sense.
Thank you very much for your help Ed.
Miguel


_______________________________________________
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