Subject | RE: [IBO] Possible bug in TIB_Transaction.SysTimeOutPromptUser |
---|---|
Author | IBO Support List |
Post date | 2013-03-25T14:39:23Z |
This likely could be a bug. This feature is not very well known and probably
receives little attention, until now. <g>
Jason
www.ibobjects.com
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Thomas Lenders
Sent: Monday, March 25, 2013 5:20 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Possible bug in TIB_Transaction.SysTimeOutPromptUser
Hello group,
Recently I had to brush up my Delphi skills having to deal with a somewhat
complex Firebird+IBO application at work. My background is in Delphi
programming but I moved on to doing mostly C#/.NET programming about 5 years
ago so some things may be a bit rusty.
Trying to better understand transaction handling among other things, I
stumbled into the TimeoutProps property and started wondering why the
default dialog prompt from 'EndWithConfirm' would not show. Turns out that
in the procedure 'TIB_Transaction.SysTimeOutPromptUser' there is a check for
'IB_Session.IsBusy' which is always true if the procedure is being called by
the Session-Timer.
Various comments in the code suggest to use 'BusyLevel =0' instead so my
guess is that this is an oversight. Some feedback would be appreciated.
If this problem is already known I apologize and would be grateful to be
pointed at the correct location to check for these things.
Have a good day everyone, I will probably have more questions shortly. ;-)
Regards,
Thomas
[Non-text portions of this message have been removed]
------------------------------------
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
receives little attention, until now. <g>
Jason
www.ibobjects.com
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Thomas Lenders
Sent: Monday, March 25, 2013 5:20 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Possible bug in TIB_Transaction.SysTimeOutPromptUser
Hello group,
Recently I had to brush up my Delphi skills having to deal with a somewhat
complex Firebird+IBO application at work. My background is in Delphi
programming but I moved on to doing mostly C#/.NET programming about 5 years
ago so some things may be a bit rusty.
Trying to better understand transaction handling among other things, I
stumbled into the TimeoutProps property and started wondering why the
default dialog prompt from 'EndWithConfirm' would not show. Turns out that
in the procedure 'TIB_Transaction.SysTimeOutPromptUser' there is a check for
'IB_Session.IsBusy' which is always true if the procedure is being called by
the Session-Timer.
Various comments in the code suggest to use 'BusyLevel =0' instead so my
guess is that this is an oversight. Some feedback would be appreciated.
If this problem is already known I apologize and would be grateful to be
pointed at the correct location to check for these things.
Have a good day everyone, I will probably have more questions shortly. ;-)
Regards,
Thomas
[Non-text portions of this message have been removed]
------------------------------------
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links