Re: Don Cole's Niffty Progress Bar Uploaded

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Rad,

Thank you for checking out my Progress Bar.

Rad wrote:
> 
> Hi Don,
> 
> Progress Bar is a nice utility.
> 
> Can we have a CText (initially empty) at the top of RGBWin where one can
> provide
> the information (if required) about the current activity being done?
> e.g. "Checking File Integrity..." or "Loading System Variables...." etc.
> 

You could change name of the window as you go along. setText(RGBWin,"the thing I
am doing now") It may require re-painting the window.

> One more Q:
> 
> I am building my application menu from database using fastmenu.ew by
> C.K.Lester.
> In the initial stage, I prepare a sequence containing total menu options
> available
> for the user depending on his access level.
> This sequence is then passed to fastmenu which builds actual menu items for
> the application, where I am keeping count of number of options loaded out of
> total available options.
> 
> Now if I want to display Progress Bar while building the application menu, how
> can I go about it? Will "opening RGBWin 

just once

& calling BuildPicture()" after each
> addition to the option counter do the trick?

I'm not familiar with cklester's fastmenu. I downloaded it and am studying.

The way I'm doing it is:
openWindow(RGBWin,Normal)-- this 0nly has to be done once.

    daily_db=get_file("daily.dat")
    dailyLen=length(daily_db)--this would be count in the demo
for x=1 to dailyLen do--here I'm loading a database and puting it in a --   
       listView and watching the progress on the Progress Bar.
       theData &= addLVItem(ListView4, 0, daily_db[x])
       BuildPicture(x,steady,moving)
    end for

Again not being familiar with fastmenu I would calculate the total amount of
  stuff you have to do (load) and call it count. Then on each increment of that
  (call it x) BuildPicture(x,steady,moving).

> 
> Regards,
> Rad.

I will check out fastmenu and see if I can figure out what it is doing.
If you could clue me in that would be nice.

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu