Subject | Re: [IBO] New feature ? |
---|---|
Author | Daniel Rail |
Post date | 2002-11-27T16:35:38Z |
SB> hello all,
SB> I think that when executing a script with the IB Objects component,
SB> there is no way to have a callback to show - for example - the
SB> progress of the operation by modifying the Position property of a
SB> ProgressBar.
SB> It would be great to implement such functionality. Suppose that I have
SB> a script with say 10,000 INSERTS (or more :-). It would be more
SB> significant for the end user to update a progress bar on every insert
SB> executed instead of showing an hour glass for a long amount of time.
You can use the TIB_Script.OnStatement event to update a progress bar.
It would be nice to have a method that would return the number of
statements found in the script, so it would be easier to get a count
of how many statements are in the script.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)
SB> I think that when executing a script with the IB Objects component,
SB> there is no way to have a callback to show - for example - the
SB> progress of the operation by modifying the Position property of a
SB> ProgressBar.
SB> It would be great to implement such functionality. Suppose that I have
SB> a script with say 10,000 INSERTS (or more :-). It would be more
SB> significant for the end user to update a progress bar on every insert
SB> executed instead of showing an hour glass for a long amount of time.
You can use the TIB_Script.OnStatement event to update a progress bar.
It would be nice to have a method that would return the number of
statements found in the script, so it would be easier to get a count
of how many statements are in the script.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)