Subject | Using onCallback to Show Meter or Clock ticking with TIB_QUERY |
---|---|
Author | R. S. Patil |
Post date | 2003-09-23T19:17:49Z |
Dear friends,
I am doing
select
*
from
Selectable_Proc(:Parma1, :Param2,....)
in a TIB_Query Components SQL property.
The SP is doing a bit longer processing before
any data is suspended.
Many times the user gets tired since while M/C
is processing there is no indication on the screen
only thing I could do was to turn the cursor to
different one but that's not sufficient. So I designed
a form to show a clock and a meter and I showed
it before I actually open the query.
for the query I have set CallbackInc to 1.
CallbackRefreshInt to 1000
and CallbackInitInt to 1000
In oncallback event I have put
Application.Processmessages
I ran application with BP set at above statement
I found execution do not reach to it and the
Clock as well the meter is standstill.
is anything else to be set ?
is there any demo application anywhere to explain
the timerbased callbacks even when there is no actual
fetching in progress ?
Best Regards
R. S. Patil
I am doing
select
*
from
Selectable_Proc(:Parma1, :Param2,....)
in a TIB_Query Components SQL property.
The SP is doing a bit longer processing before
any data is suspended.
Many times the user gets tired since while M/C
is processing there is no indication on the screen
only thing I could do was to turn the cursor to
different one but that's not sufficient. So I designed
a form to show a clock and a meter and I showed
it before I actually open the query.
for the query I have set CallbackInc to 1.
CallbackRefreshInt to 1000
and CallbackInitInt to 1000
In oncallback event I have put
Application.Processmessages
I ran application with BP set at above statement
I found execution do not reach to it and the
Clock as well the meter is standstill.
is anything else to be set ?
is there any demo application anywhere to explain
the timerbased callbacks even when there is no actual
fetching in progress ?
Best Regards
R. S. Patil