kysersoze12
23rd March 2007, 06:44
Sorry if this is posted before.

There is an inbuilt progress indicator in baan IV .Check object ottstpprogress .It contains functions for creating and manipulating progress indicator .Only thing one has to do is to calculate percentage in script.

ottstpprogress must be linked as dll for program script.

mark_h
23rd March 2007, 15:11
Since no code is actually being shared I moved the post to the tools area. Now if you want to include an example of how you used ottstpprogress then that makes if a different story - with a really good example I could move it back to the code and utilities forum, but as it stands this is only a coding tip or recommendation.

Thanks

Hitesh Shah
25th March 2007, 08:06
We had registerd a case with Infor about a year ago and the reply we had got was that this functionality is not available for Baan IV . Is this available now . If yes , which SP it is made available .

Also if u can post a sample code , it will be great .

kysersoze12
26th March 2007, 07:38
Hey guys I thought it was enough to specify the standard object ostpprogress .

Any way as you requested I have created a small code to show use of inbuilt progress bar functions .

ottstpprogress must be included as DLL .

functions from this library are:-
create.progress.indicator()
change.progress.indicator()
destroy.progress.indicator()

Do bic_info on ottstpprogress to learn what parameters and return values mean from above function .

I can't tell from which service pack it is available as I am a developer and never worked as baan administrator.Check your ottstp folder for the ostpprogress dll.

I hope it works for all who use it .

Hitesh Shah
26th March 2007, 07:46
It was there with us even 1 year ago . Have u run the same successfully at ur end . If yes , tell me the object date from bic_info .

NPRao
26th March 2007, 09:50
I am not sure if this session is available in BaaN-4 or not. You can use ttpmc2460m000 - Print Solution/Patch History based on component type and code.

günther
26th March 2007, 11:27
Sorry guys,

but this is definitively an old story.

For Baan IV, it seems the best solution to use ottdllinstall, see this thread:
http://www.baanboard.com/baanboard/showthread.php?t=12849&highlight=ottdllinstall

The code posted above gives (at least on my system) 3 errors for each loop, about: Fatal error: object ... in process ... not found.

Günther

kysersoze12
26th March 2007, 11:38
Comment following lines in above script .

| window.id = create.status.bar(current.window())
| if window.id >= 0 then
| child.id = create.status.field(window.id,"Testing field",100)
| endif

They are not required .dllinstall has nothing to do with this topic .
Only ottstpprogress is required .

kysersoze12
26th March 2007, 11:54
Please don't use above mentioned script .I m reposting the script without any confusing code .I am attaching the screenshot of how progress indicator looks like .The ostpprogress.txt is a result of bic_info on ottstpprogress .
Currently we are using sp18 .I am not sure about performance of these functions .


I have also attached image(progress1.jpg) of progress bar which I created 1 year ago using graphics functions .

Thanx for your replies .