I had a difficult time figuring this one out because of the math -- not neobook. If you're looking for a progress bar, you may have success with the following.
1. Draw two rectangles. One is an outline and the other one sits inside of the outline. The interior rectangle is a solid color. For example's sake, let's call the interior rectangle "Rectangle6".
2. Rectangle6 should start out with a width of 1 or 0.
3. Inside of a loop function, include the code below:
Math "([Insert the length or width of the outlined rectangle here]*[variable counter])/[Whatever it is that you're measuring]" "0" "[Progress]"
SizeObject "Rectangle6" "[Progress]" "13"
In human speak, the above code multiplies the final length of the progress bar by the loop counter. Then it divides that product by what you're attempting to measure. I just wrote a program that had to monitor the number of lines counted in a file. So the value could be a constant, or a variable. It stores the final calculatiion into a variable named "Progress." Then it just sizes Rectangle6 according to the value stored in the "Progress" variable.
I don't see a place to attach fles here, so if anyone wants an example pub, just let me know.
NEW: Here's a download url: Progress Bar
Progress Bar Code
Moderator: Neosoft Support
Progress Bar Code
Last edited by nerdgerl on Sun Nov 23, 2008 2:40 pm, edited 2 times in total.
nerdgerl"
Reminds me ... I should upload an example pub of mine that does Progress Bars ... which I had made available in the (now discontinued) website run by rcohen ... using Text Boxes ... and a font which has a character that displays a solid rectangle ... you can display the Progress Bar as a series of tiny colored boxes ... both horizontally and vertically ... of course you can get whimsical and use any character that looks like a fancy design ... for example the smiley face in the WingDings font.
If you have a website (or other place to upload your pub), you can use the facilities of the NeoBook Resource Center (click on second image at top of this page) ... in my unscientific study, a lot more people visit the Center than do this Forum ... at least when looking to download files etc.I don't see a place to attach fles here
Reminds me ... I should upload an example pub of mine that does Progress Bars ... which I had made available in the (now discontinued) website run by rcohen ... using Text Boxes ... and a font which has a character that displays a solid rectangle ... you can display the Progress Bar as a series of tiny colored boxes ... both horizontally and vertically ... of course you can get whimsical and use any character that looks like a fancy design ... for example the smiley face in the WingDings font.
Thanks Gaev, I'll check it out.Gaev wrote:nerdgerl"If you have a website (or other place to upload your pub), you can use the facilities of the NeoBook Resource Center (click on second image at top of this page) ... in my unscientific study, a lot more people visit the Center than do this Forum ... at least when looking to download files etc.I don't see a place to attach fles here
Reminds me ... I should upload an example pub of mine that does Progress Bars ... which I had made available in the (now discontinued) website run by rcohen ... using Text Boxes ... and a font which has a character that displays a solid rectangle ... you can display the Progress Bar as a series of tiny colored boxes ... both horizontally and vertically ... of course you can get whimsical and use any character that looks like a fancy design ... for example the smiley face in the WingDings font.
You know me. You may not know it yet. But you know me.
Think DOS. Think NeoBook. Think iGui.
Think DOS. Think NeoBook. Think iGui.
Re: Progress Bar Code
NEW: Here's a download url: Progress Bar
Thank you
- Claude GUYOT
- Posts: 225
- Joined: Sun Oct 01, 2006 10:05 am
- Location: France
Thank you
Génial.
Thank you
Thank you
Hi.
I noticed through my server logs that several people are still looking for this file. I switched servers and forgot all about it, but have uploaded a new version. It is now again available: here
I noticed through my server logs that several people are still looking for this file. I switched servers and forgot all about it, but have uploaded a new version. It is now again available: here
You know me. You may not know it yet. But you know me.
Think DOS. Think NeoBook. Think iGui.
Think DOS. Think NeoBook. Think iGui.
Thanks for reposting the Progress Bar Pub
Just wanted to say thanks, it was just what I needed to make a more professional looking pub.
John
John