Subject | Re: [IBO] IB_Transaction.Pause |
---|---|
Author | Geoff Worboys |
Post date | 2001-02-16T00:15:57Z |
> > Geoff,Yeh, but I'm Geoff, and I wrote the transaction pause capability.
>
> I'm Guido :-)
> > > I have some question concerning the pause-method ofib_transaction.
> >Actually what I did was copied some of Jasons code and broke into two
> > This is your baby here... my memory is a little rusty on this.
pieces, so I cant even claim credit :-)
Pause and Resume are really just the transaction Refresh function
broken into two pieces. This means that when Paused the transaction
sits in a Pending status until resumed - and the Pending status is
interpretted as Active.
I had not envisaged anyone calling pause while a transaction was not
active and so I did not check/prevent the pause from occuring in that
situation.
In regard to your earlier request for an example on how to manage OAT
without using the TimeoutProps. Take a look at the TransactionPausing
example in the tutorials, it shows a simplified version of what I use
in my applications. It includes managing the user interface, so that
you know whether a user is actively typing - in which case you dont
want to pause a transaction while the user is in the middle of
something.
HTH
Geoff Worboys
Telesis Computing