On 02/07/2012 14:43, Andrea Mauri wrote:

In
function TCommonDialog.DoExecute : boolean;
FUserChoice is assigned 2 (mrCancel).

I don't know why. I would like to know where/what I have to check in order to understand this behaviour.
Anyone can help? Any suggestion?

I use:
Lazarus 0.9.31 r37846M FPC 2.6.0 i386-win32-win32/win64

I don't know anything about the issue itself, but have you tried setting a watchpoint (context menu in watches list). (Scope = global / Acess write)

Set the watchpoint after TCommonDialog.DoExecute has initialized the value. The watchpoint should stop execution if the value is modified

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to