Enable/Disable a Main Menu

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Enable/Disable a Main Menu

Post by serge_girard »

Scot,

You first count the number of loops to set the RangeMax and within the loop you set the Value.

Serge
There's nothing you can do that can't be done...
User avatar
CalScot
Posts: 303
Joined: Thu Mar 21, 2013 12:22 am
Location: California

Re: Enable/Disable a Main Menu

Post by CalScot »

It's 3:45 a.m. here, and I'm very tired, but I already have the progress bar working for a couple of the steps. Much, much easier!!

The Do While !Eof() ones are easy: Just set the progressbar to 1-100, set the update trigger to the record count/100, and have a loop counter that increments the bar value +1 and resets the counter to zero whenever the trigger is reached.

It's the ones with multiple separate steps - creating files, copying differing numbers of records, etc., - that will be hard to calibrate to a scale. Ah well, it can still only be easier than trying to get labels to blink!

And so to bed.
CalScot
User avatar
serge_girard
Posts: 3161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Enable/Disable a Main Menu

Post by serge_girard »

Calscot,

Sleep well, tomorrow it will be easier!

Serge
There's nothing you can do that can't be done...
Post Reply